@aws-sdk/client-codecommit 3.391.0 → 3.398.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/README.md +30 -32
- package/dist-cjs/CodeCommit.js +2 -0
- package/dist-cjs/CodeCommitClient.js +4 -2
- package/dist-cjs/commands/ListFileCommitHistoryCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/models/models_0.js +1 -27
- package/dist-cjs/models/models_1.js +27 -1
- package/dist-cjs/pagination/ListFileCommitHistoryPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +85 -6
- package/dist-cjs/runtimeConfig.shared.js +1 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/CodeCommit.js +2 -0
- package/dist-es/CodeCommitClient.js +4 -2
- package/dist-es/commands/ListFileCommitHistoryCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/models/models_0.js +0 -24
- package/dist-es/models/models_1.js +24 -0
- package/dist-es/pagination/ListFileCommitHistoryPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +79 -2
- package/dist-es/runtimeConfig.shared.js +1 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/CodeCommit.d.ts +100 -109
- package/dist-types/CodeCommitClient.d.ts +102 -112
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +4 -6
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +3 -4
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +12 -13
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +3 -4
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +1 -2
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +2 -3
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +7 -9
- package/dist-types/commands/CreateBranchCommand.d.ts +3 -3
- package/dist-types/commands/CreateCommitCommand.d.ts +6 -7
- package/dist-types/commands/CreatePullRequestCommand.d.ts +4 -5
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -3
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +8 -9
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +2 -3
- package/dist-types/commands/DeleteBranchCommand.d.ts +1 -2
- package/dist-types/commands/DeleteFileCommand.d.ts +1 -2
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -3
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +12 -13
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +7 -7
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -6
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +3 -4
- package/dist-types/commands/GetBlobCommand.d.ts +3 -4
- package/dist-types/commands/GetBranchCommand.d.ts +1 -2
- package/dist-types/commands/GetCommentCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +3 -4
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +3 -4
- package/dist-types/commands/GetCommitCommand.d.ts +1 -2
- package/dist-types/commands/GetDifferencesCommand.d.ts +2 -3
- package/dist-types/commands/GetFileCommand.d.ts +4 -5
- package/dist-types/commands/GetFolderCommand.d.ts +3 -4
- package/dist-types/commands/GetMergeCommitCommand.d.ts +3 -4
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +12 -13
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +4 -5
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +1 -1
- package/dist-types/commands/GetPullRequestCommand.d.ts +2 -2
- package/dist-types/commands/GetRepositoryCommand.d.ts +2 -4
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +2 -3
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +1 -2
- package/dist-types/commands/ListBranchesCommand.d.ts +1 -2
- package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +153 -0
- package/dist-types/commands/ListPullRequestsCommand.d.ts +5 -5
- package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +3 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -8
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -2
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +6 -7
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +6 -7
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +3 -4
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +8 -9
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +8 -9
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +4 -5
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +4 -5
- package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
- package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
- package/dist-types/commands/PutFileCommand.d.ts +3 -4
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +4 -5
- package/dist-types/commands/TagResourceCommand.d.ts +8 -9
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +4 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -9
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +3 -4
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +5 -7
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +4 -5
- package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +2 -3
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +2 -3
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +4 -5
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/index.d.ts +93 -109
- package/dist-types/models/models_0.d.ts +153 -114
- package/dist-types/models/models_1.d.ts +68 -30
- package/dist-types/pagination/ListFileCommitHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/CodeCommit.d.ts +17 -0
- package/dist-types/ts3.4/CodeCommitClient.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -18
- package/dist-types/ts3.4/models/models_1.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListFileCommitHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +29 -29
|
@@ -2,7 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
-
* <p>The specified Amazon Resource Name (ARN) does not exist in the
|
|
5
|
+
* <p>The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.</p>
|
|
6
6
|
*/
|
|
7
7
|
export declare class ActorDoesNotExistException extends __BaseException {
|
|
8
8
|
readonly name: "ActorDoesNotExistException";
|
|
@@ -260,7 +260,7 @@ export declare class ApprovalRuleTemplateContentRequiredException extends __Base
|
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
262
|
* @public
|
|
263
|
-
* <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the
|
|
263
|
+
* <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the Amazon Web Services Region where the template
|
|
264
264
|
* was created, and then try again.</p>
|
|
265
265
|
*/
|
|
266
266
|
export declare class ApprovalRuleTemplateDoesNotExistException extends __BaseException {
|
|
@@ -287,7 +287,7 @@ export declare class ApprovalRuleTemplateInUseException extends __BaseException
|
|
|
287
287
|
/**
|
|
288
288
|
* @public
|
|
289
289
|
* <p>You cannot create an approval rule template with that name because a template with
|
|
290
|
-
* that name already exists in this
|
|
290
|
+
* that name already exists in this Amazon Web Services Region for your Amazon Web Services account. Approval rule template
|
|
291
291
|
* names must be unique.</p>
|
|
292
292
|
*/
|
|
293
293
|
export declare class ApprovalRuleTemplateNameAlreadyExistsException extends __BaseException {
|
|
@@ -416,9 +416,8 @@ export declare class EncryptionKeyUnavailableException extends __BaseException {
|
|
|
416
416
|
/**
|
|
417
417
|
* @public
|
|
418
418
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
419
|
-
* and 100 valid characters in length. For more information about limits in
|
|
420
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">
|
|
421
|
-
* CodeCommit User Guide</a>.</p>
|
|
419
|
+
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
420
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
422
421
|
*/
|
|
423
422
|
export declare class InvalidApprovalRuleTemplateNameException extends __BaseException {
|
|
424
423
|
readonly name: "InvalidApprovalRuleTemplateNameException";
|
|
@@ -431,8 +430,7 @@ export declare class InvalidApprovalRuleTemplateNameException extends __BaseExce
|
|
|
431
430
|
/**
|
|
432
431
|
* @public
|
|
433
432
|
* <p>A specified repository name is not valid.</p>
|
|
434
|
-
*
|
|
435
|
-
* <note>
|
|
433
|
+
* <note>
|
|
436
434
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
437
435
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
438
436
|
* specified repository does not exist.</p>
|
|
@@ -485,7 +483,7 @@ export declare class RepositoryNameRequiredException extends __BaseException {
|
|
|
485
483
|
}
|
|
486
484
|
/**
|
|
487
485
|
* @public
|
|
488
|
-
* <p>The specified Amazon Resource Name (ARN) does not exist in the
|
|
486
|
+
* <p>The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.</p>
|
|
489
487
|
*/
|
|
490
488
|
export declare class AuthorDoesNotExistException extends __BaseException {
|
|
491
489
|
readonly name: "AuthorDoesNotExistException";
|
|
@@ -507,7 +505,7 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesInput {
|
|
|
507
505
|
/**
|
|
508
506
|
* @public
|
|
509
507
|
* <p>The names of the repositories you want to associate with the template.</p>
|
|
510
|
-
*
|
|
508
|
+
* <note>
|
|
511
509
|
* <p>The length constraint limit is for each string in the array. The array itself can be empty.</p>
|
|
512
510
|
* </note>
|
|
513
511
|
*/
|
|
@@ -1166,7 +1164,7 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
|
|
|
1166
1164
|
* @public
|
|
1167
1165
|
* <p>The repository names that you want to disassociate from the approval rule
|
|
1168
1166
|
* template.</p>
|
|
1169
|
-
*
|
|
1167
|
+
* <note>
|
|
1170
1168
|
* <p>The length constraint limit is for each string in the array. The array itself can be empty.</p>
|
|
1171
1169
|
* </note>
|
|
1172
1170
|
*/
|
|
@@ -1217,10 +1215,10 @@ export interface BatchGetCommitsInput {
|
|
|
1217
1215
|
/**
|
|
1218
1216
|
* @public
|
|
1219
1217
|
* <p>The full commit IDs of the commits to get information about.</p>
|
|
1220
|
-
*
|
|
1218
|
+
* <note>
|
|
1221
1219
|
* <p>You must supply the full SHA IDs of each commit. You cannot use shortened SHA
|
|
1222
1220
|
* IDs.</p>
|
|
1223
|
-
*
|
|
1221
|
+
* </note>
|
|
1224
1222
|
*/
|
|
1225
1223
|
commitIds: string[] | undefined;
|
|
1226
1224
|
/**
|
|
@@ -1287,7 +1285,7 @@ export interface Commit {
|
|
|
1287
1285
|
* <p>Information about the person who committed the specified commit, also known as the committer. Information includes
|
|
1288
1286
|
* the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured
|
|
1289
1287
|
* in Git.</p>
|
|
1290
|
-
*
|
|
1288
|
+
* <p>For more information
|
|
1291
1289
|
* about the difference between an author and a committer in Git, see <a href="http://git-scm.com/book/ch2-3.html">Viewing the Commit History</a> in Pro Git
|
|
1292
1290
|
* by Scott Chacon and Ben Straub.</p>
|
|
1293
1291
|
*/
|
|
@@ -1368,7 +1366,7 @@ export interface BatchGetRepositoriesInput {
|
|
|
1368
1366
|
/**
|
|
1369
1367
|
* @public
|
|
1370
1368
|
* <p>The names of the repositories to get information about.</p>
|
|
1371
|
-
*
|
|
1369
|
+
* <note>
|
|
1372
1370
|
* <p>The length constraint limit is for each string in the array. The array itself can be empty.</p>
|
|
1373
1371
|
* </note>
|
|
1374
1372
|
*/
|
|
@@ -1381,7 +1379,7 @@ export interface BatchGetRepositoriesInput {
|
|
|
1381
1379
|
export interface RepositoryMetadata {
|
|
1382
1380
|
/**
|
|
1383
1381
|
* @public
|
|
1384
|
-
* <p>The ID of the
|
|
1382
|
+
* <p>The ID of the Amazon Web Services account associated with the repository.</p>
|
|
1385
1383
|
*/
|
|
1386
1384
|
accountId?: string;
|
|
1387
1385
|
/**
|
|
@@ -1500,7 +1498,7 @@ export interface BlobMetadata {
|
|
|
1500
1498
|
/**
|
|
1501
1499
|
* @public
|
|
1502
1500
|
* <p>The file mode permissions of the blob. File mode permission codes include:</p>
|
|
1503
|
-
*
|
|
1501
|
+
* <ul>
|
|
1504
1502
|
* <li>
|
|
1505
1503
|
* <p>
|
|
1506
1504
|
* <code>100644</code> indicates read/write</p>
|
|
@@ -1552,6 +1550,7 @@ export interface BranchInfo {
|
|
|
1552
1550
|
/**
|
|
1553
1551
|
* @public
|
|
1554
1552
|
* <p>Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name.
|
|
1553
|
+
*
|
|
1555
1554
|
* Branch names must be unique.</p>
|
|
1556
1555
|
*/
|
|
1557
1556
|
export declare class BranchNameExistsException extends __BaseException {
|
|
@@ -1646,46 +1645,45 @@ export interface CreateApprovalRuleTemplateInput {
|
|
|
1646
1645
|
* repositories. If you specify one or more destination references (branches), approval
|
|
1647
1646
|
* rules are created in an associated repository only if their destination references
|
|
1648
1647
|
* (branches) match those specified in the template.</p>
|
|
1649
|
-
*
|
|
1648
|
+
* <note>
|
|
1650
1649
|
* <p>When you create the content of the approval rule template, you can specify
|
|
1651
1650
|
* approvers in an approval pool in one of two ways:</p>
|
|
1652
1651
|
* <ul>
|
|
1653
1652
|
* <li>
|
|
1654
|
-
*
|
|
1653
|
+
* <p>
|
|
1655
1654
|
* <b>CodeCommitApprovers</b>: This option only
|
|
1656
|
-
* requires an
|
|
1655
|
+
* requires an Amazon Web Services account and a resource. It can be used for both IAM users
|
|
1657
1656
|
* and federated access users whose name matches the provided resource name.
|
|
1658
1657
|
* This is a very powerful option that offers a great deal of flexibility. For
|
|
1659
|
-
* example, if you specify the
|
|
1658
|
+
* example, if you specify the Amazon Web Services account <i>123456789012</i>
|
|
1660
1659
|
* and <i>Mary_Major</i>, all of the following are counted as
|
|
1661
1660
|
* approvals coming from that user:</p>
|
|
1662
|
-
*
|
|
1661
|
+
* <ul>
|
|
1663
1662
|
* <li>
|
|
1664
|
-
*
|
|
1663
|
+
* <p>An IAM user in the account
|
|
1665
1664
|
* (arn:aws:iam::<i>123456789012</i>:user/<i>Mary_Major</i>)</p>
|
|
1666
|
-
*
|
|
1665
|
+
* </li>
|
|
1667
1666
|
* <li>
|
|
1668
|
-
*
|
|
1667
|
+
* <p>A federated user identified in IAM as Mary_Major
|
|
1669
1668
|
* (arn:aws:sts::<i>123456789012</i>:federated-user/<i>Mary_Major</i>)</p>
|
|
1670
|
-
*
|
|
1669
|
+
* </li>
|
|
1671
1670
|
* </ul>
|
|
1672
|
-
*
|
|
1671
|
+
* <p>This option does not recognize an active session of someone assuming the
|
|
1673
1672
|
* role of CodeCommitReview with a role session name of
|
|
1674
1673
|
* <i>Mary_Major</i>
|
|
1675
1674
|
* (arn:aws:sts::<i>123456789012</i>:assumed-role/CodeCommitReview/<i>Mary_Major</i>)
|
|
1676
1675
|
* unless you include a wildcard (*Mary_Major).</p>
|
|
1677
|
-
*
|
|
1676
|
+
* </li>
|
|
1678
1677
|
* <li>
|
|
1679
|
-
*
|
|
1678
|
+
* <p>
|
|
1680
1679
|
* <b>Fully qualified ARN</b>: This option allows
|
|
1681
1680
|
* you to specify the fully qualified Amazon Resource Name (ARN) of the IAM
|
|
1682
1681
|
* user or role. </p>
|
|
1683
|
-
*
|
|
1682
|
+
* </li>
|
|
1684
1683
|
* </ul>
|
|
1685
1684
|
* <p>For more information about IAM ARNs, wildcards, and formats, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM
|
|
1686
1685
|
* Identifiers</a> in the <i>IAM User Guide</i>.</p>
|
|
1687
|
-
*
|
|
1688
|
-
* </note>
|
|
1686
|
+
* </note>
|
|
1689
1687
|
*/
|
|
1690
1688
|
approvalRuleTemplateContent: string | undefined;
|
|
1691
1689
|
/**
|
|
@@ -1721,9 +1719,8 @@ export declare class InvalidApprovalRuleTemplateContentException extends __BaseE
|
|
|
1721
1719
|
/**
|
|
1722
1720
|
* @public
|
|
1723
1721
|
* <p>The description for the approval rule template is not valid because it exceeds the
|
|
1724
|
-
* maximum characters allowed for a description. For more information about limits in
|
|
1725
|
-
*
|
|
1726
|
-
* Guide</a>.</p>
|
|
1722
|
+
* maximum characters allowed for a description. For more information about limits in CodeCommit,
|
|
1723
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
1727
1724
|
*/
|
|
1728
1725
|
export declare class InvalidApprovalRuleTemplateDescriptionException extends __BaseException {
|
|
1729
1726
|
readonly name: "InvalidApprovalRuleTemplateDescriptionException";
|
|
@@ -1735,7 +1732,7 @@ export declare class InvalidApprovalRuleTemplateDescriptionException extends __B
|
|
|
1735
1732
|
}
|
|
1736
1733
|
/**
|
|
1737
1734
|
* @public
|
|
1738
|
-
* <p>The maximum number of approval rule templates has been exceeded for this
|
|
1735
|
+
* <p>The maximum number of approval rule templates has been exceeded for this Amazon Web Services Region. </p>
|
|
1739
1736
|
*/
|
|
1740
1737
|
export declare class NumberOfRuleTemplatesExceededException extends __BaseException {
|
|
1741
1738
|
readonly name: "NumberOfRuleTemplatesExceededException";
|
|
@@ -2364,10 +2361,10 @@ export interface CreatePullRequestInput {
|
|
|
2364
2361
|
* the request cannot be repeated with a changed parameter. If a request is received with
|
|
2365
2362
|
* the same parameters and a token is included, the request returns information about the
|
|
2366
2363
|
* initial request that used that token.</p>
|
|
2367
|
-
*
|
|
2368
|
-
* <p>The
|
|
2364
|
+
* <note>
|
|
2365
|
+
* <p>The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an
|
|
2369
2366
|
* idempotency token is created for you.</p>
|
|
2370
|
-
*
|
|
2367
|
+
* </note>
|
|
2371
2368
|
*/
|
|
2372
2369
|
clientRequestToken?: string;
|
|
2373
2370
|
}
|
|
@@ -2569,7 +2566,7 @@ export declare class InvalidDescriptionException extends __BaseException {
|
|
|
2569
2566
|
/**
|
|
2570
2567
|
* @public
|
|
2571
2568
|
* <p>The specified reference name format is not valid. Reference names must conform to the
|
|
2572
|
-
* Git references format (for example, refs/heads/
|
|
2569
|
+
* Git references format (for example, refs/heads/main). For more information, see <a href="https://git-scm.com/book/en/v2/Git-Internals-Git-References">Git Internals -
|
|
2573
2570
|
* Git References</a> or consult your Git documentation.</p>
|
|
2574
2571
|
*/
|
|
2575
2572
|
export declare class InvalidReferenceNameException extends __BaseException {
|
|
@@ -2744,48 +2741,47 @@ export interface CreatePullRequestApprovalRuleInput {
|
|
|
2744
2741
|
/**
|
|
2745
2742
|
* @public
|
|
2746
2743
|
* <p>The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information
|
|
2747
|
-
* about approval pools, see the
|
|
2748
|
-
*
|
|
2744
|
+
* about approval pools, see the CodeCommit User Guide.</p>
|
|
2745
|
+
* <note>
|
|
2749
2746
|
* <p>When you create the content of the approval rule, you can specify approvers in an
|
|
2750
2747
|
* approval pool in one of two ways:</p>
|
|
2751
2748
|
* <ul>
|
|
2752
2749
|
* <li>
|
|
2753
|
-
*
|
|
2750
|
+
* <p>
|
|
2754
2751
|
* <b>CodeCommitApprovers</b>: This option only
|
|
2755
|
-
* requires an
|
|
2752
|
+
* requires an Amazon Web Services account and a resource. It can be used for both IAM users
|
|
2756
2753
|
* and federated access users whose name matches the provided resource name.
|
|
2757
2754
|
* This is a very powerful option that offers a great deal of flexibility. For
|
|
2758
|
-
* example, if you specify the
|
|
2755
|
+
* example, if you specify the Amazon Web Services account <i>123456789012</i>
|
|
2759
2756
|
* and <i>Mary_Major</i>, all of the following would be counted
|
|
2760
2757
|
* as approvals coming from that user:</p>
|
|
2761
|
-
*
|
|
2758
|
+
* <ul>
|
|
2762
2759
|
* <li>
|
|
2763
|
-
*
|
|
2760
|
+
* <p>An IAM user in the account
|
|
2764
2761
|
* (arn:aws:iam::<i>123456789012</i>:user/<i>Mary_Major</i>)</p>
|
|
2765
|
-
*
|
|
2762
|
+
* </li>
|
|
2766
2763
|
* <li>
|
|
2767
|
-
*
|
|
2764
|
+
* <p>A federated user identified in IAM as Mary_Major
|
|
2768
2765
|
* (arn:aws:sts::<i>123456789012</i>:federated-user/<i>Mary_Major</i>)</p>
|
|
2769
|
-
*
|
|
2766
|
+
* </li>
|
|
2770
2767
|
* </ul>
|
|
2771
|
-
*
|
|
2768
|
+
* <p>This option does not recognize an active session of someone assuming the
|
|
2772
2769
|
* role of CodeCommitReview with a role session name of
|
|
2773
2770
|
* <i>Mary_Major</i>
|
|
2774
2771
|
* (arn:aws:sts::<i>123456789012</i>:assumed-role/CodeCommitReview/<i>Mary_Major</i>)
|
|
2775
2772
|
* unless you include a wildcard (*Mary_Major).</p>
|
|
2776
|
-
*
|
|
2773
|
+
* </li>
|
|
2777
2774
|
* <li>
|
|
2778
|
-
*
|
|
2775
|
+
* <p>
|
|
2779
2776
|
* <b>Fully qualified ARN</b>: This option allows
|
|
2780
2777
|
* you to specify the fully qualified Amazon Resource Name (ARN) of the IAM
|
|
2781
2778
|
* user or role. </p>
|
|
2782
|
-
*
|
|
2779
|
+
* </li>
|
|
2783
2780
|
* </ul>
|
|
2784
2781
|
* <p>For more information about IAM ARNs, wildcards, and formats, see
|
|
2785
2782
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM
|
|
2786
2783
|
* Identifiers</a> in the <i>IAM User Guide</i>.</p>
|
|
2787
|
-
*
|
|
2788
|
-
* </note>
|
|
2784
|
+
* </note>
|
|
2789
2785
|
*/
|
|
2790
2786
|
approvalRuleContent: string | undefined;
|
|
2791
2787
|
}
|
|
@@ -2891,11 +2887,11 @@ export interface CreateRepositoryInput {
|
|
|
2891
2887
|
/**
|
|
2892
2888
|
* @public
|
|
2893
2889
|
* <p>The name of the new repository to be created.</p>
|
|
2894
|
-
*
|
|
2895
|
-
* <p>The repository name must be unique across the calling
|
|
2890
|
+
* <note>
|
|
2891
|
+
* <p>The repository name must be unique across the calling Amazon Web Services account. Repository names
|
|
2896
2892
|
* are limited to 100 alphanumeric, dash, and underscore characters, and cannot include
|
|
2897
2893
|
* certain characters. For more information about the limits on repository names, see
|
|
2898
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">
|
|
2894
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>. The
|
|
2899
2895
|
* suffix .git is prohibited.</p>
|
|
2900
2896
|
* </note>
|
|
2901
2897
|
*/
|
|
@@ -2903,7 +2899,7 @@ export interface CreateRepositoryInput {
|
|
|
2903
2899
|
/**
|
|
2904
2900
|
* @public
|
|
2905
2901
|
* <p>A comment or description about the new repository.</p>
|
|
2906
|
-
*
|
|
2902
|
+
* <note>
|
|
2907
2903
|
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
2908
2904
|
* Unicode characters. Applications that do not HTML-encode the description and display
|
|
2909
2905
|
* it in a webpage can expose users to potentially malicious code. Make sure that you
|
|
@@ -3003,7 +2999,7 @@ export declare class TagPolicyException extends __BaseException {
|
|
|
3003
2999
|
}
|
|
3004
3000
|
/**
|
|
3005
3001
|
* @public
|
|
3006
|
-
* <p>The maximum number of tags for an
|
|
3002
|
+
* <p>The maximum number of tags for an CodeCommit resource has been exceeded.</p>
|
|
3007
3003
|
*/
|
|
3008
3004
|
export declare class TooManyTagsException extends __BaseException {
|
|
3009
3005
|
readonly name: "TooManyTagsException";
|
|
@@ -3562,7 +3558,7 @@ export interface DeletePullRequestApprovalRuleOutput {
|
|
|
3562
3558
|
/**
|
|
3563
3559
|
* @public
|
|
3564
3560
|
* <p>The ID of the deleted approval rule. </p>
|
|
3565
|
-
*
|
|
3561
|
+
* <note>
|
|
3566
3562
|
* <p>If the approval rule was deleted in an earlier API call, the response is 200 OK without
|
|
3567
3563
|
* content.</p>
|
|
3568
3564
|
* </note>
|
|
@@ -4065,8 +4061,8 @@ export interface GetApprovalRuleTemplateOutput {
|
|
|
4065
4061
|
}
|
|
4066
4062
|
/**
|
|
4067
4063
|
* @public
|
|
4068
|
-
* <p>The specified file exceeds the file size limit for
|
|
4069
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">
|
|
4064
|
+
* <p>The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see
|
|
4065
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
4070
4066
|
*/
|
|
4071
4067
|
export declare class FileTooLargeException extends __BaseException {
|
|
4072
4068
|
readonly name: "FileTooLargeException";
|
|
@@ -4190,7 +4186,7 @@ export interface GetCommentReactionsInput {
|
|
|
4190
4186
|
}
|
|
4191
4187
|
/**
|
|
4192
4188
|
* @public
|
|
4193
|
-
* <p>Information about the values for reactions to a comment.
|
|
4189
|
+
* <p>Information about the values for reactions to a comment. CodeCommit supports a limited set of reactions.</p>
|
|
4194
4190
|
*/
|
|
4195
4191
|
export interface ReactionValueFormats {
|
|
4196
4192
|
/**
|
|
@@ -4396,17 +4392,20 @@ export interface GetCommentsForPullRequestInput {
|
|
|
4396
4392
|
pullRequestId: string | undefined;
|
|
4397
4393
|
/**
|
|
4398
4394
|
* @public
|
|
4399
|
-
* <p>The name of the repository that contains the pull request
|
|
4395
|
+
* <p>The name of the repository that contains the pull request. Requirement is conditional: <code>repositoryName</code> must be specified when
|
|
4396
|
+
* <code>beforeCommitId</code> and <code>afterCommitId</code> are included.</p>
|
|
4400
4397
|
*/
|
|
4401
4398
|
repositoryName?: string;
|
|
4402
4399
|
/**
|
|
4403
4400
|
* @public
|
|
4404
|
-
* <p>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created
|
|
4401
|
+
* <p>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional:
|
|
4402
|
+
* <code>beforeCommitId</code> must be specified when <code>repositoryName</code> is included.</p>
|
|
4405
4403
|
*/
|
|
4406
4404
|
beforeCommitId?: string;
|
|
4407
4405
|
/**
|
|
4408
4406
|
* @public
|
|
4409
|
-
* <p>The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made
|
|
4407
|
+
* <p>The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional:
|
|
4408
|
+
* <code>afterCommitId</code> must be specified when <code>repositoryName</code> is included.</p>
|
|
4410
4409
|
*/
|
|
4411
4410
|
afterCommitId?: string;
|
|
4412
4411
|
/**
|
|
@@ -4653,7 +4652,7 @@ export interface GetFileInput {
|
|
|
4653
4652
|
* @public
|
|
4654
4653
|
* <p>The fully quaified reference that identifies the commit that contains the file. For
|
|
4655
4654
|
* example, you can specify a full commit ID, a tag, a branch name, or a reference such as
|
|
4656
|
-
* refs/heads/
|
|
4655
|
+
* refs/heads/main. If none is provided, the head commit is used.</p>
|
|
4657
4656
|
*/
|
|
4658
4657
|
commitSpecifier?: string;
|
|
4659
4658
|
/**
|
|
@@ -4687,11 +4686,11 @@ export interface GetFileOutput {
|
|
|
4687
4686
|
/**
|
|
4688
4687
|
* @public
|
|
4689
4688
|
* <p>The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.</p>
|
|
4690
|
-
*
|
|
4689
|
+
* <note>
|
|
4691
4690
|
* <p>The file mode permissions returned by this API are not the standard file mode
|
|
4692
4691
|
* permission values, such as 100644, but rather extrapolated values. See the supported
|
|
4693
4692
|
* return values.</p>
|
|
4694
|
-
*
|
|
4693
|
+
* </note>
|
|
4695
4694
|
*/
|
|
4696
4695
|
fileMode: FileModeTypeEnum | string | undefined;
|
|
4697
4696
|
/**
|
|
@@ -5244,7 +5243,12 @@ export declare const RepositoryTriggerEventEnum: {
|
|
|
5244
5243
|
export type RepositoryTriggerEventEnum = (typeof RepositoryTriggerEventEnum)[keyof typeof RepositoryTriggerEventEnum];
|
|
5245
5244
|
/**
|
|
5246
5245
|
* @public
|
|
5247
|
-
* <p>Information about a trigger for a repository
|
|
5246
|
+
* <p>Information about a trigger for a repository. </p>
|
|
5247
|
+
* <note>
|
|
5248
|
+
* <p>If you want to receive notifications about repository events, consider using notifications instead of
|
|
5249
|
+
* triggers. For more information, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-repository-email.html">Configuring
|
|
5250
|
+
* notifications for repository events</a>.</p>
|
|
5251
|
+
* </note>
|
|
5248
5252
|
*/
|
|
5249
5253
|
export interface RepositoryTrigger {
|
|
5250
5254
|
/**
|
|
@@ -5268,9 +5272,9 @@ export interface RepositoryTrigger {
|
|
|
5268
5272
|
* @public
|
|
5269
5273
|
* <p>The branches to be included in the trigger configuration. If you specify an empty
|
|
5270
5274
|
* array, the trigger applies to all branches.</p>
|
|
5271
|
-
*
|
|
5275
|
+
* <note>
|
|
5272
5276
|
* <p>Although no content is required in the array, you must include the array itself.</p>
|
|
5273
|
-
*
|
|
5277
|
+
* </note>
|
|
5274
5278
|
*/
|
|
5275
5279
|
branches?: string[];
|
|
5276
5280
|
/**
|
|
@@ -5323,7 +5327,7 @@ export interface ListApprovalRuleTemplatesInput {
|
|
|
5323
5327
|
export interface ListApprovalRuleTemplatesOutput {
|
|
5324
5328
|
/**
|
|
5325
5329
|
* @public
|
|
5326
|
-
* <p>The names of all the approval rule templates found in the
|
|
5330
|
+
* <p>The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services account.</p>
|
|
5327
5331
|
*/
|
|
5328
5332
|
approvalRuleTemplateNames?: string[];
|
|
5329
5333
|
/**
|
|
@@ -5400,6 +5404,80 @@ export interface ListBranchesOutput {
|
|
|
5400
5404
|
*/
|
|
5401
5405
|
nextToken?: string;
|
|
5402
5406
|
}
|
|
5407
|
+
/**
|
|
5408
|
+
* @public
|
|
5409
|
+
*/
|
|
5410
|
+
export interface ListFileCommitHistoryRequest {
|
|
5411
|
+
/**
|
|
5412
|
+
* @public
|
|
5413
|
+
* <p>The name of the repository that contains the file.</p>
|
|
5414
|
+
*/
|
|
5415
|
+
repositoryName: string | undefined;
|
|
5416
|
+
/**
|
|
5417
|
+
* @public
|
|
5418
|
+
* <p>The fully quaified reference that identifies the commit that contains the file. For
|
|
5419
|
+
* example, you can specify a full commit ID, a tag, a branch name, or a reference such as
|
|
5420
|
+
* <code>refs/heads/main</code>. If none is provided, the head commit is used.</p>
|
|
5421
|
+
*/
|
|
5422
|
+
commitSpecifier?: string;
|
|
5423
|
+
/**
|
|
5424
|
+
* @public
|
|
5425
|
+
* <p>The full path of the file whose history you want to retrieve, including the name of the file.</p>
|
|
5426
|
+
*/
|
|
5427
|
+
filePath: string | undefined;
|
|
5428
|
+
/**
|
|
5429
|
+
* @public
|
|
5430
|
+
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
5431
|
+
*/
|
|
5432
|
+
maxResults?: number;
|
|
5433
|
+
/**
|
|
5434
|
+
* @public
|
|
5435
|
+
* <p>An enumeration token that allows the operation to batch the results.</p>
|
|
5436
|
+
*/
|
|
5437
|
+
nextToken?: string;
|
|
5438
|
+
}
|
|
5439
|
+
/**
|
|
5440
|
+
* @public
|
|
5441
|
+
* <p>Information about a version of a file.</p>
|
|
5442
|
+
*/
|
|
5443
|
+
export interface FileVersion {
|
|
5444
|
+
/**
|
|
5445
|
+
* @public
|
|
5446
|
+
* <p>Returns information about a specific commit.</p>
|
|
5447
|
+
*/
|
|
5448
|
+
commit?: Commit;
|
|
5449
|
+
/**
|
|
5450
|
+
* @public
|
|
5451
|
+
* <p>The blob ID of the object that represents the content of the file in this version.</p>
|
|
5452
|
+
*/
|
|
5453
|
+
blobId?: string;
|
|
5454
|
+
/**
|
|
5455
|
+
* @public
|
|
5456
|
+
* <p>The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will
|
|
5457
|
+
* vary between file versions if a file is renamed or if its path changes.</p>
|
|
5458
|
+
*/
|
|
5459
|
+
path?: string;
|
|
5460
|
+
/**
|
|
5461
|
+
* @public
|
|
5462
|
+
* <p>An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.</p>
|
|
5463
|
+
*/
|
|
5464
|
+
revisionChildren?: string[];
|
|
5465
|
+
}
|
|
5466
|
+
/**
|
|
5467
|
+
* @public
|
|
5468
|
+
*/
|
|
5469
|
+
export interface ListFileCommitHistoryResponse {
|
|
5470
|
+
/**
|
|
5471
|
+
* @public
|
|
5472
|
+
* <p>An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.</p>
|
|
5473
|
+
*/
|
|
5474
|
+
revisionDag: FileVersion[] | undefined;
|
|
5475
|
+
/**
|
|
5476
|
+
* @public
|
|
5477
|
+
* <p>An enumeration token that can be used to return the next batch of results.</p>
|
|
5478
|
+
*/
|
|
5479
|
+
nextToken?: string;
|
|
5480
|
+
}
|
|
5403
5481
|
/**
|
|
5404
5482
|
* @public
|
|
5405
5483
|
* <p>The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the author of the pull request, and then try again.</p>
|
|
@@ -5456,42 +5534,3 @@ export interface ListPullRequestsInput {
|
|
|
5456
5534
|
*/
|
|
5457
5535
|
maxResults?: number;
|
|
5458
5536
|
}
|
|
5459
|
-
/**
|
|
5460
|
-
* @public
|
|
5461
|
-
*/
|
|
5462
|
-
export interface ListPullRequestsOutput {
|
|
5463
|
-
/**
|
|
5464
|
-
* @public
|
|
5465
|
-
* <p>The system-generated IDs of the pull requests.</p>
|
|
5466
|
-
*/
|
|
5467
|
-
pullRequestIds: string[] | undefined;
|
|
5468
|
-
/**
|
|
5469
|
-
* @public
|
|
5470
|
-
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
5471
|
-
*/
|
|
5472
|
-
nextToken?: string;
|
|
5473
|
-
}
|
|
5474
|
-
/**
|
|
5475
|
-
* @public
|
|
5476
|
-
* <p>The specified sort order is not valid.</p>
|
|
5477
|
-
*/
|
|
5478
|
-
export declare class InvalidOrderException extends __BaseException {
|
|
5479
|
-
readonly name: "InvalidOrderException";
|
|
5480
|
-
readonly $fault: "client";
|
|
5481
|
-
/**
|
|
5482
|
-
* @internal
|
|
5483
|
-
*/
|
|
5484
|
-
constructor(opts: __ExceptionOptionType<InvalidOrderException, __BaseException>);
|
|
5485
|
-
}
|
|
5486
|
-
/**
|
|
5487
|
-
* @public
|
|
5488
|
-
* <p>The specified sort by value is not valid.</p>
|
|
5489
|
-
*/
|
|
5490
|
-
export declare class InvalidSortByException extends __BaseException {
|
|
5491
|
-
readonly name: "InvalidSortByException";
|
|
5492
|
-
readonly $fault: "client";
|
|
5493
|
-
/**
|
|
5494
|
-
* @internal
|
|
5495
|
-
*/
|
|
5496
|
-
constructor(opts: __ExceptionOptionType<InvalidSortByException, __BaseException>);
|
|
5497
|
-
}
|