Skip to content

Commit d57dcd2

Browse files
author
awstools
committed
feat(client-codecommit): Add new ListFileCommitHistory operation to retrieve commits which introduced changes to a specific file.
1 parent 2cdf852 commit d57dcd2

File tree

83 files changed

+2597
-2437
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+2597
-2437
lines changed

clients/client-codecommit/README.md

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,32 @@
66

77
AWS SDK for JavaScript CodeCommit Client for Node.js, Browser and React Native.
88

9-
<fullname>AWS CodeCommit</fullname>
10-
11-
<p>This is the <i>AWS CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
12-
AWS CodeCommit API along with usage examples.</p>
13-
<p>You can use the AWS CodeCommit API to work with the following objects:</p>
9+
<fullname>CodeCommit</fullname>
1410

11+
<p>This is the <i>CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
12+
CodeCommit API along with usage examples.</p>
13+
<p>You can use the CodeCommit API to work with the following objects:</p>
1514
<p>Repositories, by calling the following:</p>
1615
<ul>
1716
<li>
1817
<p>
19-
<a>BatchGetRepositories</a>, which returns information about one or more repositories associated with your AWS account.</p>
18+
<a>BatchGetRepositories</a>, which returns information about one or more repositories associated with your Amazon Web Services account.</p>
2019
</li>
2120
<li>
2221
<p>
23-
<a>CreateRepository</a>, which creates an AWS CodeCommit repository.</p>
22+
<a>CreateRepository</a>, which creates an CodeCommit repository.</p>
2423
</li>
2524
<li>
2625
<p>
27-
<a>DeleteRepository</a>, which deletes an AWS CodeCommit repository.</p>
26+
<a>DeleteRepository</a>, which deletes an CodeCommit repository.</p>
2827
</li>
2928
<li>
3029
<p>
3130
<a>GetRepository</a>, which returns information about a specified repository.</p>
3231
</li>
3332
<li>
3433
<p>
35-
<a>ListRepositories</a>, which lists all AWS CodeCommit repositories associated with your AWS account.</p>
34+
<a>ListRepositories</a>, which lists all CodeCommit repositories associated with your Amazon Web Services account.</p>
3635
</li>
3736
<li>
3837
<p>
@@ -46,7 +45,6 @@ repository can access it until you send them the new HTTPS or SSH URL to
4645
use.</p>
4746
</li>
4847
</ul>
49-
5048
<p>Branches, by calling the following:</p>
5149
<ul>
5250
<li>
@@ -71,7 +69,6 @@ repository.</p>
7169
<a>UpdateDefaultBranch</a>, which changes the default branch for a repository.</p>
7270
</li>
7371
</ul>
74-
7572
<p>Files, by calling the following:</p>
7673
<ul>
7774
<li>
@@ -93,10 +90,13 @@ individual Git blob object in a repository.</p>
9390
</li>
9491
<li>
9592
<p>
93+
<a>ListFileCommitHistory</a>, which retrieves a list of commits and changes to a specified file. </p>
94+
</li>
95+
<li>
96+
<p>
9697
<a>PutFile</a>, which adds or modifies a single file in a specified repository and branch.</p>
9798
</li>
9899
</ul>
99-
100100
<p>Commits, by calling the following:</p>
101101
<ul>
102102
<li>
@@ -119,7 +119,6 @@ differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID,
119119
or other fully qualified reference).</p>
120120
</li>
121121
</ul>
122-
123122
<p>Merges, by calling the following:</p>
124123
<ul>
125124
<li>
@@ -139,15 +138,13 @@ of a file in a potential merge.</p>
139138
<li>
140139
<p>
141140
<a>GetMergeCommit</a>, which returns information about the merge between a source and destination commit. </p>
142-
143141
</li>
144142
<li>
145143
<p>
146144
<a>GetMergeConflicts</a>, which returns information about merge conflicts
147145
between the source and destination branch in a pull request.</p>
148146
</li>
149147
<li>
150-
151148
<p>
152149
<a>GetMergeOptions</a>, which returns information about the available merge options between two branches or commit specifiers.</p>
153150
</li>
@@ -164,7 +161,6 @@ between the source and destination branch in a pull request.</p>
164161
<a>MergeBranchesByThreeWay</a>, which merges two branches using the three-way merge option.</p>
165162
</li>
166163
</ul>
167-
168164
<p>Pull requests, by calling the following:</p>
169165
<ul>
170166
<li>
@@ -192,7 +188,6 @@ between the source and destination branch in a pull request.</p>
192188
<a>GetCommentsForPullRequest</a>, which returns information about comments on a specified pull request.</p>
193189
</li>
194190
<li>
195-
196191
<p>
197192
<a>GetPullRequest</a>, which returns information about a specified pull request.</p>
198193
</li>
@@ -221,7 +216,7 @@ branch for that pull request using the squash merge option.</p>
221216
</li>
222217
<li>
223218
<p>
224-
<a>MergePullRequestByThreeWay</a>. which merges the source destination branch of a pull request into the specified destination
219+
<a>MergePullRequestByThreeWay</a>, which merges the source destination branch of a pull request into the specified destination
225220
branch for that pull request using the three-way merge option.</p>
226221
</li>
227222
<li>
@@ -253,21 +248,20 @@ branch for that pull request using the three-way merge option.</p>
253248
<a>UpdatePullRequestTitle</a>, which updates the title of a pull request.</p>
254249
</li>
255250
</ul>
256-
257251
<p>Approval rule templates, by calling the following:</p>
258252
<ul>
259253
<li>
260254
<p>
261255
<a>AssociateApprovalRuleTemplateWithRepository</a>, which associates a template
262256
with a specified repository. After the template is associated with a repository,
263-
AWS CodeCommit creates approval rules that match the template conditions on
257+
CodeCommit creates approval rules that match the template conditions on
264258
every pull request created in the specified repository.</p>
265259
</li>
266260
<li>
267261
<p>
268262
<a>BatchAssociateApprovalRuleTemplateWithRepositories</a>, which associates a
269263
template with one or more specified repositories. After the template is
270-
associated with a repository, AWS CodeCommit creates approval rules that match
264+
associated with a repository, CodeCommit creates approval rules that match
271265
the template conditions on every pull request created in the specified
272266
repositories.</p>
273267
</li>
@@ -281,7 +275,7 @@ created in those repositories.</p>
281275
<li>
282276
<p>
283277
<a>CreateApprovalRuleTemplate</a>, which creates a template for approval rules that can then be associated with one or more repositories
284-
in your AWS account.</p>
278+
in your Amazon Web Services account.</p>
285279
</li>
286280
<li>
287281
<p>
@@ -300,7 +294,7 @@ specified repository.</p>
300294
</li>
301295
<li>
302296
<p>
303-
<a>ListApprovalRuleTemplates</a>, which lists all approval rule templates in the AWS Region in your AWS account.</p>
297+
<a>ListApprovalRuleTemplates</a>, which lists all approval rule templates in the Amazon Web Services Region in your Amazon Web Services account.</p>
304298
</li>
305299
<li>
306300
<p>
@@ -324,7 +318,6 @@ approval rule template.</p>
324318
<a>UpdateApprovalRuleTemplateContent</a>, which updates the content of an approval rule template.</p>
325319
</li>
326320
</ul>
327-
328321
<p>Comments in a repository, by calling the following:</p>
329322
<ul>
330323
<li>
@@ -361,23 +354,21 @@ in a repository.</p>
361354
<a>UpdateComment</a>, which updates the content of a comment on a commit in a repository.</p>
362355
</li>
363356
</ul>
364-
365-
<p>Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:</p>
357+
<p>Tags used to tag resources in CodeCommit (not Git tags), by calling the following:</p>
366358
<ul>
367359
<li>
368360
<p>
369-
<a>ListTagsForResource</a>, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.</p>
361+
<a>ListTagsForResource</a>, which gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit.</p>
370362
</li>
371363
<li>
372364
<p>
373-
<a>TagResource</a>, which adds or updates tags for a resource in AWS CodeCommit.</p>
365+
<a>TagResource</a>, which adds or updates tags for a resource in CodeCommit.</p>
374366
</li>
375367
<li>
376368
<p>
377-
<a>UntagResource</a>, which removes tags for a resource in AWS CodeCommit.</p>
369+
<a>UntagResource</a>, which removes tags for a resource in CodeCommit.</p>
378370
</li>
379371
</ul>
380-
381372
<p>Triggers, by calling the following:</p>
382373
<ul>
383374
<li>
@@ -396,8 +387,7 @@ be used to create or delete triggers.</p>
396387
by sending data to the trigger target.</p>
397388
</li>
398389
</ul>
399-
400-
<p>For information about how to use AWS CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit User Guide</a>.</p>
390+
<p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">CodeCommit User Guide</a>.</p>
401391

402392
## Installing
403393

@@ -953,6 +943,14 @@ ListBranches
953943

954944
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecommit/classes/listbranchescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecommit/interfaces/listbranchescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecommit/interfaces/listbranchescommandoutput.html)
955945

946+
</details>
947+
<details>
948+
<summary>
949+
ListFileCommitHistory
950+
</summary>
951+
952+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecommit/classes/listfilecommithistorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecommit/interfaces/listfilecommithistorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecommit/interfaces/listfilecommithistorycommandoutput.html)
953+
956954
</details>
957955
<details>
958956
<summary>

0 commit comments

Comments
 (0)