import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types"; import { CodeCommitClient } from "./CodeCommitClient"; import { type AssociateApprovalRuleTemplateWithRepositoryCommandInput, type AssociateApprovalRuleTemplateWithRepositoryCommandOutput } from "./commands/AssociateApprovalRuleTemplateWithRepositoryCommand"; import { type BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, type BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput } from "./commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand"; import { type BatchDescribeMergeConflictsCommandInput, type BatchDescribeMergeConflictsCommandOutput } from "./commands/BatchDescribeMergeConflictsCommand"; import { type BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, type BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput } from "./commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand"; import { type BatchGetCommitsCommandInput, type BatchGetCommitsCommandOutput } from "./commands/BatchGetCommitsCommand"; import { type BatchGetRepositoriesCommandInput, type BatchGetRepositoriesCommandOutput } from "./commands/BatchGetRepositoriesCommand"; import { type CreateApprovalRuleTemplateCommandInput, type CreateApprovalRuleTemplateCommandOutput } from "./commands/CreateApprovalRuleTemplateCommand"; import { type CreateBranchCommandInput, type CreateBranchCommandOutput } from "./commands/CreateBranchCommand"; import { type CreateCommitCommandInput, type CreateCommitCommandOutput } from "./commands/CreateCommitCommand"; import { type CreatePullRequestApprovalRuleCommandInput, type CreatePullRequestApprovalRuleCommandOutput } from "./commands/CreatePullRequestApprovalRuleCommand"; import { type CreatePullRequestCommandInput, type CreatePullRequestCommandOutput } from "./commands/CreatePullRequestCommand"; import { type CreateRepositoryCommandInput, type CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand"; import { type CreateUnreferencedMergeCommitCommandInput, type CreateUnreferencedMergeCommitCommandOutput } from "./commands/CreateUnreferencedMergeCommitCommand"; import { type DeleteApprovalRuleTemplateCommandInput, type DeleteApprovalRuleTemplateCommandOutput } from "./commands/DeleteApprovalRuleTemplateCommand"; import { type DeleteBranchCommandInput, type DeleteBranchCommandOutput } from "./commands/DeleteBranchCommand"; import { type DeleteCommentContentCommandInput, type DeleteCommentContentCommandOutput } from "./commands/DeleteCommentContentCommand"; import { type DeleteFileCommandInput, type DeleteFileCommandOutput } from "./commands/DeleteFileCommand"; import { type DeletePullRequestApprovalRuleCommandInput, type DeletePullRequestApprovalRuleCommandOutput } from "./commands/DeletePullRequestApprovalRuleCommand"; import { type DeleteRepositoryCommandInput, type DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand"; import { type DescribeMergeConflictsCommandInput, type DescribeMergeConflictsCommandOutput } from "./commands/DescribeMergeConflictsCommand"; import { type DescribePullRequestEventsCommandInput, type DescribePullRequestEventsCommandOutput } from "./commands/DescribePullRequestEventsCommand"; import { type DisassociateApprovalRuleTemplateFromRepositoryCommandInput, type DisassociateApprovalRuleTemplateFromRepositoryCommandOutput } from "./commands/DisassociateApprovalRuleTemplateFromRepositoryCommand"; import { type EvaluatePullRequestApprovalRulesCommandInput, type EvaluatePullRequestApprovalRulesCommandOutput } from "./commands/EvaluatePullRequestApprovalRulesCommand"; import { type GetApprovalRuleTemplateCommandInput, type GetApprovalRuleTemplateCommandOutput } from "./commands/GetApprovalRuleTemplateCommand"; import { type GetBlobCommandInput, type GetBlobCommandOutput } from "./commands/GetBlobCommand"; import { type GetBranchCommandInput, type GetBranchCommandOutput } from "./commands/GetBranchCommand"; import { type GetCommentCommandInput, type GetCommentCommandOutput } from "./commands/GetCommentCommand"; import { type GetCommentReactionsCommandInput, type GetCommentReactionsCommandOutput } from "./commands/GetCommentReactionsCommand"; import { type GetCommentsForComparedCommitCommandInput, type GetCommentsForComparedCommitCommandOutput } from "./commands/GetCommentsForComparedCommitCommand"; import { type GetCommentsForPullRequestCommandInput, type GetCommentsForPullRequestCommandOutput } from "./commands/GetCommentsForPullRequestCommand"; import { type GetCommitCommandInput, type GetCommitCommandOutput } from "./commands/GetCommitCommand"; import { type GetDifferencesCommandInput, type GetDifferencesCommandOutput } from "./commands/GetDifferencesCommand"; import { type GetFileCommandInput, type GetFileCommandOutput } from "./commands/GetFileCommand"; import { type GetFolderCommandInput, type GetFolderCommandOutput } from "./commands/GetFolderCommand"; import { type GetMergeCommitCommandInput, type GetMergeCommitCommandOutput } from "./commands/GetMergeCommitCommand"; import { type GetMergeConflictsCommandInput, type GetMergeConflictsCommandOutput } from "./commands/GetMergeConflictsCommand"; import { type GetMergeOptionsCommandInput, type GetMergeOptionsCommandOutput } from "./commands/GetMergeOptionsCommand"; import { type GetPullRequestApprovalStatesCommandInput, type GetPullRequestApprovalStatesCommandOutput } from "./commands/GetPullRequestApprovalStatesCommand"; import { type GetPullRequestCommandInput, type GetPullRequestCommandOutput } from "./commands/GetPullRequestCommand"; import { type GetPullRequestOverrideStateCommandInput, type GetPullRequestOverrideStateCommandOutput } from "./commands/GetPullRequestOverrideStateCommand"; import { type GetRepositoryCommandInput, type GetRepositoryCommandOutput } from "./commands/GetRepositoryCommand"; import { type GetRepositoryTriggersCommandInput, type GetRepositoryTriggersCommandOutput } from "./commands/GetRepositoryTriggersCommand"; import { type ListApprovalRuleTemplatesCommandInput, type ListApprovalRuleTemplatesCommandOutput } from "./commands/ListApprovalRuleTemplatesCommand"; import { type ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, type ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput } from "./commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand"; import { type ListBranchesCommandInput, type ListBranchesCommandOutput } from "./commands/ListBranchesCommand"; import { type ListFileCommitHistoryCommandInput, type ListFileCommitHistoryCommandOutput } from "./commands/ListFileCommitHistoryCommand"; import { type ListPullRequestsCommandInput, type ListPullRequestsCommandOutput } from "./commands/ListPullRequestsCommand"; import { type ListRepositoriesCommandInput, type ListRepositoriesCommandOutput } from "./commands/ListRepositoriesCommand"; import { type ListRepositoriesForApprovalRuleTemplateCommandInput, type ListRepositoriesForApprovalRuleTemplateCommandOutput } from "./commands/ListRepositoriesForApprovalRuleTemplateCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type MergeBranchesByFastForwardCommandInput, type MergeBranchesByFastForwardCommandOutput } from "./commands/MergeBranchesByFastForwardCommand"; import { type MergeBranchesBySquashCommandInput, type MergeBranchesBySquashCommandOutput } from "./commands/MergeBranchesBySquashCommand"; import { type MergeBranchesByThreeWayCommandInput, type MergeBranchesByThreeWayCommandOutput } from "./commands/MergeBranchesByThreeWayCommand"; import { type MergePullRequestByFastForwardCommandInput, type MergePullRequestByFastForwardCommandOutput } from "./commands/MergePullRequestByFastForwardCommand"; import { type MergePullRequestBySquashCommandInput, type MergePullRequestBySquashCommandOutput } from "./commands/MergePullRequestBySquashCommand"; import { type MergePullRequestByThreeWayCommandInput, type MergePullRequestByThreeWayCommandOutput } from "./commands/MergePullRequestByThreeWayCommand"; import { type OverridePullRequestApprovalRulesCommandInput, type OverridePullRequestApprovalRulesCommandOutput } from "./commands/OverridePullRequestApprovalRulesCommand"; import { type PostCommentForComparedCommitCommandInput, type PostCommentForComparedCommitCommandOutput } from "./commands/PostCommentForComparedCommitCommand"; import { type PostCommentForPullRequestCommandInput, type PostCommentForPullRequestCommandOutput } from "./commands/PostCommentForPullRequestCommand"; import { type PostCommentReplyCommandInput, type PostCommentReplyCommandOutput } from "./commands/PostCommentReplyCommand"; import { type PutCommentReactionCommandInput, type PutCommentReactionCommandOutput } from "./commands/PutCommentReactionCommand"; import { type PutFileCommandInput, type PutFileCommandOutput } from "./commands/PutFileCommand"; import { type PutRepositoryTriggersCommandInput, type PutRepositoryTriggersCommandOutput } from "./commands/PutRepositoryTriggersCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type TestRepositoryTriggersCommandInput, type TestRepositoryTriggersCommandOutput } from "./commands/TestRepositoryTriggersCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateApprovalRuleTemplateContentCommandInput, type UpdateApprovalRuleTemplateContentCommandOutput } from "./commands/UpdateApprovalRuleTemplateContentCommand"; import { type UpdateApprovalRuleTemplateDescriptionCommandInput, type UpdateApprovalRuleTemplateDescriptionCommandOutput } from "./commands/UpdateApprovalRuleTemplateDescriptionCommand"; import { type UpdateApprovalRuleTemplateNameCommandInput, type UpdateApprovalRuleTemplateNameCommandOutput } from "./commands/UpdateApprovalRuleTemplateNameCommand"; import { type UpdateCommentCommandInput, type UpdateCommentCommandOutput } from "./commands/UpdateCommentCommand"; import { type UpdateDefaultBranchCommandInput, type UpdateDefaultBranchCommandOutput } from "./commands/UpdateDefaultBranchCommand"; import { type UpdatePullRequestApprovalRuleContentCommandInput, type UpdatePullRequestApprovalRuleContentCommandOutput } from "./commands/UpdatePullRequestApprovalRuleContentCommand"; import { type UpdatePullRequestApprovalStateCommandInput, type UpdatePullRequestApprovalStateCommandOutput } from "./commands/UpdatePullRequestApprovalStateCommand"; import { type UpdatePullRequestDescriptionCommandInput, type UpdatePullRequestDescriptionCommandOutput } from "./commands/UpdatePullRequestDescriptionCommand"; import { type UpdatePullRequestStatusCommandInput, type UpdatePullRequestStatusCommandOutput } from "./commands/UpdatePullRequestStatusCommand"; import { type UpdatePullRequestTitleCommandInput, type UpdatePullRequestTitleCommandOutput } from "./commands/UpdatePullRequestTitleCommand"; import { type UpdateRepositoryDescriptionCommandInput, type UpdateRepositoryDescriptionCommandOutput } from "./commands/UpdateRepositoryDescriptionCommand"; import { type UpdateRepositoryEncryptionKeyCommandInput, type UpdateRepositoryEncryptionKeyCommandOutput } from "./commands/UpdateRepositoryEncryptionKeyCommand"; import { type UpdateRepositoryNameCommandInput, type UpdateRepositoryNameCommandOutput } from "./commands/UpdateRepositoryNameCommand"; export interface CodeCommit { /** * @see {@link AssociateApprovalRuleTemplateWithRepositoryCommand} */ associateApprovalRuleTemplateWithRepository(args: AssociateApprovalRuleTemplateWithRepositoryCommandInput, options?: __HttpHandlerOptions): Promise; associateApprovalRuleTemplateWithRepository(args: AssociateApprovalRuleTemplateWithRepositoryCommandInput, cb: (err: any, data?: AssociateApprovalRuleTemplateWithRepositoryCommandOutput) => void): void; associateApprovalRuleTemplateWithRepository(args: AssociateApprovalRuleTemplateWithRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateApprovalRuleTemplateWithRepositoryCommandOutput) => void): void; /** * @see {@link BatchAssociateApprovalRuleTemplateWithRepositoriesCommand} */ batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise; batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, cb: (err: any, data?: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput) => void): void; batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput) => void): void; /** * @see {@link BatchDescribeMergeConflictsCommand} */ batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, options?: __HttpHandlerOptions): Promise; batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, cb: (err: any, data?: BatchDescribeMergeConflictsCommandOutput) => void): void; batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDescribeMergeConflictsCommandOutput) => void): void; /** * @see {@link BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand} */ batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise; batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, cb: (err: any, data?: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput) => void): void; batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput) => void): void; /** * @see {@link BatchGetCommitsCommand} */ batchGetCommits(args: BatchGetCommitsCommandInput, options?: __HttpHandlerOptions): Promise; batchGetCommits(args: BatchGetCommitsCommandInput, cb: (err: any, data?: BatchGetCommitsCommandOutput) => void): void; batchGetCommits(args: BatchGetCommitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCommitsCommandOutput) => void): void; /** * @see {@link BatchGetRepositoriesCommand} */ batchGetRepositories(args: BatchGetRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise; batchGetRepositories(args: BatchGetRepositoriesCommandInput, cb: (err: any, data?: BatchGetRepositoriesCommandOutput) => void): void; batchGetRepositories(args: BatchGetRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRepositoriesCommandOutput) => void): void; /** * @see {@link CreateApprovalRuleTemplateCommand} */ createApprovalRuleTemplate(args: CreateApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise; createApprovalRuleTemplate(args: CreateApprovalRuleTemplateCommandInput, cb: (err: any, data?: CreateApprovalRuleTemplateCommandOutput) => void): void; createApprovalRuleTemplate(args: CreateApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApprovalRuleTemplateCommandOutput) => void): void; /** * @see {@link CreateBranchCommand} */ createBranch(args: CreateBranchCommandInput, options?: __HttpHandlerOptions): Promise; createBranch(args: CreateBranchCommandInput, cb: (err: any, data?: CreateBranchCommandOutput) => void): void; createBranch(args: CreateBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBranchCommandOutput) => void): void; /** * @see {@link CreateCommitCommand} */ createCommit(args: CreateCommitCommandInput, options?: __HttpHandlerOptions): Promise; createCommit(args: CreateCommitCommandInput, cb: (err: any, data?: CreateCommitCommandOutput) => void): void; createCommit(args: CreateCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCommitCommandOutput) => void): void; /** * @see {@link CreatePullRequestCommand} */ createPullRequest(args: CreatePullRequestCommandInput, options?: __HttpHandlerOptions): Promise; createPullRequest(args: CreatePullRequestCommandInput, cb: (err: any, data?: CreatePullRequestCommandOutput) => void): void; createPullRequest(args: CreatePullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePullRequestCommandOutput) => void): void; /** * @see {@link CreatePullRequestApprovalRuleCommand} */ createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, options?: __HttpHandlerOptions): Promise; createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, cb: (err: any, data?: CreatePullRequestApprovalRuleCommandOutput) => void): void; createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePullRequestApprovalRuleCommandOutput) => void): void; /** * @see {@link CreateRepositoryCommand} */ createRepository(args: CreateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise; createRepository(args: CreateRepositoryCommandInput, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void; createRepository(args: CreateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void; /** * @see {@link CreateUnreferencedMergeCommitCommand} */ createUnreferencedMergeCommit(args: CreateUnreferencedMergeCommitCommandInput, options?: __HttpHandlerOptions): Promise; createUnreferencedMergeCommit(args: CreateUnreferencedMergeCommitCommandInput, cb: (err: any, data?: CreateUnreferencedMergeCommitCommandOutput) => void): void; createUnreferencedMergeCommit(args: CreateUnreferencedMergeCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUnreferencedMergeCommitCommandOutput) => void): void; /** * @see {@link DeleteApprovalRuleTemplateCommand} */ deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise; deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, cb: (err: any, data?: DeleteApprovalRuleTemplateCommandOutput) => void): void; deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApprovalRuleTemplateCommandOutput) => void): void; /** * @see {@link DeleteBranchCommand} */ deleteBranch(args: DeleteBranchCommandInput, options?: __HttpHandlerOptions): Promise; deleteBranch(args: DeleteBranchCommandInput, cb: (err: any, data?: DeleteBranchCommandOutput) => void): void; deleteBranch(args: DeleteBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBranchCommandOutput) => void): void; /** * @see {@link DeleteCommentContentCommand} */ deleteCommentContent(args: DeleteCommentContentCommandInput, options?: __HttpHandlerOptions): Promise; deleteCommentContent(args: DeleteCommentContentCommandInput, cb: (err: any, data?: DeleteCommentContentCommandOutput) => void): void; deleteCommentContent(args: DeleteCommentContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommentContentCommandOutput) => void): void; /** * @see {@link DeleteFileCommand} */ deleteFile(args: DeleteFileCommandInput, options?: __HttpHandlerOptions): Promise; deleteFile(args: DeleteFileCommandInput, cb: (err: any, data?: DeleteFileCommandOutput) => void): void; deleteFile(args: DeleteFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileCommandOutput) => void): void; /** * @see {@link DeletePullRequestApprovalRuleCommand} */ deletePullRequestApprovalRule(args: DeletePullRequestApprovalRuleCommandInput, options?: __HttpHandlerOptions): Promise; deletePullRequestApprovalRule(args: DeletePullRequestApprovalRuleCommandInput, cb: (err: any, data?: DeletePullRequestApprovalRuleCommandOutput) => void): void; deletePullRequestApprovalRule(args: DeletePullRequestApprovalRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePullRequestApprovalRuleCommandOutput) => void): void; /** * @see {@link DeleteRepositoryCommand} */ deleteRepository(args: DeleteRepositoryCommandInput, options?: __HttpHandlerOptions): Promise; deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void; deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void; /** * @see {@link DescribeMergeConflictsCommand} */ describeMergeConflicts(args: DescribeMergeConflictsCommandInput, options?: __HttpHandlerOptions): Promise; describeMergeConflicts(args: DescribeMergeConflictsCommandInput, cb: (err: any, data?: DescribeMergeConflictsCommandOutput) => void): void; describeMergeConflicts(args: DescribeMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMergeConflictsCommandOutput) => void): void; /** * @see {@link DescribePullRequestEventsCommand} */ describePullRequestEvents(args: DescribePullRequestEventsCommandInput, options?: __HttpHandlerOptions): Promise; describePullRequestEvents(args: DescribePullRequestEventsCommandInput, cb: (err: any, data?: DescribePullRequestEventsCommandOutput) => void): void; describePullRequestEvents(args: DescribePullRequestEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePullRequestEventsCommandOutput) => void): void; /** * @see {@link DisassociateApprovalRuleTemplateFromRepositoryCommand} */ disassociateApprovalRuleTemplateFromRepository(args: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, options?: __HttpHandlerOptions): Promise; disassociateApprovalRuleTemplateFromRepository(args: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, cb: (err: any, data?: DisassociateApprovalRuleTemplateFromRepositoryCommandOutput) => void): void; disassociateApprovalRuleTemplateFromRepository(args: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateApprovalRuleTemplateFromRepositoryCommandOutput) => void): void; /** * @see {@link EvaluatePullRequestApprovalRulesCommand} */ evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, options?: __HttpHandlerOptions): Promise; evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, cb: (err: any, data?: EvaluatePullRequestApprovalRulesCommandOutput) => void): void; evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvaluatePullRequestApprovalRulesCommandOutput) => void): void; /** * @see {@link GetApprovalRuleTemplateCommand} */ getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise; getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, cb: (err: any, data?: GetApprovalRuleTemplateCommandOutput) => void): void; getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApprovalRuleTemplateCommandOutput) => void): void; /** * @see {@link GetBlobCommand} */ getBlob(args: GetBlobCommandInput, options?: __HttpHandlerOptions): Promise; getBlob(args: GetBlobCommandInput, cb: (err: any, data?: GetBlobCommandOutput) => void): void; getBlob(args: GetBlobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBlobCommandOutput) => void): void; /** * @see {@link GetBranchCommand} */ getBranch(): Promise; getBranch(args: GetBranchCommandInput, options?: __HttpHandlerOptions): Promise; getBranch(args: GetBranchCommandInput, cb: (err: any, data?: GetBranchCommandOutput) => void): void; getBranch(args: GetBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBranchCommandOutput) => void): void; /** * @see {@link GetCommentCommand} */ getComment(args: GetCommentCommandInput, options?: __HttpHandlerOptions): Promise; getComment(args: GetCommentCommandInput, cb: (err: any, data?: GetCommentCommandOutput) => void): void; getComment(args: GetCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentCommandOutput) => void): void; /** * @see {@link GetCommentReactionsCommand} */ getCommentReactions(args: GetCommentReactionsCommandInput, options?: __HttpHandlerOptions): Promise; getCommentReactions(args: GetCommentReactionsCommandInput, cb: (err: any, data?: GetCommentReactionsCommandOutput) => void): void; getCommentReactions(args: GetCommentReactionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentReactionsCommandOutput) => void): void; /** * @see {@link GetCommentsForComparedCommitCommand} */ getCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, options?: __HttpHandlerOptions): Promise; getCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, cb: (err: any, data?: GetCommentsForComparedCommitCommandOutput) => void): void; getCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentsForComparedCommitCommandOutput) => void): void; /** * @see {@link GetCommentsForPullRequestCommand} */ getCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, options?: __HttpHandlerOptions): Promise; getCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, cb: (err: any, data?: GetCommentsForPullRequestCommandOutput) => void): void; getCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentsForPullRequestCommandOutput) => void): void; /** * @see {@link GetCommitCommand} */ getCommit(args: GetCommitCommandInput, options?: __HttpHandlerOptions): Promise; getCommit(args: GetCommitCommandInput, cb: (err: any, data?: GetCommitCommandOutput) => void): void; getCommit(args: GetCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommitCommandOutput) => void): void; /** * @see {@link GetDifferencesCommand} */ getDifferences(args: GetDifferencesCommandInput, options?: __HttpHandlerOptions): Promise; getDifferences(args: GetDifferencesCommandInput, cb: (err: any, data?: GetDifferencesCommandOutput) => void): void; getDifferences(args: GetDifferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDifferencesCommandOutput) => void): void; /** * @see {@link GetFileCommand} */ getFile(args: GetFileCommandInput, options?: __HttpHandlerOptions): Promise; getFile(args: GetFileCommandInput, cb: (err: any, data?: GetFileCommandOutput) => void): void; getFile(args: GetFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFileCommandOutput) => void): void; /** * @see {@link GetFolderCommand} */ getFolder(args: GetFolderCommandInput, options?: __HttpHandlerOptions): Promise; getFolder(args: GetFolderCommandInput, cb: (err: any, data?: GetFolderCommandOutput) => void): void; getFolder(args: GetFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderCommandOutput) => void): void; /** * @see {@link GetMergeCommitCommand} */ getMergeCommit(args: GetMergeCommitCommandInput, options?: __HttpHandlerOptions): Promise; getMergeCommit(args: GetMergeCommitCommandInput, cb: (err: any, data?: GetMergeCommitCommandOutput) => void): void; getMergeCommit(args: GetMergeCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeCommitCommandOutput) => void): void; /** * @see {@link GetMergeConflictsCommand} */ getMergeConflicts(args: GetMergeConflictsCommandInput, options?: __HttpHandlerOptions): Promise; getMergeConflicts(args: GetMergeConflictsCommandInput, cb: (err: any, data?: GetMergeConflictsCommandOutput) => void): void; getMergeConflicts(args: GetMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeConflictsCommandOutput) => void): void; /** * @see {@link GetMergeOptionsCommand} */ getMergeOptions(args: GetMergeOptionsCommandInput, options?: __HttpHandlerOptions): Promise; getMergeOptions(args: GetMergeOptionsCommandInput, cb: (err: any, data?: GetMergeOptionsCommandOutput) => void): void; getMergeOptions(args: GetMergeOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeOptionsCommandOutput) => void): void; /** * @see {@link GetPullRequestCommand} */ getPullRequest(args: GetPullRequestCommandInput, options?: __HttpHandlerOptions): Promise; getPullRequest(args: GetPullRequestCommandInput, cb: (err: any, data?: GetPullRequestCommandOutput) => void): void; getPullRequest(args: GetPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestCommandOutput) => void): void; /** * @see {@link GetPullRequestApprovalStatesCommand} */ getPullRequestApprovalStates(args: GetPullRequestApprovalStatesCommandInput, options?: __HttpHandlerOptions): Promise; getPullRequestApprovalStates(args: GetPullRequestApprovalStatesCommandInput, cb: (err: any, data?: GetPullRequestApprovalStatesCommandOutput) => void): void; getPullRequestApprovalStates(args: GetPullRequestApprovalStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestApprovalStatesCommandOutput) => void): void; /** * @see {@link GetPullRequestOverrideStateCommand} */ getPullRequestOverrideState(args: GetPullRequestOverrideStateCommandInput, options?: __HttpHandlerOptions): Promise; getPullRequestOverrideState(args: GetPullRequestOverrideStateCommandInput, cb: (err: any, data?: GetPullRequestOverrideStateCommandOutput) => void): void; getPullRequestOverrideState(args: GetPullRequestOverrideStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestOverrideStateCommandOutput) => void): void; /** * @see {@link GetRepositoryCommand} */ getRepository(args: GetRepositoryCommandInput, options?: __HttpHandlerOptions): Promise; getRepository(args: GetRepositoryCommandInput, cb: (err: any, data?: GetRepositoryCommandOutput) => void): void; getRepository(args: GetRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryCommandOutput) => void): void; /** * @see {@link GetRepositoryTriggersCommand} */ getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, options?: __HttpHandlerOptions): Promise; getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, cb: (err: any, data?: GetRepositoryTriggersCommandOutput) => void): void; getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryTriggersCommandOutput) => void): void; /** * @see {@link ListApprovalRuleTemplatesCommand} */ listApprovalRuleTemplates(): Promise; listApprovalRuleTemplates(args: ListApprovalRuleTemplatesCommandInput, options?: __HttpHandlerOptions): Promise; listApprovalRuleTemplates(args: ListApprovalRuleTemplatesCommandInput, cb: (err: any, data?: ListApprovalRuleTemplatesCommandOutput) => void): void; listApprovalRuleTemplates(args: ListApprovalRuleTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApprovalRuleTemplatesCommandOutput) => void): void; /** * @see {@link ListAssociatedApprovalRuleTemplatesForRepositoryCommand} */ listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, options?: __HttpHandlerOptions): Promise; listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, cb: (err: any, data?: ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput) => void): void; listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput) => void): void; /** * @see {@link ListBranchesCommand} */ listBranches(args: ListBranchesCommandInput, options?: __HttpHandlerOptions): Promise; listBranches(args: ListBranchesCommandInput, cb: (err: any, data?: ListBranchesCommandOutput) => void): void; listBranches(args: ListBranchesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBranchesCommandOutput) => void): void; /** * @see {@link ListFileCommitHistoryCommand} */ listFileCommitHistory(args: ListFileCommitHistoryCommandInput, options?: __HttpHandlerOptions): Promise; listFileCommitHistory(args: ListFileCommitHistoryCommandInput, cb: (err: any, data?: ListFileCommitHistoryCommandOutput) => void): void; listFileCommitHistory(args: ListFileCommitHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFileCommitHistoryCommandOutput) => void): void; /** * @see {@link ListPullRequestsCommand} */ listPullRequests(args: ListPullRequestsCommandInput, options?: __HttpHandlerOptions): Promise; listPullRequests(args: ListPullRequestsCommandInput, cb: (err: any, data?: ListPullRequestsCommandOutput) => void): void; listPullRequests(args: ListPullRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPullRequestsCommandOutput) => void): void; /** * @see {@link ListRepositoriesCommand} */ listRepositories(): Promise; listRepositories(args: ListRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise; listRepositories(args: ListRepositoriesCommandInput, cb: (err: any, data?: ListRepositoriesCommandOutput) => void): void; listRepositories(args: ListRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesCommandOutput) => void): void; /** * @see {@link ListRepositoriesForApprovalRuleTemplateCommand} */ listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise; listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, cb: (err: any, data?: ListRepositoriesForApprovalRuleTemplateCommandOutput) => void): void; listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesForApprovalRuleTemplateCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link MergeBranchesByFastForwardCommand} */ mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, options?: __HttpHandlerOptions): Promise; mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, cb: (err: any, data?: MergeBranchesByFastForwardCommandOutput) => void): void; mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesByFastForwardCommandOutput) => void): void; /** * @see {@link MergeBranchesBySquashCommand} */ mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, options?: __HttpHandlerOptions): Promise; mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, cb: (err: any, data?: MergeBranchesBySquashCommandOutput) => void): void; mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesBySquashCommandOutput) => void): void; /** * @see {@link MergeBranchesByThreeWayCommand} */ mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, options?: __HttpHandlerOptions): Promise; mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, cb: (err: any, data?: MergeBranchesByThreeWayCommandOutput) => void): void; mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesByThreeWayCommandOutput) => void): void; /** * @see {@link MergePullRequestByFastForwardCommand} */ mergePullRequestByFastForward(args: MergePullRequestByFastForwardCommandInput, options?: __HttpHandlerOptions): Promise; mergePullRequestByFastForward(args: MergePullRequestByFastForwardCommandInput, cb: (err: any, data?: MergePullRequestByFastForwardCommandOutput) => void): void; mergePullRequestByFastForward(args: MergePullRequestByFastForwardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestByFastForwardCommandOutput) => void): void; /** * @see {@link MergePullRequestBySquashCommand} */ mergePullRequestBySquash(args: MergePullRequestBySquashCommandInput, options?: __HttpHandlerOptions): Promise; mergePullRequestBySquash(args: MergePullRequestBySquashCommandInput, cb: (err: any, data?: MergePullRequestBySquashCommandOutput) => void): void; mergePullRequestBySquash(args: MergePullRequestBySquashCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestBySquashCommandOutput) => void): void; /** * @see {@link MergePullRequestByThreeWayCommand} */ mergePullRequestByThreeWay(args: MergePullRequestByThreeWayCommandInput, options?: __HttpHandlerOptions): Promise; mergePullRequestByThreeWay(args: MergePullRequestByThreeWayCommandInput, cb: (err: any, data?: MergePullRequestByThreeWayCommandOutput) => void): void; mergePullRequestByThreeWay(args: MergePullRequestByThreeWayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestByThreeWayCommandOutput) => void): void; /** * @see {@link OverridePullRequestApprovalRulesCommand} */ overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, options?: __HttpHandlerOptions): Promise; overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, cb: (err: any, data?: OverridePullRequestApprovalRulesCommandOutput) => void): void; overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OverridePullRequestApprovalRulesCommandOutput) => void): void; /** * @see {@link PostCommentForComparedCommitCommand} */ postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, options?: __HttpHandlerOptions): Promise; postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, cb: (err: any, data?: PostCommentForComparedCommitCommandOutput) => void): void; postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentForComparedCommitCommandOutput) => void): void; /** * @see {@link PostCommentForPullRequestCommand} */ postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, options?: __HttpHandlerOptions): Promise; postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, cb: (err: any, data?: PostCommentForPullRequestCommandOutput) => void): void; postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentForPullRequestCommandOutput) => void): void; /** * @see {@link PostCommentReplyCommand} */ postCommentReply(args: PostCommentReplyCommandInput, options?: __HttpHandlerOptions): Promise; postCommentReply(args: PostCommentReplyCommandInput, cb: (err: any, data?: PostCommentReplyCommandOutput) => void): void; postCommentReply(args: PostCommentReplyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentReplyCommandOutput) => void): void; /** * @see {@link PutCommentReactionCommand} */ putCommentReaction(args: PutCommentReactionCommandInput, options?: __HttpHandlerOptions): Promise; putCommentReaction(args: PutCommentReactionCommandInput, cb: (err: any, data?: PutCommentReactionCommandOutput) => void): void; putCommentReaction(args: PutCommentReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCommentReactionCommandOutput) => void): void; /** * @see {@link PutFileCommand} */ putFile(args: PutFileCommandInput, options?: __HttpHandlerOptions): Promise; putFile(args: PutFileCommandInput, cb: (err: any, data?: PutFileCommandOutput) => void): void; putFile(args: PutFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFileCommandOutput) => void): void; /** * @see {@link PutRepositoryTriggersCommand} */ putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, options?: __HttpHandlerOptions): Promise; putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, cb: (err: any, data?: PutRepositoryTriggersCommandOutput) => void): void; putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRepositoryTriggersCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link TestRepositoryTriggersCommand} */ testRepositoryTriggers(args: TestRepositoryTriggersCommandInput, options?: __HttpHandlerOptions): Promise; testRepositoryTriggers(args: TestRepositoryTriggersCommandInput, cb: (err: any, data?: TestRepositoryTriggersCommandOutput) => void): void; testRepositoryTriggers(args: TestRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestRepositoryTriggersCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateApprovalRuleTemplateContentCommand} */ updateApprovalRuleTemplateContent(args: UpdateApprovalRuleTemplateContentCommandInput, options?: __HttpHandlerOptions): Promise; updateApprovalRuleTemplateContent(args: UpdateApprovalRuleTemplateContentCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateContentCommandOutput) => void): void; updateApprovalRuleTemplateContent(args: UpdateApprovalRuleTemplateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateContentCommandOutput) => void): void; /** * @see {@link UpdateApprovalRuleTemplateDescriptionCommand} */ updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, options?: __HttpHandlerOptions): Promise; updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateDescriptionCommandOutput) => void): void; updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateDescriptionCommandOutput) => void): void; /** * @see {@link UpdateApprovalRuleTemplateNameCommand} */ updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, options?: __HttpHandlerOptions): Promise; updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateNameCommandOutput) => void): void; updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateNameCommandOutput) => void): void; /** * @see {@link UpdateCommentCommand} */ updateComment(args: UpdateCommentCommandInput, options?: __HttpHandlerOptions): Promise; updateComment(args: UpdateCommentCommandInput, cb: (err: any, data?: UpdateCommentCommandOutput) => void): void; updateComment(args: UpdateCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCommentCommandOutput) => void): void; /** * @see {@link UpdateDefaultBranchCommand} */ updateDefaultBranch(args: UpdateDefaultBranchCommandInput, options?: __HttpHandlerOptions): Promise; updateDefaultBranch(args: UpdateDefaultBranchCommandInput, cb: (err: any, data?: UpdateDefaultBranchCommandOutput) => void): void; updateDefaultBranch(args: UpdateDefaultBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDefaultBranchCommandOutput) => void): void; /** * @see {@link UpdatePullRequestApprovalRuleContentCommand} */ updatePullRequestApprovalRuleContent(args: UpdatePullRequestApprovalRuleContentCommandInput, options?: __HttpHandlerOptions): Promise; updatePullRequestApprovalRuleContent(args: UpdatePullRequestApprovalRuleContentCommandInput, cb: (err: any, data?: UpdatePullRequestApprovalRuleContentCommandOutput) => void): void; updatePullRequestApprovalRuleContent(args: UpdatePullRequestApprovalRuleContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestApprovalRuleContentCommandOutput) => void): void; /** * @see {@link UpdatePullRequestApprovalStateCommand} */ updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, options?: __HttpHandlerOptions): Promise; updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, cb: (err: any, data?: UpdatePullRequestApprovalStateCommandOutput) => void): void; updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestApprovalStateCommandOutput) => void): void; /** * @see {@link UpdatePullRequestDescriptionCommand} */ updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, options?: __HttpHandlerOptions): Promise; updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, cb: (err: any, data?: UpdatePullRequestDescriptionCommandOutput) => void): void; updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestDescriptionCommandOutput) => void): void; /** * @see {@link UpdatePullRequestStatusCommand} */ updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, options?: __HttpHandlerOptions): Promise; updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, cb: (err: any, data?: UpdatePullRequestStatusCommandOutput) => void): void; updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestStatusCommandOutput) => void): void; /** * @see {@link UpdatePullRequestTitleCommand} */ updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, options?: __HttpHandlerOptions): Promise; updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, cb: (err: any, data?: UpdatePullRequestTitleCommandOutput) => void): void; updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestTitleCommandOutput) => void): void; /** * @see {@link UpdateRepositoryDescriptionCommand} */ updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, options?: __HttpHandlerOptions): Promise; updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, cb: (err: any, data?: UpdateRepositoryDescriptionCommandOutput) => void): void; updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryDescriptionCommandOutput) => void): void; /** * @see {@link UpdateRepositoryEncryptionKeyCommand} */ updateRepositoryEncryptionKey(args: UpdateRepositoryEncryptionKeyCommandInput, options?: __HttpHandlerOptions): Promise; updateRepositoryEncryptionKey(args: UpdateRepositoryEncryptionKeyCommandInput, cb: (err: any, data?: UpdateRepositoryEncryptionKeyCommandOutput) => void): void; updateRepositoryEncryptionKey(args: UpdateRepositoryEncryptionKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryEncryptionKeyCommandOutput) => void): void; /** * @see {@link UpdateRepositoryNameCommand} */ updateRepositoryName(args: UpdateRepositoryNameCommandInput, options?: __HttpHandlerOptions): Promise; updateRepositoryName(args: UpdateRepositoryNameCommandInput, cb: (err: any, data?: UpdateRepositoryNameCommandOutput) => void): void; updateRepositoryName(args: UpdateRepositoryNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryNameCommandOutput) => void): void; /** * @see {@link DescribeMergeConflictsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link DescribeMergeConflictsCommandOutput}. */ paginateDescribeMergeConflicts(args: DescribeMergeConflictsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link DescribePullRequestEventsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link DescribePullRequestEventsCommandOutput}. */ paginateDescribePullRequestEvents(args: DescribePullRequestEventsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link GetCommentReactionsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link GetCommentReactionsCommandOutput}. */ paginateGetCommentReactions(args: GetCommentReactionsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link GetCommentsForComparedCommitCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link GetCommentsForComparedCommitCommandOutput}. */ paginateGetCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link GetCommentsForPullRequestCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link GetCommentsForPullRequestCommandOutput}. */ paginateGetCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link GetDifferencesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link GetDifferencesCommandOutput}. */ paginateGetDifferences(args: GetDifferencesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link GetMergeConflictsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link GetMergeConflictsCommandOutput}. */ paginateGetMergeConflicts(args: GetMergeConflictsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListApprovalRuleTemplatesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListApprovalRuleTemplatesCommandOutput}. */ paginateListApprovalRuleTemplates(args?: ListApprovalRuleTemplatesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListAssociatedApprovalRuleTemplatesForRepositoryCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput}. */ paginateListAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListBranchesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListBranchesCommandOutput}. */ paginateListBranches(args: ListBranchesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListFileCommitHistoryCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListFileCommitHistoryCommandOutput}. */ paginateListFileCommitHistory(args: ListFileCommitHistoryCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListPullRequestsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListPullRequestsCommandOutput}. */ paginateListPullRequests(args: ListPullRequestsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListRepositoriesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListRepositoriesCommandOutput}. */ paginateListRepositories(args?: ListRepositoriesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListRepositoriesForApprovalRuleTemplateCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListRepositoriesForApprovalRuleTemplateCommandOutput}. */ paginateListRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, paginationConfig?: Omit): Paginator; } /** * CodeCommit *

This is the CodeCommit API Reference. This reference provides descriptions of the operations and data types for * CodeCommit API along with usage examples.

*

You can use the CodeCommit API to work with the following objects:

*

Repositories, by calling the following:

*
    *
  • *

    * BatchGetRepositories, which returns information about one or more repositories associated with your Amazon Web Services account.

    *
  • *
  • *

    * CreateRepository, which creates an CodeCommit repository.

    *
  • *
  • *

    * DeleteRepository, which deletes an CodeCommit repository.

    *
  • *
  • *

    * GetRepository, which returns information about a specified repository.

    *
  • *
  • *

    * ListRepositories, which lists all CodeCommit repositories associated with your Amazon Web Services account.

    *
  • *
  • *

    * UpdateRepositoryDescription, which sets or updates the description of the repository.

    *
  • *
  • *

    * UpdateRepositoryEncryptionKey, which updates the Key Management Service encryption key used * to encrypt and decrypt a repository.

    *
  • *
  • *

    * UpdateRepositoryName, which changes the name of the * repository. If you change the name of a repository, no other users of that * repository can access it until you send them the new HTTPS or SSH URL to * use.

    *
  • *
*

Branches, by calling the following:

*
    *
  • *

    * CreateBranch, which creates a branch in a specified * repository.

    *
  • *
  • *

    * DeleteBranch, which deletes the specified branch in a repository unless it is the default branch.

    *
  • *
  • *

    * GetBranch, which returns information about a specified branch.

    *
  • *
  • *

    * ListBranches, which lists all branches for a specified repository.

    *
  • *
  • *

    * UpdateDefaultBranch, which changes the default branch for a repository.

    *
  • *
*

Files, by calling the following:

*
    *
  • *

    * DeleteFile, which deletes the content of a specified file from a specified branch.

    *
  • *
  • *

    * GetBlob, which returns the base-64 encoded content of an * individual Git blob object in a repository.

    *
  • *
  • *

    * GetFile, which returns the base-64 encoded content of a specified file.

    *
  • *
  • *

    * GetFolder, which returns the contents of a specified folder or directory.

    *
  • *
  • *

    * ListFileCommitHistory, which retrieves a list of commits and changes to a specified file.

    *
  • *
  • *

    * PutFile, which adds or modifies a single file in a specified repository and branch.

    *
  • *
*

Commits, by calling the following:

*
    *
  • *

    * BatchGetCommits, which returns information about one or more commits in a repository.

    *
  • *
  • *

    * CreateCommit, which creates a commit for changes to a repository.

    *
  • *
  • *

    * GetCommit, which returns information about a commit, including commit * messages and author and committer information.

    *
  • *
  • *

    * GetDifferences, which returns information about the * differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, * or other fully qualified reference).

    *
  • *
*

Merges, by calling the following:

*
    *
  • *

    * BatchDescribeMergeConflicts, which returns information about conflicts in a merge between commits in a repository.

    *
  • *
  • *

    * CreateUnreferencedMergeCommit, which creates an unreferenced commit between two branches or commits for the * purpose of comparing them and identifying any potential conflicts.

    *
  • *
  • *

    * DescribeMergeConflicts, which returns information about merge conflicts between the base, source, and destination versions * of a file in a potential merge.

    *
  • *
  • *

    * GetMergeCommit, which returns information about the merge between a source and destination commit.

    *
  • *
  • *

    * GetMergeConflicts, which returns information about merge conflicts * between the source and destination branch in a pull request.

    *
  • *
  • *

    * GetMergeOptions, which returns information about the available merge options between two branches or commit specifiers.

    *
  • *
  • *

    * MergeBranchesByFastForward, which merges two branches using the fast-forward merge option.

    *
  • *
  • *

    * MergeBranchesBySquash, which merges two branches using the squash merge option.

    *
  • *
  • *

    * MergeBranchesByThreeWay, which merges two branches using the three-way merge option.

    *
  • *
*

Pull requests, by calling the following:

* *

Approval rule templates, by calling the following:

* *

Comments in a repository, by calling the following:

*
    *
  • *

    * DeleteCommentContent, which deletes the content of a comment on a commit in a repository.

    *
  • *
  • *

    * GetComment, which returns information about a comment on a commit.

    *
  • *
  • *

    * GetCommentReactions, which returns information about emoji reactions to comments.

    *
  • *
  • *

    * GetCommentsForComparedCommit, which returns information about comments on the comparison between two commit specifiers * in a repository.

    *
  • *
  • *

    * PostCommentForComparedCommit, which creates a comment on the comparison between two commit specifiers in a repository.

    *
  • *
  • *

    * PostCommentReply, which creates a reply to a comment.

    *
  • *
  • *

    * PutCommentReaction, which creates or updates an emoji reaction to a comment.

    *
  • *
  • *

    * UpdateComment, which updates the content of a comment on a commit in a repository.

    *
  • *
*

Tags used to tag resources in CodeCommit (not Git tags), by calling the following:

*
    *
  • *

    * ListTagsForResource, which gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit.

    *
  • *
  • *

    * TagResource, which adds or updates tags for a resource in CodeCommit.

    *
  • *
  • *

    * UntagResource, which removes tags for a resource in CodeCommit.

    *
  • *
*

Triggers, by calling the following:

*
    *
  • *

    * GetRepositoryTriggers, which returns information about triggers configured * for a repository.

    *
  • *
  • *

    * PutRepositoryTriggers, which replaces all triggers for a repository and can * be used to create or delete triggers.

    *
  • *
  • *

    * TestRepositoryTriggers, which tests the functionality of a repository trigger * by sending data to the trigger target.

    *
  • *
*

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

* @public */ export declare class CodeCommit extends CodeCommitClient implements CodeCommit { }