@aws-sdk/client-codecommit 3.296.0 → 3.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/CodeCommit.d.ts +78 -0
- package/dist-types/CodeCommitClient.d.ts +24 -4
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +16 -0
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +16 -0
- package/dist-types/commands/CreateBranchCommand.d.ts +16 -0
- package/dist-types/commands/CreateCommitCommand.d.ts +16 -0
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +16 -0
- package/dist-types/commands/CreatePullRequestCommand.d.ts +16 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +16 -0
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +16 -0
- package/dist-types/commands/DeleteBranchCommand.d.ts +16 -0
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +16 -0
- package/dist-types/commands/DeleteFileCommand.d.ts +16 -0
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +16 -0
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +16 -0
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +16 -0
- package/dist-types/commands/GetBlobCommand.d.ts +16 -0
- package/dist-types/commands/GetBranchCommand.d.ts +16 -0
- package/dist-types/commands/GetCommentCommand.d.ts +16 -0
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +16 -0
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +16 -0
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +16 -0
- package/dist-types/commands/GetCommitCommand.d.ts +16 -0
- package/dist-types/commands/GetDifferencesCommand.d.ts +16 -0
- package/dist-types/commands/GetFileCommand.d.ts +16 -0
- package/dist-types/commands/GetFolderCommand.d.ts +16 -0
- package/dist-types/commands/GetMergeCommitCommand.d.ts +16 -0
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +16 -0
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +16 -0
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +16 -0
- package/dist-types/commands/GetPullRequestCommand.d.ts +16 -0
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +16 -0
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +16 -0
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/ListBranchesCommand.d.ts +16 -0
- package/dist-types/commands/ListPullRequestsCommand.d.ts +16 -0
- package/dist-types/commands/ListRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +16 -0
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +16 -0
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +16 -0
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +16 -0
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +16 -0
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +16 -0
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +16 -0
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +16 -0
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +16 -0
- package/dist-types/commands/PostCommentReplyCommand.d.ts +16 -0
- package/dist-types/commands/PutCommentReactionCommand.d.ts +16 -0
- package/dist-types/commands/PutFileCommand.d.ts +16 -0
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +16 -0
- package/dist-types/commands/UpdateCommentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +16 -0
- package/dist-types/models/CodeCommitServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +462 -0
- package/dist-types/models/models_1.d.ts +193 -0
- package/dist-types/pagination/DescribeMergeConflictsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribePullRequestEventsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetCommentReactionsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetCommentsForComparedCommitPaginator.d.ts +3 -0
- package/dist-types/pagination/GetCommentsForPullRequestPaginator.d.ts +3 -0
- package/dist-types/pagination/GetDifferencesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetMergeConflictsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListApprovalRuleTemplatesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBranchesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPullRequestsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.d.ts +3 -0
- package/dist-types/pagination/ListRepositoriesPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -78,6 +78,7 @@ import { UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput
|
|
|
78
78
|
import { UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput } from "./commands/UpdateRepositoryDescriptionCommand";
|
|
79
79
|
import { UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput } from "./commands/UpdateRepositoryNameCommand";
|
|
80
80
|
/**
|
|
81
|
+
* @public
|
|
81
82
|
* <fullname>AWS CodeCommit</fullname>
|
|
82
83
|
* <p>This is the <i>AWS CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
|
|
83
84
|
* AWS CodeCommit API along with usage examples.</p>
|
|
@@ -478,6 +479,7 @@ import { UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput } f
|
|
|
478
479
|
*/
|
|
479
480
|
export declare class CodeCommit extends CodeCommitClient {
|
|
480
481
|
/**
|
|
482
|
+
* @public
|
|
481
483
|
* <p>Creates an association between an approval rule template and a specified repository.
|
|
482
484
|
* Then, the next time a pull request is created in the repository where the destination
|
|
483
485
|
* reference (if specified) matches the destination reference (branch) for the pull
|
|
@@ -490,30 +492,35 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
490
492
|
associateApprovalRuleTemplateWithRepository(args: AssociateApprovalRuleTemplateWithRepositoryCommandInput, cb: (err: any, data?: AssociateApprovalRuleTemplateWithRepositoryCommandOutput) => void): void;
|
|
491
493
|
associateApprovalRuleTemplateWithRepository(args: AssociateApprovalRuleTemplateWithRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateApprovalRuleTemplateWithRepositoryCommandOutput) => void): void;
|
|
492
494
|
/**
|
|
495
|
+
* @public
|
|
493
496
|
* <p>Creates an association between an approval rule template and one or more specified repositories. </p>
|
|
494
497
|
*/
|
|
495
498
|
batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput>;
|
|
496
499
|
batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, cb: (err: any, data?: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput) => void): void;
|
|
497
500
|
batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput) => void): void;
|
|
498
501
|
/**
|
|
502
|
+
* @public
|
|
499
503
|
* <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>
|
|
500
504
|
*/
|
|
501
505
|
batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, options?: __HttpHandlerOptions): Promise<BatchDescribeMergeConflictsCommandOutput>;
|
|
502
506
|
batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, cb: (err: any, data?: BatchDescribeMergeConflictsCommandOutput) => void): void;
|
|
503
507
|
batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDescribeMergeConflictsCommandOutput) => void): void;
|
|
504
508
|
/**
|
|
509
|
+
* @public
|
|
505
510
|
* <p>Removes the association between an approval rule template and one or more specified repositories. </p>
|
|
506
511
|
*/
|
|
507
512
|
batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput>;
|
|
508
513
|
batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, cb: (err: any, data?: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput) => void): void;
|
|
509
514
|
batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput) => void): void;
|
|
510
515
|
/**
|
|
516
|
+
* @public
|
|
511
517
|
* <p>Returns information about the contents of one or more commits in a repository.</p>
|
|
512
518
|
*/
|
|
513
519
|
batchGetCommits(args: BatchGetCommitsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCommitsCommandOutput>;
|
|
514
520
|
batchGetCommits(args: BatchGetCommitsCommandInput, cb: (err: any, data?: BatchGetCommitsCommandOutput) => void): void;
|
|
515
521
|
batchGetCommits(args: BatchGetCommitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCommitsCommandOutput) => void): void;
|
|
516
522
|
/**
|
|
523
|
+
* @public
|
|
517
524
|
* <p>Returns information about one or more repositories.</p>
|
|
518
525
|
* <note>
|
|
519
526
|
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
@@ -527,6 +534,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
527
534
|
batchGetRepositories(args: BatchGetRepositoriesCommandInput, cb: (err: any, data?: BatchGetRepositoriesCommandOutput) => void): void;
|
|
528
535
|
batchGetRepositories(args: BatchGetRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRepositoriesCommandOutput) => void): void;
|
|
529
536
|
/**
|
|
537
|
+
* @public
|
|
530
538
|
* <p>Creates a template for approval rules that can then be associated with one or more
|
|
531
539
|
* repositories in your AWS account. When you associate a template with a repository, AWS
|
|
532
540
|
* CodeCommit creates an approval rule that matches the conditions of the template for all
|
|
@@ -537,6 +545,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
537
545
|
createApprovalRuleTemplate(args: CreateApprovalRuleTemplateCommandInput, cb: (err: any, data?: CreateApprovalRuleTemplateCommandOutput) => void): void;
|
|
538
546
|
createApprovalRuleTemplate(args: CreateApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApprovalRuleTemplateCommandOutput) => void): void;
|
|
539
547
|
/**
|
|
548
|
+
* @public
|
|
540
549
|
* <p>Creates a branch in a repository and points the branch to a commit.</p>
|
|
541
550
|
* <note>
|
|
542
551
|
* <p>Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.</p>
|
|
@@ -546,30 +555,35 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
546
555
|
createBranch(args: CreateBranchCommandInput, cb: (err: any, data?: CreateBranchCommandOutput) => void): void;
|
|
547
556
|
createBranch(args: CreateBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBranchCommandOutput) => void): void;
|
|
548
557
|
/**
|
|
558
|
+
* @public
|
|
549
559
|
* <p>Creates a commit for a repository on the tip of a specified branch.</p>
|
|
550
560
|
*/
|
|
551
561
|
createCommit(args: CreateCommitCommandInput, options?: __HttpHandlerOptions): Promise<CreateCommitCommandOutput>;
|
|
552
562
|
createCommit(args: CreateCommitCommandInput, cb: (err: any, data?: CreateCommitCommandOutput) => void): void;
|
|
553
563
|
createCommit(args: CreateCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCommitCommandOutput) => void): void;
|
|
554
564
|
/**
|
|
565
|
+
* @public
|
|
555
566
|
* <p>Creates a pull request in the specified repository.</p>
|
|
556
567
|
*/
|
|
557
568
|
createPullRequest(args: CreatePullRequestCommandInput, options?: __HttpHandlerOptions): Promise<CreatePullRequestCommandOutput>;
|
|
558
569
|
createPullRequest(args: CreatePullRequestCommandInput, cb: (err: any, data?: CreatePullRequestCommandOutput) => void): void;
|
|
559
570
|
createPullRequest(args: CreatePullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePullRequestCommandOutput) => void): void;
|
|
560
571
|
/**
|
|
572
|
+
* @public
|
|
561
573
|
* <p>Creates an approval rule for a pull request.</p>
|
|
562
574
|
*/
|
|
563
575
|
createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreatePullRequestApprovalRuleCommandOutput>;
|
|
564
576
|
createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, cb: (err: any, data?: CreatePullRequestApprovalRuleCommandOutput) => void): void;
|
|
565
577
|
createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePullRequestApprovalRuleCommandOutput) => void): void;
|
|
566
578
|
/**
|
|
579
|
+
* @public
|
|
567
580
|
* <p>Creates a new, empty repository.</p>
|
|
568
581
|
*/
|
|
569
582
|
createRepository(args: CreateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateRepositoryCommandOutput>;
|
|
570
583
|
createRepository(args: CreateRepositoryCommandInput, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
571
584
|
createRepository(args: CreateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
572
585
|
/**
|
|
586
|
+
* @public
|
|
573
587
|
* <p>Creates an unreferenced commit that represents the result of merging two branches
|
|
574
588
|
* using a specified merge strategy. This can help you determine the outcome of a potential
|
|
575
589
|
* merge. This API cannot be used with the fast-forward merge strategy because that
|
|
@@ -583,24 +597,28 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
583
597
|
createUnreferencedMergeCommit(args: CreateUnreferencedMergeCommitCommandInput, cb: (err: any, data?: CreateUnreferencedMergeCommitCommandOutput) => void): void;
|
|
584
598
|
createUnreferencedMergeCommit(args: CreateUnreferencedMergeCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUnreferencedMergeCommitCommandOutput) => void): void;
|
|
585
599
|
/**
|
|
600
|
+
* @public
|
|
586
601
|
* <p>Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.</p>
|
|
587
602
|
*/
|
|
588
603
|
deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApprovalRuleTemplateCommandOutput>;
|
|
589
604
|
deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, cb: (err: any, data?: DeleteApprovalRuleTemplateCommandOutput) => void): void;
|
|
590
605
|
deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApprovalRuleTemplateCommandOutput) => void): void;
|
|
591
606
|
/**
|
|
607
|
+
* @public
|
|
592
608
|
* <p>Deletes a branch from a repository, unless that branch is the default branch for the repository. </p>
|
|
593
609
|
*/
|
|
594
610
|
deleteBranch(args: DeleteBranchCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBranchCommandOutput>;
|
|
595
611
|
deleteBranch(args: DeleteBranchCommandInput, cb: (err: any, data?: DeleteBranchCommandOutput) => void): void;
|
|
596
612
|
deleteBranch(args: DeleteBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBranchCommandOutput) => void): void;
|
|
597
613
|
/**
|
|
614
|
+
* @public
|
|
598
615
|
* <p>Deletes the content of a comment made on a change, file, or commit in a repository.</p>
|
|
599
616
|
*/
|
|
600
617
|
deleteCommentContent(args: DeleteCommentContentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCommentContentCommandOutput>;
|
|
601
618
|
deleteCommentContent(args: DeleteCommentContentCommandInput, cb: (err: any, data?: DeleteCommentContentCommandOutput) => void): void;
|
|
602
619
|
deleteCommentContent(args: DeleteCommentContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommentContentCommandOutput) => void): void;
|
|
603
620
|
/**
|
|
621
|
+
* @public
|
|
604
622
|
* <p>Deletes a specified file from a specified branch. A commit is created on the branch
|
|
605
623
|
* that contains the revision. The file still exists in the commits earlier to the commit
|
|
606
624
|
* that contains the deletion.</p>
|
|
@@ -609,6 +627,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
609
627
|
deleteFile(args: DeleteFileCommandInput, cb: (err: any, data?: DeleteFileCommandOutput) => void): void;
|
|
610
628
|
deleteFile(args: DeleteFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileCommandOutput) => void): void;
|
|
611
629
|
/**
|
|
630
|
+
* @public
|
|
612
631
|
* <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
|
|
613
632
|
* approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the
|
|
614
633
|
* pull request was created. You cannot delete an approval rule from a merged or closed pull request.</p>
|
|
@@ -617,6 +636,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
617
636
|
deletePullRequestApprovalRule(args: DeletePullRequestApprovalRuleCommandInput, cb: (err: any, data?: DeletePullRequestApprovalRuleCommandOutput) => void): void;
|
|
618
637
|
deletePullRequestApprovalRule(args: DeletePullRequestApprovalRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePullRequestApprovalRuleCommandOutput) => void): void;
|
|
619
638
|
/**
|
|
639
|
+
* @public
|
|
620
640
|
* <p>Deletes a repository. If a specified repository was already deleted, a null repository
|
|
621
641
|
* ID is returned.</p>
|
|
622
642
|
* <important>
|
|
@@ -628,6 +648,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
628
648
|
deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
629
649
|
deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
630
650
|
/**
|
|
651
|
+
* @public
|
|
631
652
|
* <p>Returns information about one or more merge conflicts in the attempted merge of two
|
|
632
653
|
* commit specifiers using the squash or three-way merge strategy. If the merge option for
|
|
633
654
|
* the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.</p>
|
|
@@ -636,12 +657,14 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
636
657
|
describeMergeConflicts(args: DescribeMergeConflictsCommandInput, cb: (err: any, data?: DescribeMergeConflictsCommandOutput) => void): void;
|
|
637
658
|
describeMergeConflicts(args: DescribeMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMergeConflictsCommandOutput) => void): void;
|
|
638
659
|
/**
|
|
660
|
+
* @public
|
|
639
661
|
* <p>Returns information about one or more pull request events.</p>
|
|
640
662
|
*/
|
|
641
663
|
describePullRequestEvents(args: DescribePullRequestEventsCommandInput, options?: __HttpHandlerOptions): Promise<DescribePullRequestEventsCommandOutput>;
|
|
642
664
|
describePullRequestEvents(args: DescribePullRequestEventsCommandInput, cb: (err: any, data?: DescribePullRequestEventsCommandOutput) => void): void;
|
|
643
665
|
describePullRequestEvents(args: DescribePullRequestEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePullRequestEventsCommandOutput) => void): void;
|
|
644
666
|
/**
|
|
667
|
+
* @public
|
|
645
668
|
* <p>Removes the association between a template and a repository so that approval rules
|
|
646
669
|
* based on the template are not automatically created when pull requests are created in
|
|
647
670
|
* the specified repository. This does not delete any approval rules previously created for
|
|
@@ -651,30 +674,35 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
651
674
|
disassociateApprovalRuleTemplateFromRepository(args: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, cb: (err: any, data?: DisassociateApprovalRuleTemplateFromRepositoryCommandOutput) => void): void;
|
|
652
675
|
disassociateApprovalRuleTemplateFromRepository(args: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateApprovalRuleTemplateFromRepositoryCommandOutput) => void): void;
|
|
653
676
|
/**
|
|
677
|
+
* @public
|
|
654
678
|
* <p>Evaluates whether a pull request has met all the conditions specified in its associated approval rules.</p>
|
|
655
679
|
*/
|
|
656
680
|
evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, options?: __HttpHandlerOptions): Promise<EvaluatePullRequestApprovalRulesCommandOutput>;
|
|
657
681
|
evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, cb: (err: any, data?: EvaluatePullRequestApprovalRulesCommandOutput) => void): void;
|
|
658
682
|
evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvaluatePullRequestApprovalRulesCommandOutput) => void): void;
|
|
659
683
|
/**
|
|
684
|
+
* @public
|
|
660
685
|
* <p>Returns information about a specified approval rule template.</p>
|
|
661
686
|
*/
|
|
662
687
|
getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetApprovalRuleTemplateCommandOutput>;
|
|
663
688
|
getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, cb: (err: any, data?: GetApprovalRuleTemplateCommandOutput) => void): void;
|
|
664
689
|
getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApprovalRuleTemplateCommandOutput) => void): void;
|
|
665
690
|
/**
|
|
691
|
+
* @public
|
|
666
692
|
* <p>Returns the base-64 encoded content of an individual blob in a repository.</p>
|
|
667
693
|
*/
|
|
668
694
|
getBlob(args: GetBlobCommandInput, options?: __HttpHandlerOptions): Promise<GetBlobCommandOutput>;
|
|
669
695
|
getBlob(args: GetBlobCommandInput, cb: (err: any, data?: GetBlobCommandOutput) => void): void;
|
|
670
696
|
getBlob(args: GetBlobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBlobCommandOutput) => void): void;
|
|
671
697
|
/**
|
|
698
|
+
* @public
|
|
672
699
|
* <p>Returns information about a repository branch, including its name and the last commit ID.</p>
|
|
673
700
|
*/
|
|
674
701
|
getBranch(args: GetBranchCommandInput, options?: __HttpHandlerOptions): Promise<GetBranchCommandOutput>;
|
|
675
702
|
getBranch(args: GetBranchCommandInput, cb: (err: any, data?: GetBranchCommandOutput) => void): void;
|
|
676
703
|
getBranch(args: GetBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBranchCommandOutput) => void): void;
|
|
677
704
|
/**
|
|
705
|
+
* @public
|
|
678
706
|
* <p>Returns the content of a comment made on a change, file, or commit in a repository. </p>
|
|
679
707
|
* <note>
|
|
680
708
|
* <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
|
|
@@ -685,12 +713,14 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
685
713
|
getComment(args: GetCommentCommandInput, cb: (err: any, data?: GetCommentCommandOutput) => void): void;
|
|
686
714
|
getComment(args: GetCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentCommandOutput) => void): void;
|
|
687
715
|
/**
|
|
716
|
+
* @public
|
|
688
717
|
* <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>
|
|
689
718
|
*/
|
|
690
719
|
getCommentReactions(args: GetCommentReactionsCommandInput, options?: __HttpHandlerOptions): Promise<GetCommentReactionsCommandOutput>;
|
|
691
720
|
getCommentReactions(args: GetCommentReactionsCommandInput, cb: (err: any, data?: GetCommentReactionsCommandOutput) => void): void;
|
|
692
721
|
getCommentReactions(args: GetCommentReactionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentReactionsCommandOutput) => void): void;
|
|
693
722
|
/**
|
|
723
|
+
* @public
|
|
694
724
|
* <p>Returns information about comments made on the comparison between two commits.</p>
|
|
695
725
|
* <note>
|
|
696
726
|
* <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
|
|
@@ -701,6 +731,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
701
731
|
getCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, cb: (err: any, data?: GetCommentsForComparedCommitCommandOutput) => void): void;
|
|
702
732
|
getCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentsForComparedCommitCommandOutput) => void): void;
|
|
703
733
|
/**
|
|
734
|
+
* @public
|
|
704
735
|
* <p>Returns comments made on a pull request.</p>
|
|
705
736
|
* <note>
|
|
706
737
|
* <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
|
|
@@ -711,12 +742,14 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
711
742
|
getCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, cb: (err: any, data?: GetCommentsForPullRequestCommandOutput) => void): void;
|
|
712
743
|
getCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentsForPullRequestCommandOutput) => void): void;
|
|
713
744
|
/**
|
|
745
|
+
* @public
|
|
714
746
|
* <p>Returns information about a commit, including commit message and committer information.</p>
|
|
715
747
|
*/
|
|
716
748
|
getCommit(args: GetCommitCommandInput, options?: __HttpHandlerOptions): Promise<GetCommitCommandOutput>;
|
|
717
749
|
getCommit(args: GetCommitCommandInput, cb: (err: any, data?: GetCommitCommandOutput) => void): void;
|
|
718
750
|
getCommit(args: GetCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommitCommandOutput) => void): void;
|
|
719
751
|
/**
|
|
752
|
+
* @public
|
|
720
753
|
* <p>Returns information about the differences in a valid commit specifier (such as a
|
|
721
754
|
* branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be
|
|
722
755
|
* limited to a specified path.</p>
|
|
@@ -725,30 +758,35 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
725
758
|
getDifferences(args: GetDifferencesCommandInput, cb: (err: any, data?: GetDifferencesCommandOutput) => void): void;
|
|
726
759
|
getDifferences(args: GetDifferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDifferencesCommandOutput) => void): void;
|
|
727
760
|
/**
|
|
761
|
+
* @public
|
|
728
762
|
* <p>Returns the base-64 encoded contents of a specified file and its metadata.</p>
|
|
729
763
|
*/
|
|
730
764
|
getFile(args: GetFileCommandInput, options?: __HttpHandlerOptions): Promise<GetFileCommandOutput>;
|
|
731
765
|
getFile(args: GetFileCommandInput, cb: (err: any, data?: GetFileCommandOutput) => void): void;
|
|
732
766
|
getFile(args: GetFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFileCommandOutput) => void): void;
|
|
733
767
|
/**
|
|
768
|
+
* @public
|
|
734
769
|
* <p>Returns the contents of a specified folder in a repository.</p>
|
|
735
770
|
*/
|
|
736
771
|
getFolder(args: GetFolderCommandInput, options?: __HttpHandlerOptions): Promise<GetFolderCommandOutput>;
|
|
737
772
|
getFolder(args: GetFolderCommandInput, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
|
|
738
773
|
getFolder(args: GetFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
|
|
739
774
|
/**
|
|
775
|
+
* @public
|
|
740
776
|
* <p>Returns information about a specified merge commit.</p>
|
|
741
777
|
*/
|
|
742
778
|
getMergeCommit(args: GetMergeCommitCommandInput, options?: __HttpHandlerOptions): Promise<GetMergeCommitCommandOutput>;
|
|
743
779
|
getMergeCommit(args: GetMergeCommitCommandInput, cb: (err: any, data?: GetMergeCommitCommandOutput) => void): void;
|
|
744
780
|
getMergeCommit(args: GetMergeCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeCommitCommandOutput) => void): void;
|
|
745
781
|
/**
|
|
782
|
+
* @public
|
|
746
783
|
* <p>Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.</p>
|
|
747
784
|
*/
|
|
748
785
|
getMergeConflicts(args: GetMergeConflictsCommandInput, options?: __HttpHandlerOptions): Promise<GetMergeConflictsCommandOutput>;
|
|
749
786
|
getMergeConflicts(args: GetMergeConflictsCommandInput, cb: (err: any, data?: GetMergeConflictsCommandOutput) => void): void;
|
|
750
787
|
getMergeConflicts(args: GetMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeConflictsCommandOutput) => void): void;
|
|
751
788
|
/**
|
|
789
|
+
* @public
|
|
752
790
|
* <p>Returns information about the merge options available for merging two specified
|
|
753
791
|
* branches. For details about why a merge option is not available, use GetMergeConflicts
|
|
754
792
|
* or DescribeMergeConflicts.</p>
|
|
@@ -757,12 +795,14 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
757
795
|
getMergeOptions(args: GetMergeOptionsCommandInput, cb: (err: any, data?: GetMergeOptionsCommandOutput) => void): void;
|
|
758
796
|
getMergeOptions(args: GetMergeOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeOptionsCommandOutput) => void): void;
|
|
759
797
|
/**
|
|
798
|
+
* @public
|
|
760
799
|
* <p>Gets information about a pull request in a specified repository.</p>
|
|
761
800
|
*/
|
|
762
801
|
getPullRequest(args: GetPullRequestCommandInput, options?: __HttpHandlerOptions): Promise<GetPullRequestCommandOutput>;
|
|
763
802
|
getPullRequest(args: GetPullRequestCommandInput, cb: (err: any, data?: GetPullRequestCommandOutput) => void): void;
|
|
764
803
|
getPullRequest(args: GetPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestCommandOutput) => void): void;
|
|
765
804
|
/**
|
|
805
|
+
* @public
|
|
766
806
|
* <p>Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more
|
|
767
807
|
* approval rules applied to them.</p>
|
|
768
808
|
*/
|
|
@@ -770,6 +810,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
770
810
|
getPullRequestApprovalStates(args: GetPullRequestApprovalStatesCommandInput, cb: (err: any, data?: GetPullRequestApprovalStatesCommandOutput) => void): void;
|
|
771
811
|
getPullRequestApprovalStates(args: GetPullRequestApprovalStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestApprovalStatesCommandOutput) => void): void;
|
|
772
812
|
/**
|
|
813
|
+
* @public
|
|
773
814
|
* <p>Returns information about whether approval rules have been set aside (overridden) for a
|
|
774
815
|
* 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>
|
|
775
816
|
*/
|
|
@@ -777,6 +818,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
777
818
|
getPullRequestOverrideState(args: GetPullRequestOverrideStateCommandInput, cb: (err: any, data?: GetPullRequestOverrideStateCommandOutput) => void): void;
|
|
778
819
|
getPullRequestOverrideState(args: GetPullRequestOverrideStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestOverrideStateCommandOutput) => void): void;
|
|
779
820
|
/**
|
|
821
|
+
* @public
|
|
780
822
|
* <p>Returns information about a repository.</p>
|
|
781
823
|
*
|
|
782
824
|
* <note>
|
|
@@ -791,12 +833,14 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
791
833
|
getRepository(args: GetRepositoryCommandInput, cb: (err: any, data?: GetRepositoryCommandOutput) => void): void;
|
|
792
834
|
getRepository(args: GetRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryCommandOutput) => void): void;
|
|
793
835
|
/**
|
|
836
|
+
* @public
|
|
794
837
|
* <p>Gets information about triggers configured for a repository.</p>
|
|
795
838
|
*/
|
|
796
839
|
getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryTriggersCommandOutput>;
|
|
797
840
|
getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, cb: (err: any, data?: GetRepositoryTriggersCommandOutput) => void): void;
|
|
798
841
|
getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryTriggersCommandOutput) => void): void;
|
|
799
842
|
/**
|
|
843
|
+
* @public
|
|
800
844
|
* <p>Lists all approval rule templates in the specified AWS Region in your AWS account. If
|
|
801
845
|
* an AWS Region is not specified, the AWS Region where you are signed in is used.</p>
|
|
802
846
|
*/
|
|
@@ -804,18 +848,21 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
804
848
|
listApprovalRuleTemplates(args: ListApprovalRuleTemplatesCommandInput, cb: (err: any, data?: ListApprovalRuleTemplatesCommandOutput) => void): void;
|
|
805
849
|
listApprovalRuleTemplates(args: ListApprovalRuleTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApprovalRuleTemplatesCommandOutput) => void): void;
|
|
806
850
|
/**
|
|
851
|
+
* @public
|
|
807
852
|
* <p>Lists all approval rule templates that are associated with a specified repository.</p>
|
|
808
853
|
*/
|
|
809
854
|
listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput>;
|
|
810
855
|
listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, cb: (err: any, data?: ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput) => void): void;
|
|
811
856
|
listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput) => void): void;
|
|
812
857
|
/**
|
|
858
|
+
* @public
|
|
813
859
|
* <p>Gets information about one or more branches in a repository.</p>
|
|
814
860
|
*/
|
|
815
861
|
listBranches(args: ListBranchesCommandInput, options?: __HttpHandlerOptions): Promise<ListBranchesCommandOutput>;
|
|
816
862
|
listBranches(args: ListBranchesCommandInput, cb: (err: any, data?: ListBranchesCommandOutput) => void): void;
|
|
817
863
|
listBranches(args: ListBranchesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBranchesCommandOutput) => void): void;
|
|
818
864
|
/**
|
|
865
|
+
* @public
|
|
819
866
|
* <p>Returns a list of pull requests for a specified repository. The return list can be refined by pull request
|
|
820
867
|
* status or pull request author ARN.</p>
|
|
821
868
|
*/
|
|
@@ -823,18 +870,21 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
823
870
|
listPullRequests(args: ListPullRequestsCommandInput, cb: (err: any, data?: ListPullRequestsCommandOutput) => void): void;
|
|
824
871
|
listPullRequests(args: ListPullRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPullRequestsCommandOutput) => void): void;
|
|
825
872
|
/**
|
|
873
|
+
* @public
|
|
826
874
|
* <p>Gets information about one or more repositories.</p>
|
|
827
875
|
*/
|
|
828
876
|
listRepositories(args: ListRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoriesCommandOutput>;
|
|
829
877
|
listRepositories(args: ListRepositoriesCommandInput, cb: (err: any, data?: ListRepositoriesCommandOutput) => void): void;
|
|
830
878
|
listRepositories(args: ListRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesCommandOutput) => void): void;
|
|
831
879
|
/**
|
|
880
|
+
* @public
|
|
832
881
|
* <p>Lists all repositories associated with the specified approval rule template.</p>
|
|
833
882
|
*/
|
|
834
883
|
listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoriesForApprovalRuleTemplateCommandOutput>;
|
|
835
884
|
listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, cb: (err: any, data?: ListRepositoriesForApprovalRuleTemplateCommandOutput) => void): void;
|
|
836
885
|
listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesForApprovalRuleTemplateCommandOutput) => void): void;
|
|
837
886
|
/**
|
|
887
|
+
* @public
|
|
838
888
|
* <p>Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS
|
|
839
889
|
* 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
|
|
840
890
|
* Guide</i>.</p>
|
|
@@ -843,24 +893,28 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
843
893
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
844
894
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
845
895
|
/**
|
|
896
|
+
* @public
|
|
846
897
|
* <p>Merges two branches using the fast-forward merge strategy.</p>
|
|
847
898
|
*/
|
|
848
899
|
mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, options?: __HttpHandlerOptions): Promise<MergeBranchesByFastForwardCommandOutput>;
|
|
849
900
|
mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, cb: (err: any, data?: MergeBranchesByFastForwardCommandOutput) => void): void;
|
|
850
901
|
mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesByFastForwardCommandOutput) => void): void;
|
|
851
902
|
/**
|
|
903
|
+
* @public
|
|
852
904
|
* <p>Merges two branches using the squash merge strategy.</p>
|
|
853
905
|
*/
|
|
854
906
|
mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, options?: __HttpHandlerOptions): Promise<MergeBranchesBySquashCommandOutput>;
|
|
855
907
|
mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, cb: (err: any, data?: MergeBranchesBySquashCommandOutput) => void): void;
|
|
856
908
|
mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesBySquashCommandOutput) => void): void;
|
|
857
909
|
/**
|
|
910
|
+
* @public
|
|
858
911
|
* <p>Merges two specified branches using the three-way merge strategy.</p>
|
|
859
912
|
*/
|
|
860
913
|
mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, options?: __HttpHandlerOptions): Promise<MergeBranchesByThreeWayCommandOutput>;
|
|
861
914
|
mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, cb: (err: any, data?: MergeBranchesByThreeWayCommandOutput) => void): void;
|
|
862
915
|
mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesByThreeWayCommandOutput) => void): void;
|
|
863
916
|
/**
|
|
917
|
+
* @public
|
|
864
918
|
* <p>Attempts to merge the source commit of a pull request into the specified destination
|
|
865
919
|
* 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>
|
|
866
920
|
*/
|
|
@@ -868,6 +922,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
868
922
|
mergePullRequestByFastForward(args: MergePullRequestByFastForwardCommandInput, cb: (err: any, data?: MergePullRequestByFastForwardCommandOutput) => void): void;
|
|
869
923
|
mergePullRequestByFastForward(args: MergePullRequestByFastForwardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestByFastForwardCommandOutput) => void): void;
|
|
870
924
|
/**
|
|
925
|
+
* @public
|
|
871
926
|
* <p>Attempts to merge the source commit of a pull request into the specified destination
|
|
872
927
|
* 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>
|
|
873
928
|
*/
|
|
@@ -875,6 +930,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
875
930
|
mergePullRequestBySquash(args: MergePullRequestBySquashCommandInput, cb: (err: any, data?: MergePullRequestBySquashCommandOutput) => void): void;
|
|
876
931
|
mergePullRequestBySquash(args: MergePullRequestBySquashCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestBySquashCommandOutput) => void): void;
|
|
877
932
|
/**
|
|
933
|
+
* @public
|
|
878
934
|
* <p>Attempts to merge the source commit of a pull request into the specified destination
|
|
879
935
|
* 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>
|
|
880
936
|
*/
|
|
@@ -882,30 +938,35 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
882
938
|
mergePullRequestByThreeWay(args: MergePullRequestByThreeWayCommandInput, cb: (err: any, data?: MergePullRequestByThreeWayCommandOutput) => void): void;
|
|
883
939
|
mergePullRequestByThreeWay(args: MergePullRequestByThreeWayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestByThreeWayCommandOutput) => void): void;
|
|
884
940
|
/**
|
|
941
|
+
* @public
|
|
885
942
|
* <p>Sets aside (overrides) all approval rule requirements for a specified pull request.</p>
|
|
886
943
|
*/
|
|
887
944
|
overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, options?: __HttpHandlerOptions): Promise<OverridePullRequestApprovalRulesCommandOutput>;
|
|
888
945
|
overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, cb: (err: any, data?: OverridePullRequestApprovalRulesCommandOutput) => void): void;
|
|
889
946
|
overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OverridePullRequestApprovalRulesCommandOutput) => void): void;
|
|
890
947
|
/**
|
|
948
|
+
* @public
|
|
891
949
|
* <p>Posts a comment on the comparison between two commits.</p>
|
|
892
950
|
*/
|
|
893
951
|
postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, options?: __HttpHandlerOptions): Promise<PostCommentForComparedCommitCommandOutput>;
|
|
894
952
|
postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, cb: (err: any, data?: PostCommentForComparedCommitCommandOutput) => void): void;
|
|
895
953
|
postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentForComparedCommitCommandOutput) => void): void;
|
|
896
954
|
/**
|
|
955
|
+
* @public
|
|
897
956
|
* <p>Posts a comment on a pull request.</p>
|
|
898
957
|
*/
|
|
899
958
|
postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, options?: __HttpHandlerOptions): Promise<PostCommentForPullRequestCommandOutput>;
|
|
900
959
|
postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, cb: (err: any, data?: PostCommentForPullRequestCommandOutput) => void): void;
|
|
901
960
|
postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentForPullRequestCommandOutput) => void): void;
|
|
902
961
|
/**
|
|
962
|
+
* @public
|
|
903
963
|
* <p>Posts a comment in reply to an existing comment on a comparison between commits or a pull request.</p>
|
|
904
964
|
*/
|
|
905
965
|
postCommentReply(args: PostCommentReplyCommandInput, options?: __HttpHandlerOptions): Promise<PostCommentReplyCommandOutput>;
|
|
906
966
|
postCommentReply(args: PostCommentReplyCommandInput, cb: (err: any, data?: PostCommentReplyCommandOutput) => void): void;
|
|
907
967
|
postCommentReply(args: PostCommentReplyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentReplyCommandOutput) => void): void;
|
|
908
968
|
/**
|
|
969
|
+
* @public
|
|
909
970
|
* <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
|
|
910
971
|
* update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.</p>
|
|
911
972
|
*/
|
|
@@ -913,18 +974,21 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
913
974
|
putCommentReaction(args: PutCommentReactionCommandInput, cb: (err: any, data?: PutCommentReactionCommandOutput) => void): void;
|
|
914
975
|
putCommentReaction(args: PutCommentReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCommentReactionCommandOutput) => void): void;
|
|
915
976
|
/**
|
|
977
|
+
* @public
|
|
916
978
|
* <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>
|
|
917
979
|
*/
|
|
918
980
|
putFile(args: PutFileCommandInput, options?: __HttpHandlerOptions): Promise<PutFileCommandOutput>;
|
|
919
981
|
putFile(args: PutFileCommandInput, cb: (err: any, data?: PutFileCommandOutput) => void): void;
|
|
920
982
|
putFile(args: PutFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFileCommandOutput) => void): void;
|
|
921
983
|
/**
|
|
984
|
+
* @public
|
|
922
985
|
* <p>Replaces all triggers for a repository. Used to create or delete triggers.</p>
|
|
923
986
|
*/
|
|
924
987
|
putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, options?: __HttpHandlerOptions): Promise<PutRepositoryTriggersCommandOutput>;
|
|
925
988
|
putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, cb: (err: any, data?: PutRepositoryTriggersCommandOutput) => void): void;
|
|
926
989
|
putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRepositoryTriggersCommandOutput) => void): void;
|
|
927
990
|
/**
|
|
991
|
+
* @public
|
|
928
992
|
* <p>Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources
|
|
929
993
|
* 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
|
|
930
994
|
* Guide</i>.</p>
|
|
@@ -933,6 +997,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
933
997
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
934
998
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
935
999
|
/**
|
|
1000
|
+
* @public
|
|
936
1001
|
* <p>Tests the functionality of repository triggers by sending information to the trigger
|
|
937
1002
|
* target. If real data is available in the repository, the test sends data from the last
|
|
938
1003
|
* commit. If no data is available, sample data is generated.</p>
|
|
@@ -941,6 +1006,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
941
1006
|
testRepositoryTriggers(args: TestRepositoryTriggersCommandInput, cb: (err: any, data?: TestRepositoryTriggersCommandOutput) => void): void;
|
|
942
1007
|
testRepositoryTriggers(args: TestRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestRepositoryTriggersCommandOutput) => void): void;
|
|
943
1008
|
/**
|
|
1009
|
+
* @public
|
|
944
1010
|
* <p>Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS
|
|
945
1011
|
* 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
|
|
946
1012
|
* Guide</i>.</p>
|
|
@@ -949,6 +1015,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
949
1015
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
950
1016
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
951
1017
|
/**
|
|
1018
|
+
* @public
|
|
952
1019
|
* <p>Updates the content of an approval rule template. You can change the number of
|
|
953
1020
|
* required approvals, the membership of the approval rule, and whether an approval pool is
|
|
954
1021
|
* defined.</p>
|
|
@@ -957,24 +1024,28 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
957
1024
|
updateApprovalRuleTemplateContent(args: UpdateApprovalRuleTemplateContentCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateContentCommandOutput) => void): void;
|
|
958
1025
|
updateApprovalRuleTemplateContent(args: UpdateApprovalRuleTemplateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateContentCommandOutput) => void): void;
|
|
959
1026
|
/**
|
|
1027
|
+
* @public
|
|
960
1028
|
* <p>Updates the description for a specified approval rule template.</p>
|
|
961
1029
|
*/
|
|
962
1030
|
updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApprovalRuleTemplateDescriptionCommandOutput>;
|
|
963
1031
|
updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateDescriptionCommandOutput) => void): void;
|
|
964
1032
|
updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateDescriptionCommandOutput) => void): void;
|
|
965
1033
|
/**
|
|
1034
|
+
* @public
|
|
966
1035
|
* <p>Updates the name of a specified approval rule template.</p>
|
|
967
1036
|
*/
|
|
968
1037
|
updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApprovalRuleTemplateNameCommandOutput>;
|
|
969
1038
|
updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateNameCommandOutput) => void): void;
|
|
970
1039
|
updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateNameCommandOutput) => void): void;
|
|
971
1040
|
/**
|
|
1041
|
+
* @public
|
|
972
1042
|
* <p>Replaces the contents of a comment.</p>
|
|
973
1043
|
*/
|
|
974
1044
|
updateComment(args: UpdateCommentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCommentCommandOutput>;
|
|
975
1045
|
updateComment(args: UpdateCommentCommandInput, cb: (err: any, data?: UpdateCommentCommandOutput) => void): void;
|
|
976
1046
|
updateComment(args: UpdateCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCommentCommandOutput) => void): void;
|
|
977
1047
|
/**
|
|
1048
|
+
* @public
|
|
978
1049
|
* <p>Sets or changes the default branch name for the specified repository.</p>
|
|
979
1050
|
* <note>
|
|
980
1051
|
* <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>
|
|
@@ -984,6 +1055,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
984
1055
|
updateDefaultBranch(args: UpdateDefaultBranchCommandInput, cb: (err: any, data?: UpdateDefaultBranchCommandOutput) => void): void;
|
|
985
1056
|
updateDefaultBranch(args: UpdateDefaultBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDefaultBranchCommandOutput) => void): void;
|
|
986
1057
|
/**
|
|
1058
|
+
* @public
|
|
987
1059
|
* <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
|
|
988
1060
|
* the approval pool for approvers. </p>
|
|
989
1061
|
*/
|
|
@@ -991,30 +1063,35 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
991
1063
|
updatePullRequestApprovalRuleContent(args: UpdatePullRequestApprovalRuleContentCommandInput, cb: (err: any, data?: UpdatePullRequestApprovalRuleContentCommandOutput) => void): void;
|
|
992
1064
|
updatePullRequestApprovalRuleContent(args: UpdatePullRequestApprovalRuleContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestApprovalRuleContentCommandOutput) => void): void;
|
|
993
1065
|
/**
|
|
1066
|
+
* @public
|
|
994
1067
|
* <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>
|
|
995
1068
|
*/
|
|
996
1069
|
updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestApprovalStateCommandOutput>;
|
|
997
1070
|
updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, cb: (err: any, data?: UpdatePullRequestApprovalStateCommandOutput) => void): void;
|
|
998
1071
|
updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestApprovalStateCommandOutput) => void): void;
|
|
999
1072
|
/**
|
|
1073
|
+
* @public
|
|
1000
1074
|
* <p>Replaces the contents of the description of a pull request.</p>
|
|
1001
1075
|
*/
|
|
1002
1076
|
updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestDescriptionCommandOutput>;
|
|
1003
1077
|
updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, cb: (err: any, data?: UpdatePullRequestDescriptionCommandOutput) => void): void;
|
|
1004
1078
|
updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestDescriptionCommandOutput) => void): void;
|
|
1005
1079
|
/**
|
|
1080
|
+
* @public
|
|
1006
1081
|
* <p>Updates the status of a pull request. </p>
|
|
1007
1082
|
*/
|
|
1008
1083
|
updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestStatusCommandOutput>;
|
|
1009
1084
|
updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, cb: (err: any, data?: UpdatePullRequestStatusCommandOutput) => void): void;
|
|
1010
1085
|
updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestStatusCommandOutput) => void): void;
|
|
1011
1086
|
/**
|
|
1087
|
+
* @public
|
|
1012
1088
|
* <p>Replaces the title of a pull request.</p>
|
|
1013
1089
|
*/
|
|
1014
1090
|
updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestTitleCommandOutput>;
|
|
1015
1091
|
updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, cb: (err: any, data?: UpdatePullRequestTitleCommandOutput) => void): void;
|
|
1016
1092
|
updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestTitleCommandOutput) => void): void;
|
|
1017
1093
|
/**
|
|
1094
|
+
* @public
|
|
1018
1095
|
* <p>Sets or changes the comment or description for a repository.</p>
|
|
1019
1096
|
* <note>
|
|
1020
1097
|
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
@@ -1028,6 +1105,7 @@ export declare class CodeCommit extends CodeCommitClient {
|
|
|
1028
1105
|
updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, cb: (err: any, data?: UpdateRepositoryDescriptionCommandOutput) => void): void;
|
|
1029
1106
|
updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryDescriptionCommandOutput) => void): void;
|
|
1030
1107
|
/**
|
|
1108
|
+
* @public
|
|
1031
1109
|
* <p>Renames a repository. The repository name must be unique across the calling AWS
|
|
1032
1110
|
* account. Repository names are limited to 100 alphanumeric, dash, and underscore
|
|
1033
1111
|
* characters, and cannot include certain characters. The suffix .git is prohibited. For
|