@aws-sdk/client-codecommit 3.388.0 → 3.395.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.
Files changed (130) hide show
  1. package/README.md +30 -32
  2. package/dist-cjs/CodeCommit.js +2 -0
  3. package/dist-cjs/CodeCommitClient.js +4 -2
  4. package/dist-cjs/clientConfiguration.js +2 -0
  5. package/dist-cjs/commands/ListFileCommitHistoryCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +1 -0
  7. package/dist-cjs/endpoint/ruleset.js +3 -3
  8. package/dist-cjs/models/models_0.js +1 -27
  9. package/dist-cjs/models/models_1.js +27 -1
  10. package/dist-cjs/pagination/ListFileCommitHistoryPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_json1_1.js +85 -6
  13. package/dist-cjs/runtimeConfig.shared.js +1 -0
  14. package/dist-cjs/runtimeExtensions.js +16 -0
  15. package/dist-es/CodeCommit.js +2 -0
  16. package/dist-es/CodeCommitClient.js +4 -2
  17. package/dist-es/clientConfiguration.js +1 -0
  18. package/dist-es/commands/ListFileCommitHistoryCommand.js +42 -0
  19. package/dist-es/commands/index.js +1 -0
  20. package/dist-es/endpoint/ruleset.js +3 -3
  21. package/dist-es/models/models_0.js +0 -24
  22. package/dist-es/models/models_1.js +24 -0
  23. package/dist-es/pagination/ListFileCommitHistoryPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_json1_1.js +79 -2
  26. package/dist-es/runtimeConfig.shared.js +1 -0
  27. package/dist-es/runtimeExtensions.js +12 -0
  28. package/dist-types/CodeCommit.d.ts +100 -109
  29. package/dist-types/CodeCommitClient.d.ts +102 -112
  30. package/dist-types/clientConfiguration.d.ts +6 -0
  31. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +4 -6
  32. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +3 -4
  33. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +12 -13
  34. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +3 -4
  35. package/dist-types/commands/BatchGetCommitsCommand.d.ts +1 -2
  36. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +2 -3
  37. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +7 -9
  38. package/dist-types/commands/CreateBranchCommand.d.ts +3 -3
  39. package/dist-types/commands/CreateCommitCommand.d.ts +6 -7
  40. package/dist-types/commands/CreatePullRequestCommand.d.ts +4 -5
  41. package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -3
  42. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +8 -9
  43. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +2 -3
  44. package/dist-types/commands/DeleteBranchCommand.d.ts +1 -2
  45. package/dist-types/commands/DeleteFileCommand.d.ts +1 -2
  46. package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -3
  47. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +12 -13
  48. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +7 -7
  49. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -6
  50. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +3 -4
  51. package/dist-types/commands/GetBlobCommand.d.ts +3 -4
  52. package/dist-types/commands/GetBranchCommand.d.ts +1 -2
  53. package/dist-types/commands/GetCommentCommand.d.ts +1 -1
  54. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +3 -4
  55. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +3 -4
  56. package/dist-types/commands/GetCommitCommand.d.ts +1 -2
  57. package/dist-types/commands/GetDifferencesCommand.d.ts +2 -3
  58. package/dist-types/commands/GetFileCommand.d.ts +4 -5
  59. package/dist-types/commands/GetFolderCommand.d.ts +3 -4
  60. package/dist-types/commands/GetMergeCommitCommand.d.ts +3 -4
  61. package/dist-types/commands/GetMergeConflictsCommand.d.ts +12 -13
  62. package/dist-types/commands/GetMergeOptionsCommand.d.ts +4 -5
  63. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +1 -1
  64. package/dist-types/commands/GetPullRequestCommand.d.ts +2 -2
  65. package/dist-types/commands/GetRepositoryCommand.d.ts +2 -4
  66. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +2 -3
  67. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +2 -2
  68. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +1 -2
  69. package/dist-types/commands/ListBranchesCommand.d.ts +1 -2
  70. package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +153 -0
  71. package/dist-types/commands/ListPullRequestsCommand.d.ts +5 -5
  72. package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -2
  73. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +3 -4
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -8
  75. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -2
  76. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +6 -7
  77. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +6 -7
  78. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +3 -4
  79. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +8 -9
  80. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +8 -9
  81. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  82. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +4 -5
  83. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +4 -5
  84. package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
  85. package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
  86. package/dist-types/commands/PutFileCommand.d.ts +3 -4
  87. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +4 -5
  88. package/dist-types/commands/TagResourceCommand.d.ts +8 -9
  89. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +4 -5
  90. package/dist-types/commands/UntagResourceCommand.d.ts +7 -9
  91. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +3 -4
  92. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +5 -7
  93. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +4 -5
  94. package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +2 -3
  96. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  97. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +2 -2
  98. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +3 -3
  99. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +2 -2
  100. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +2 -3
  101. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +4 -5
  102. package/dist-types/commands/index.d.ts +1 -0
  103. package/dist-types/index.d.ts +93 -109
  104. package/dist-types/models/models_0.d.ts +153 -114
  105. package/dist-types/models/models_1.d.ts +68 -30
  106. package/dist-types/pagination/ListFileCommitHistoryPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +1 -0
  108. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  110. package/dist-types/runtimeConfig.d.ts +1 -0
  111. package/dist-types/runtimeConfig.native.d.ts +1 -0
  112. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  113. package/dist-types/runtimeExtensions.d.ts +17 -0
  114. package/dist-types/ts3.4/CodeCommit.d.ts +17 -0
  115. package/dist-types/ts3.4/CodeCommitClient.d.ts +9 -0
  116. package/dist-types/ts3.4/clientConfiguration.d.ts +3 -0
  117. package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +42 -0
  118. package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +2 -4
  119. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  120. package/dist-types/ts3.4/models/models_0.d.ts +17 -18
  121. package/dist-types/ts3.4/models/models_1.d.ts +18 -0
  122. package/dist-types/ts3.4/pagination/ListFileCommitHistoryPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  124. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  125. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  126. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  127. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  128. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  129. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  130. package/package.json +28 -28
@@ -60,7 +60,7 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOut
60
60
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
61
61
  *
62
62
  * @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
63
- * <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template
63
+ * <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
64
64
  * was created, and then try again.</p>
65
65
  *
66
66
  * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
@@ -83,9 +83,8 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOut
83
83
  *
84
84
  * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
85
85
  * <p>The name of the approval rule template is not valid. Template names must be between 1
86
- * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
87
- * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
88
- * CodeCommit User Guide</a>.</p>
86
+ * and 100 valid characters in length. For more information about limits in CodeCommit,
87
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
89
88
  *
90
89
  * @throws {@link MaximumRepositoryNamesExceededException} (client fault)
91
90
  * <p>The maximum number of allowed repository names was exceeded. Currently, this number is 100.</p>
@@ -100,8 +100,7 @@ export interface BatchGetCommitsCommandOutput extends BatchGetCommitsOutput, __M
100
100
  *
101
101
  * @throws {@link InvalidRepositoryNameException} (client fault)
102
102
  * <p>A specified repository name is not valid.</p>
103
- *
104
- * <note>
103
+ * <note>
105
104
  * <p>This exception occurs only when a specified repository name is not valid. Other
106
105
  * exceptions occur when a required repository parameter is missing, or when a
107
106
  * specified repository does not exist.</p>
@@ -24,7 +24,7 @@ export interface BatchGetRepositoriesCommandOutput extends BatchGetRepositoriesO
24
24
  /**
25
25
  * @public
26
26
  * <p>Returns information about one or more repositories.</p>
27
- * <note>
27
+ * <note>
28
28
  * <p>The description field for a repository accepts all HTML characters and all valid
29
29
  * Unicode characters. Applications that do not HTML-encode the description and display
30
30
  * it in a webpage can expose users to potentially malicious code. Make sure that you
@@ -89,8 +89,7 @@ export interface BatchGetRepositoriesCommandOutput extends BatchGetRepositoriesO
89
89
  *
90
90
  * @throws {@link InvalidRepositoryNameException} (client fault)
91
91
  * <p>A specified repository name is not valid.</p>
92
- *
93
- * <note>
92
+ * <note>
94
93
  * <p>This exception occurs only when a specified repository name is not valid. Other
95
94
  * exceptions occur when a required repository parameter is missing, or when a
96
95
  * specified repository does not exist.</p>
@@ -24,7 +24,7 @@ export interface CreateApprovalRuleTemplateCommandOutput extends CreateApprovalR
24
24
  /**
25
25
  * @public
26
26
  * <p>Creates a template for approval rules that can then be associated with one or more
27
- * repositories in your AWS account. When you associate a template with a repository, AWS
27
+ * repositories in your Amazon Web Services account. When you associate a template with a repository,
28
28
  * CodeCommit creates an approval rule that matches the conditions of the template for all
29
29
  * pull requests that meet the conditions of the template. For more information, see
30
30
  * <a>AssociateApprovalRuleTemplateWithRepository</a>.</p>
@@ -67,7 +67,7 @@ export interface CreateApprovalRuleTemplateCommandOutput extends CreateApprovalR
67
67
  *
68
68
  * @throws {@link ApprovalRuleTemplateNameAlreadyExistsException} (client fault)
69
69
  * <p>You cannot create an approval rule template with that name because a template with
70
- * that name already exists in this AWS Region for your AWS account. Approval rule template
70
+ * that name already exists in this Amazon Web Services Region for your Amazon Web Services account. Approval rule template
71
71
  * names must be unique.</p>
72
72
  *
73
73
  * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
@@ -78,18 +78,16 @@ export interface CreateApprovalRuleTemplateCommandOutput extends CreateApprovalR
78
78
  *
79
79
  * @throws {@link InvalidApprovalRuleTemplateDescriptionException} (client fault)
80
80
  * <p>The description for the approval rule template is not valid because it exceeds the
81
- * maximum characters allowed for a description. For more information about limits in AWS
82
- * CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS CodeCommit User
83
- * Guide</a>.</p>
81
+ * maximum characters allowed for a description. For more information about limits in CodeCommit,
82
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
84
83
  *
85
84
  * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
86
85
  * <p>The name of the approval rule template is not valid. Template names must be between 1
87
- * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
88
- * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
89
- * CodeCommit User Guide</a>.</p>
86
+ * and 100 valid characters in length. For more information about limits in CodeCommit,
87
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
90
88
  *
91
89
  * @throws {@link NumberOfRuleTemplatesExceededException} (client fault)
92
- * <p>The maximum number of approval rule templates has been exceeded for this AWS Region. </p>
90
+ * <p>The maximum number of approval rule templates has been exceeded for this Amazon Web Services Region. </p>
93
91
  *
94
92
  * @throws {@link CodeCommitServiceException}
95
93
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
@@ -24,7 +24,7 @@ export interface CreateBranchCommandOutput extends __MetadataBearer {
24
24
  /**
25
25
  * @public
26
26
  * <p>Creates a branch in a repository and points the branch to a commit.</p>
27
- * <note>
27
+ * <note>
28
28
  * <p>Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.</p>
29
29
  * </note>
30
30
  * @example
@@ -52,6 +52,7 @@ export interface CreateBranchCommandOutput extends __MetadataBearer {
52
52
  *
53
53
  * @throws {@link BranchNameExistsException} (client fault)
54
54
  * <p>Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name.
55
+ *
55
56
  * Branch names must be unique.</p>
56
57
  *
57
58
  * @throws {@link BranchNameRequiredException} (client fault)
@@ -86,8 +87,7 @@ export interface CreateBranchCommandOutput extends __MetadataBearer {
86
87
  *
87
88
  * @throws {@link InvalidRepositoryNameException} (client fault)
88
89
  * <p>A specified repository name is not valid.</p>
89
- *
90
- * <note>
90
+ * <note>
91
91
  * <p>This exception occurs only when a specified repository name is not valid. Other
92
92
  * exceptions occur when a required repository parameter is missing, or when a
93
93
  * specified repository does not exist.</p>
@@ -41,7 +41,7 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
41
41
  * putFiles: [ // PutFileEntries
42
42
  * { // PutFileEntry
43
43
  * filePath: "STRING_VALUE", // required
44
- * fileMode: "STRING_VALUE",
44
+ * fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
45
45
  * fileContent: "BLOB_VALUE",
46
46
  * sourceFile: { // SourceFileSpecifier
47
47
  * filePath: "STRING_VALUE", // required
@@ -57,7 +57,7 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
57
57
  * setFileModes: [ // SetFileModeEntries
58
58
  * { // SetFileModeEntry
59
59
  * filePath: "STRING_VALUE", // required
60
- * fileMode: "STRING_VALUE", // required
60
+ * fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK", // required
61
61
  * },
62
62
  * ],
63
63
  * };
@@ -70,21 +70,21 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
70
70
  * // { // FileMetadata
71
71
  * // absolutePath: "STRING_VALUE",
72
72
  * // blobId: "STRING_VALUE",
73
- * // fileMode: "STRING_VALUE",
73
+ * // fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
74
74
  * // },
75
75
  * // ],
76
76
  * // filesUpdated: [
77
77
  * // {
78
78
  * // absolutePath: "STRING_VALUE",
79
79
  * // blobId: "STRING_VALUE",
80
- * // fileMode: "STRING_VALUE",
80
+ * // fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
81
81
  * // },
82
82
  * // ],
83
83
  * // filesDeleted: [
84
84
  * // {
85
85
  * // absolutePath: "STRING_VALUE",
86
86
  * // blobId: "STRING_VALUE",
87
- * // fileMode: "STRING_VALUE",
87
+ * // fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
88
88
  * // },
89
89
  * // ],
90
90
  * // };
@@ -185,8 +185,7 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
185
185
  *
186
186
  * @throws {@link InvalidRepositoryNameException} (client fault)
187
187
  * <p>A specified repository name is not valid.</p>
188
- *
189
- * <note>
188
+ * <note>
190
189
  * <p>This exception occurs only when a specified repository name is not valid. Other
191
190
  * exceptions occur when a required repository parameter is missing, or when a
192
191
  * specified repository does not exist.</p>
@@ -51,7 +51,7 @@ export interface CreatePullRequestCommandOutput extends CreatePullRequestOutput,
51
51
  * // description: "STRING_VALUE",
52
52
  * // lastActivityDate: new Date("TIMESTAMP"),
53
53
  * // creationDate: new Date("TIMESTAMP"),
54
- * // pullRequestStatus: "STRING_VALUE",
54
+ * // pullRequestStatus: "OPEN" || "CLOSED",
55
55
  * // authorArn: "STRING_VALUE",
56
56
  * // pullRequestTargets: [ // PullRequestTargetList
57
57
  * // { // PullRequestTarget
@@ -65,7 +65,7 @@ export interface CreatePullRequestCommandOutput extends CreatePullRequestOutput,
65
65
  * // isMerged: true || false,
66
66
  * // mergedBy: "STRING_VALUE",
67
67
  * // mergeCommitId: "STRING_VALUE",
68
- * // mergeOption: "STRING_VALUE",
68
+ * // mergeOption: "FAST_FORWARD_MERGE" || "SQUASH_MERGE" || "THREE_WAY_MERGE",
69
69
  * // },
70
70
  * // },
71
71
  * // ],
@@ -132,13 +132,12 @@ export interface CreatePullRequestCommandOutput extends CreatePullRequestOutput,
132
132
  *
133
133
  * @throws {@link InvalidReferenceNameException} (client fault)
134
134
  * <p>The specified reference name format is not valid. Reference names must conform to the
135
- * Git references format (for example, refs/heads/master). For more information, see <a href="https://git-scm.com/book/en/v2/Git-Internals-Git-References">Git Internals -
135
+ * 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 -
136
136
  * Git References</a> or consult your Git documentation.</p>
137
137
  *
138
138
  * @throws {@link InvalidRepositoryNameException} (client fault)
139
139
  * <p>A specified repository name is not valid.</p>
140
- *
141
- * <note>
140
+ * <note>
142
141
  * <p>This exception occurs only when a specified repository name is not valid. Other
143
142
  * exceptions occur when a required repository parameter is missing, or when a
144
143
  * specified repository does not exist.</p>
@@ -82,8 +82,7 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryOutput, _
82
82
  *
83
83
  * @throws {@link InvalidRepositoryNameException} (client fault)
84
84
  * <p>A specified repository name is not valid.</p>
85
- *
86
- * <note>
85
+ * <note>
87
86
  * <p>This exception occurs only when a specified repository name is not valid. Other
88
87
  * exceptions occur when a required repository parameter is missing, or when a
89
88
  * specified repository does not exist.</p>
@@ -108,7 +107,7 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryOutput, _
108
107
  * <p>The tag policy is not valid.</p>
109
108
  *
110
109
  * @throws {@link TooManyTagsException} (client fault)
111
- * <p>The maximum number of tags for an AWS CodeCommit resource has been exceeded.</p>
110
+ * <p>The maximum number of tags for an CodeCommit resource has been exceeded.</p>
112
111
  *
113
112
  * @throws {@link CodeCommitServiceException}
114
113
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
@@ -27,7 +27,7 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
27
27
  * using a specified merge strategy. This can help you determine the outcome of a potential
28
28
  * merge. This API cannot be used with the fast-forward merge strategy because that
29
29
  * strategy does not create a merge commit.</p>
30
- * <note>
30
+ * <note>
31
31
  * <p>This unreferenced merge commit
32
32
  * can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.</p>
33
33
  * </note>
@@ -41,9 +41,9 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
41
41
  * repositoryName: "STRING_VALUE", // required
42
42
  * sourceCommitSpecifier: "STRING_VALUE", // required
43
43
  * destinationCommitSpecifier: "STRING_VALUE", // required
44
- * mergeOption: "STRING_VALUE", // required
45
- * conflictDetailLevel: "STRING_VALUE",
46
- * conflictResolutionStrategy: "STRING_VALUE",
44
+ * mergeOption: "FAST_FORWARD_MERGE" || "SQUASH_MERGE" || "THREE_WAY_MERGE", // required
45
+ * conflictDetailLevel: "FILE_LEVEL" || "LINE_LEVEL",
46
+ * conflictResolutionStrategy: "NONE" || "ACCEPT_SOURCE" || "ACCEPT_DESTINATION" || "AUTOMERGE",
47
47
  * authorName: "STRING_VALUE",
48
48
  * email: "STRING_VALUE",
49
49
  * commitMessage: "STRING_VALUE",
@@ -52,9 +52,9 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
52
52
  * replaceContents: [ // ReplaceContentEntries
53
53
  * { // ReplaceContentEntry
54
54
  * filePath: "STRING_VALUE", // required
55
- * replacementType: "STRING_VALUE", // required
55
+ * replacementType: "KEEP_BASE" || "KEEP_SOURCE" || "KEEP_DESTINATION" || "USE_NEW_CONTENT", // required
56
56
  * content: "BLOB_VALUE",
57
- * fileMode: "STRING_VALUE",
57
+ * fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
58
58
  * },
59
59
  * ],
60
60
  * deleteFiles: [ // DeleteFileEntries
@@ -65,7 +65,7 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
65
65
  * setFileModes: [ // SetFileModeEntries
66
66
  * { // SetFileModeEntry
67
67
  * filePath: "STRING_VALUE", // required
68
- * fileMode: "STRING_VALUE", // required
68
+ * fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK", // required
69
69
  * },
70
70
  * ],
71
71
  * },
@@ -159,8 +159,7 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
159
159
  *
160
160
  * @throws {@link InvalidRepositoryNameException} (client fault)
161
161
  * <p>A specified repository name is not valid.</p>
162
- *
163
- * <note>
162
+ * <note>
164
163
  * <p>This exception occurs only when a specified repository name is not valid. Other
165
164
  * exceptions occur when a required repository parameter is missing, or when a
166
165
  * specified repository does not exist.</p>
@@ -56,9 +56,8 @@ export interface DeleteApprovalRuleTemplateCommandOutput extends DeleteApprovalR
56
56
  *
57
57
  * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
58
58
  * <p>The name of the approval rule template is not valid. Template names must be between 1
59
- * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
60
- * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
61
- * CodeCommit User Guide</a>.</p>
59
+ * and 100 valid characters in length. For more information about limits in CodeCommit,
60
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
62
61
  *
63
62
  * @throws {@link CodeCommitServiceException}
64
63
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
@@ -77,8 +77,7 @@ export interface DeleteBranchCommandOutput extends DeleteBranchOutput, __Metadat
77
77
  *
78
78
  * @throws {@link InvalidRepositoryNameException} (client fault)
79
79
  * <p>A specified repository name is not valid.</p>
80
- *
81
- * <note>
80
+ * <note>
82
81
  * <p>This exception occurs only when a specified repository name is not valid. Other
83
82
  * exceptions occur when a required repository parameter is missing, or when a
84
83
  * specified repository does not exist.</p>
@@ -107,8 +107,7 @@ export interface DeleteFileCommandOutput extends DeleteFileOutput, __MetadataBea
107
107
  *
108
108
  * @throws {@link InvalidRepositoryNameException} (client fault)
109
109
  * <p>A specified repository name is not valid.</p>
110
- *
111
- * <note>
110
+ * <note>
112
111
  * <p>This exception occurs only when a specified repository name is not valid. Other
113
112
  * exceptions occur when a required repository parameter is missing, or when a
114
113
  * specified repository does not exist.</p>
@@ -25,7 +25,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryOutput, _
25
25
  * @public
26
26
  * <p>Deletes a repository. If a specified repository was already deleted, a null repository
27
27
  * ID is returned.</p>
28
- * <important>
28
+ * <important>
29
29
  * <p>Deleting a repository also deletes all associated objects and metadata. After a repository is
30
30
  * deleted, all future push calls to the deleted repository fail.</p>
31
31
  * </important>
@@ -69,8 +69,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryOutput, _
69
69
  *
70
70
  * @throws {@link InvalidRepositoryNameException} (client fault)
71
71
  * <p>A specified repository name is not valid.</p>
72
- *
73
- * <note>
72
+ * <note>
74
73
  * <p>This exception occurs only when a specified repository name is not valid. Other
75
74
  * exceptions occur when a required repository parameter is missing, or when a
76
75
  * specified repository does not exist.</p>
@@ -36,11 +36,11 @@ export interface DescribeMergeConflictsCommandOutput extends DescribeMergeConfli
36
36
  * repositoryName: "STRING_VALUE", // required
37
37
  * destinationCommitSpecifier: "STRING_VALUE", // required
38
38
  * sourceCommitSpecifier: "STRING_VALUE", // required
39
- * mergeOption: "STRING_VALUE", // required
39
+ * mergeOption: "FAST_FORWARD_MERGE" || "SQUASH_MERGE" || "THREE_WAY_MERGE", // required
40
40
  * maxMergeHunks: Number("int"),
41
41
  * filePath: "STRING_VALUE", // required
42
- * conflictDetailLevel: "STRING_VALUE",
43
- * conflictResolutionStrategy: "STRING_VALUE",
42
+ * conflictDetailLevel: "FILE_LEVEL" || "LINE_LEVEL",
43
+ * conflictResolutionStrategy: "NONE" || "ACCEPT_SOURCE" || "ACCEPT_DESTINATION" || "AUTOMERGE",
44
44
  * nextToken: "STRING_VALUE",
45
45
  * };
46
46
  * const command = new DescribeMergeConflictsCommand(input);
@@ -54,14 +54,14 @@ export interface DescribeMergeConflictsCommandOutput extends DescribeMergeConfli
54
54
  * // base: Number("long"),
55
55
  * // },
56
56
  * // fileModes: { // FileModes
57
- * // source: "STRING_VALUE",
58
- * // destination: "STRING_VALUE",
59
- * // base: "STRING_VALUE",
57
+ * // source: "EXECUTABLE" || "NORMAL" || "SYMLINK",
58
+ * // destination: "EXECUTABLE" || "NORMAL" || "SYMLINK",
59
+ * // base: "EXECUTABLE" || "NORMAL" || "SYMLINK",
60
60
  * // },
61
61
  * // objectTypes: { // ObjectTypes
62
- * // source: "STRING_VALUE",
63
- * // destination: "STRING_VALUE",
64
- * // base: "STRING_VALUE",
62
+ * // source: "FILE" || "DIRECTORY" || "GIT_LINK" || "SYMBOLIC_LINK",
63
+ * // destination: "FILE" || "DIRECTORY" || "GIT_LINK" || "SYMBOLIC_LINK",
64
+ * // base: "FILE" || "DIRECTORY" || "GIT_LINK" || "SYMBOLIC_LINK",
65
65
  * // },
66
66
  * // numberOfConflicts: Number("int"),
67
67
  * // isBinaryFile: { // IsBinaryFile
@@ -73,8 +73,8 @@ export interface DescribeMergeConflictsCommandOutput extends DescribeMergeConfli
73
73
  * // fileModeConflict: true || false,
74
74
  * // objectTypeConflict: true || false,
75
75
  * // mergeOperations: { // MergeOperations
76
- * // source: "STRING_VALUE",
77
- * // destination: "STRING_VALUE",
76
+ * // source: "A" || "M" || "D",
77
+ * // destination: "A" || "M" || "D",
78
78
  * // },
79
79
  * // },
80
80
  * // mergeHunks: [ // MergeHunks // required
@@ -159,8 +159,7 @@ export interface DescribeMergeConflictsCommandOutput extends DescribeMergeConfli
159
159
  *
160
160
  * @throws {@link InvalidRepositoryNameException} (client fault)
161
161
  * <p>A specified repository name is not valid.</p>
162
- *
163
- * <note>
162
+ * <note>
164
163
  * <p>This exception occurs only when a specified repository name is not valid. Other
165
164
  * exceptions occur when a required repository parameter is missing, or when a
166
165
  * specified repository does not exist.</p>
@@ -32,7 +32,7 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
32
32
  * const client = new CodeCommitClient(config);
33
33
  * const input = { // DescribePullRequestEventsInput
34
34
  * pullRequestId: "STRING_VALUE", // required
35
- * pullRequestEventType: "STRING_VALUE",
35
+ * pullRequestEventType: "PULL_REQUEST_CREATED" || "PULL_REQUEST_STATUS_CHANGED" || "PULL_REQUEST_SOURCE_REFERENCE_UPDATED" || "PULL_REQUEST_MERGE_STATE_CHANGED" || "PULL_REQUEST_APPROVAL_RULE_CREATED" || "PULL_REQUEST_APPROVAL_RULE_UPDATED" || "PULL_REQUEST_APPROVAL_RULE_DELETED" || "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN" || "PULL_REQUEST_APPROVAL_STATE_CHANGED",
36
36
  * actorArn: "STRING_VALUE",
37
37
  * nextToken: "STRING_VALUE",
38
38
  * maxResults: Number("int"),
@@ -44,7 +44,7 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
44
44
  * // { // PullRequestEvent
45
45
  * // pullRequestId: "STRING_VALUE",
46
46
  * // eventDate: new Date("TIMESTAMP"),
47
- * // pullRequestEventType: "STRING_VALUE",
47
+ * // pullRequestEventType: "PULL_REQUEST_CREATED" || "PULL_REQUEST_STATUS_CHANGED" || "PULL_REQUEST_SOURCE_REFERENCE_UPDATED" || "PULL_REQUEST_MERGE_STATE_CHANGED" || "PULL_REQUEST_APPROVAL_RULE_CREATED" || "PULL_REQUEST_APPROVAL_RULE_UPDATED" || "PULL_REQUEST_APPROVAL_RULE_DELETED" || "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN" || "PULL_REQUEST_APPROVAL_STATE_CHANGED",
48
48
  * // actorArn: "STRING_VALUE",
49
49
  * // pullRequestCreatedEventMetadata: { // PullRequestCreatedEventMetadata
50
50
  * // repositoryName: "STRING_VALUE",
@@ -53,7 +53,7 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
53
53
  * // mergeBase: "STRING_VALUE",
54
54
  * // },
55
55
  * // pullRequestStatusChangedEventMetadata: { // PullRequestStatusChangedEventMetadata
56
- * // pullRequestStatus: "STRING_VALUE",
56
+ * // pullRequestStatus: "OPEN" || "CLOSED",
57
57
  * // },
58
58
  * // pullRequestSourceReferenceUpdatedEventMetadata: { // PullRequestSourceReferenceUpdatedEventMetadata
59
59
  * // repositoryName: "STRING_VALUE",
@@ -68,7 +68,7 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
68
68
  * // isMerged: true || false,
69
69
  * // mergedBy: "STRING_VALUE",
70
70
  * // mergeCommitId: "STRING_VALUE",
71
- * // mergeOption: "STRING_VALUE",
71
+ * // mergeOption: "FAST_FORWARD_MERGE" || "SQUASH_MERGE" || "THREE_WAY_MERGE",
72
72
  * // },
73
73
  * // },
74
74
  * // approvalRuleEventMetadata: { // ApprovalRuleEventMetadata
@@ -78,11 +78,11 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
78
78
  * // },
79
79
  * // approvalStateChangedEventMetadata: { // ApprovalStateChangedEventMetadata
80
80
  * // revisionId: "STRING_VALUE",
81
- * // approvalStatus: "STRING_VALUE",
81
+ * // approvalStatus: "APPROVE" || "REVOKE",
82
82
  * // },
83
83
  * // approvalRuleOverriddenEventMetadata: { // ApprovalRuleOverriddenEventMetadata
84
84
  * // revisionId: "STRING_VALUE",
85
- * // overrideStatus: "STRING_VALUE",
85
+ * // overrideStatus: "OVERRIDE" || "REVOKE",
86
86
  * // },
87
87
  * // },
88
88
  * // ],
@@ -98,7 +98,7 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
98
98
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
99
99
  *
100
100
  * @throws {@link ActorDoesNotExistException} (client fault)
101
- * <p>The specified Amazon Resource Name (ARN) does not exist in the AWS account.</p>
101
+ * <p>The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.</p>
102
102
  *
103
103
  * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
104
104
  * <p>An encryption integrity check failed.</p>
@@ -50,7 +50,7 @@ export interface DisassociateApprovalRuleTemplateFromRepositoryCommandOutput ext
50
50
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
51
51
  *
52
52
  * @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
53
- * <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template
53
+ * <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
54
54
  * was created, and then try again.</p>
55
55
  *
56
56
  * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
@@ -73,14 +73,12 @@ export interface DisassociateApprovalRuleTemplateFromRepositoryCommandOutput ext
73
73
  *
74
74
  * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
75
75
  * <p>The name of the approval rule template is not valid. Template names must be between 1
76
- * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
77
- * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
78
- * CodeCommit User Guide</a>.</p>
76
+ * and 100 valid characters in length. For more information about limits in CodeCommit,
77
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
79
78
  *
80
79
  * @throws {@link InvalidRepositoryNameException} (client fault)
81
80
  * <p>A specified repository name is not valid.</p>
82
- *
83
- * <note>
81
+ * <note>
84
82
  * <p>This exception occurs only when a specified repository name is not valid. Other
85
83
  * exceptions occur when a required repository parameter is missing, or when a
86
84
  * specified repository does not exist.</p>
@@ -57,7 +57,7 @@ export interface GetApprovalRuleTemplateCommandOutput extends GetApprovalRuleTem
57
57
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
58
58
  *
59
59
  * @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
60
- * <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template
60
+ * <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
61
61
  * was created, and then try again.</p>
62
62
  *
63
63
  * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
@@ -65,9 +65,8 @@ export interface GetApprovalRuleTemplateCommandOutput extends GetApprovalRuleTem
65
65
  *
66
66
  * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
67
67
  * <p>The name of the approval rule template is not valid. Template names must be between 1
68
- * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
69
- * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
70
- * CodeCommit User Guide</a>.</p>
68
+ * and 100 valid characters in length. For more information about limits in CodeCommit,
69
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
71
70
  *
72
71
  * @throws {@link CodeCommitServiceException}
73
72
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
@@ -70,16 +70,15 @@ export interface GetBlobCommandOutput extends GetBlobOutput, __MetadataBearer {
70
70
  * <p>The encryption key is not available.</p>
71
71
  *
72
72
  * @throws {@link FileTooLargeException} (client fault)
73
- * <p>The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see
74
- * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS CodeCommit User Guide</a>.</p>
73
+ * <p>The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see
74
+ * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
75
75
  *
76
76
  * @throws {@link InvalidBlobIdException} (client fault)
77
77
  * <p>The specified blob is not valid.</p>
78
78
  *
79
79
  * @throws {@link InvalidRepositoryNameException} (client fault)
80
80
  * <p>A specified repository name is not valid.</p>
81
- *
82
- * <note>
81
+ * <note>
83
82
  * <p>This exception occurs only when a specified repository name is not valid. Other
84
83
  * exceptions occur when a required repository parameter is missing, or when a
85
84
  * specified repository does not exist.</p>
@@ -77,8 +77,7 @@ export interface GetBranchCommandOutput extends GetBranchOutput, __MetadataBeare
77
77
  *
78
78
  * @throws {@link InvalidRepositoryNameException} (client fault)
79
79
  * <p>A specified repository name is not valid.</p>
80
- *
81
- * <note>
80
+ * <note>
82
81
  * <p>This exception occurs only when a specified repository name is not valid. Other
83
82
  * exceptions occur when a required repository parameter is missing, or when a
84
83
  * specified repository does not exist.</p>
@@ -24,7 +24,7 @@ export interface GetCommentCommandOutput extends GetCommentOutput, __MetadataBea
24
24
  /**
25
25
  * @public
26
26
  * <p>Returns the content of a comment made on a change, file, or commit in a repository. </p>
27
- * <note>
27
+ * <note>
28
28
  * <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
29
29
  * reactions from active identities, use GetCommentReactions.</p>
30
30
  * </note>
@@ -24,7 +24,7 @@ export interface GetCommentsForComparedCommitCommandOutput extends GetCommentsFo
24
24
  /**
25
25
  * @public
26
26
  * <p>Returns information about comments made on the comparison between two commits.</p>
27
- * <note>
27
+ * <note>
28
28
  * <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
29
29
  * reactions from active identities, use GetCommentReactions.</p>
30
30
  * </note>
@@ -54,7 +54,7 @@ export interface GetCommentsForComparedCommitCommandOutput extends GetCommentsFo
54
54
  * // location: { // Location
55
55
  * // filePath: "STRING_VALUE",
56
56
  * // filePosition: Number("long"),
57
- * // relativeFileVersion: "STRING_VALUE",
57
+ * // relativeFileVersion: "BEFORE" || "AFTER",
58
58
  * // },
59
59
  * // comments: [ // Comments
60
60
  * // { // Comment
@@ -119,8 +119,7 @@ export interface GetCommentsForComparedCommitCommandOutput extends GetCommentsFo
119
119
  *
120
120
  * @throws {@link InvalidRepositoryNameException} (client fault)
121
121
  * <p>A specified repository name is not valid.</p>
122
- *
123
- * <note>
122
+ * <note>
124
123
  * <p>This exception occurs only when a specified repository name is not valid. Other
125
124
  * exceptions occur when a required repository parameter is missing, or when a
126
125
  * specified repository does not exist.</p>
@@ -24,7 +24,7 @@ export interface GetCommentsForPullRequestCommandOutput extends GetCommentsForPu
24
24
  /**
25
25
  * @public
26
26
  * <p>Returns comments made on a pull request.</p>
27
- * <note>
27
+ * <note>
28
28
  * <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
29
29
  * reactions from active identities, use GetCommentReactions.</p>
30
30
  * </note>
@@ -56,7 +56,7 @@ export interface GetCommentsForPullRequestCommandOutput extends GetCommentsForPu
56
56
  * // location: { // Location
57
57
  * // filePath: "STRING_VALUE",
58
58
  * // filePosition: Number("long"),
59
- * // relativeFileVersion: "STRING_VALUE",
59
+ * // relativeFileVersion: "BEFORE" || "AFTER",
60
60
  * // },
61
61
  * // comments: [ // Comments
62
62
  * // { // Comment
@@ -124,8 +124,7 @@ export interface GetCommentsForPullRequestCommandOutput extends GetCommentsForPu
124
124
  *
125
125
  * @throws {@link InvalidRepositoryNameException} (client fault)
126
126
  * <p>A specified repository name is not valid.</p>
127
- *
128
- * <note>
127
+ * <note>
129
128
  * <p>This exception occurs only when a specified repository name is not valid. Other
130
129
  * exceptions occur when a required repository parameter is missing, or when a
131
130
  * specified repository does not exist.</p>
@@ -92,8 +92,7 @@ export interface GetCommitCommandOutput extends GetCommitOutput, __MetadataBeare
92
92
  *
93
93
  * @throws {@link InvalidRepositoryNameException} (client fault)
94
94
  * <p>A specified repository name is not valid.</p>
95
- *
96
- * <note>
95
+ * <note>
97
96
  * <p>This exception occurs only when a specified repository name is not valid. Other
98
97
  * exceptions occur when a required repository parameter is missing, or when a
99
98
  * specified repository does not exist.</p>