You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-codeguru-reviewer/README.md
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -9,22 +9,23 @@
9
9
10
10
AWS SDK for JavaScript CodeGuruReviewer Client for Node.js, Browser and React Native.
11
11
12
-
<p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service
13
-
that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends
14
-
fixes in your Java and Python code.</p>
15
-
16
-
<p>By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer
17
-
improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the
12
+
<p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
13
+
service that uses program analysis and machine learning to detect potential defects that
14
+
are difficult for developers to find and recommends fixes in your Java and Python
15
+
code.</p>
16
+
17
+
<p>By proactively detecting and providing recommendations for addressing code defects and
18
+
implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
19
+
your code base during the code review stage. For more information about CodeGuru Reviewer, see the
18
20
<i>
19
21
<ahref="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
20
22
</p>
21
23
22
-
<p>
23
-
To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC and CodeGuru Reviewer by
24
-
creating an <i>interface VPC endpoint</i>. For more information, see
25
-
<ahref="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface
26
-
VPC endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.
27
-
</p>
24
+
<p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
25
+
between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
26
+
more information, see <ahref="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
27
+
endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User
Copy file name to clipboardExpand all lines: clients/client-codeguru-reviewer/src/CodeGuruReviewer.ts
+43-79Lines changed: 43 additions & 79 deletions
Original file line number
Diff line number
Diff line change
@@ -70,48 +70,47 @@ import {
70
70
}from"./commands/UntagResourceCommand";
71
71
72
72
/**
73
-
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service
74
-
* that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends
75
-
* fixes in your Java and Python code.</p>
73
+
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
74
+
* service that uses program analysis and machine learning to detect potential defects that
75
+
* are difficult for developers to find and recommends fixes in your Java and Python
76
+
* code.</p>
76
77
*
77
-
* <p>By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer
78
-
* improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the
79
-
* <i>
78
+
* <p>By proactively detecting and providing recommendations for addressing code defects and
79
+
* implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
80
+
* your code base during the code review stage. For more information about CodeGuru Reviewer, see the
81
+
* <i>
80
82
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
81
83
* </p>
82
84
*
83
-
* <p>
84
-
* To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC and CodeGuru Reviewer by
85
-
* creating an <i>interface VPC endpoint</i>. For more information, see
86
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface
87
-
* VPC endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.
88
-
* </p>
85
+
* <p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
86
+
* between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
87
+
* more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
88
+
* endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User
* Use to associate an Amazon Web Services CodeCommit repository or a repostory managed by
94
-
* Amazon Web Services CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a
95
-
* repository, CodeGuru Reviewer reviews source code changes in the repository's pull requests and provides
96
-
* automatic recommendations. You can view recommendations using the CodeGuru Reviewer console. For more information, see
97
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html">Recommendations in
93
+
* <p>Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services
94
+
* CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews
95
+
* source code changes in the repository's pull requests and provides automatic
96
+
* recommendations. You can view recommendations using the CodeGuru Reviewer console. For more
97
+
* information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html">Recommendations in
98
98
* Amazon CodeGuru Reviewer</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
99
-
* </p>
99
+
* </p>
100
100
*
101
-
* <p>If you associate a CodeCommit or S3 repository, it must be in the same
102
-
* Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.</p>
101
+
* <p>If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and
102
+
* Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.</p>
103
103
*
104
104
* <p>Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar
105
-
* Connections to connect to CodeGuru Reviewer. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-associate-repository.html">Associate a repository</a> in
106
-
* the <i>Amazon CodeGuru Reviewer User Guide.</i>
105
+
* Connections to connect to CodeGuru Reviewer. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-associate-repository.html">Associate a
106
+
* repository</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
107
107
* </p>
108
108
*
109
109
* <note>
110
-
* <p>
111
-
* You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with Amazon CodeGuru Reviewer. To associate
112
-
* a GitHub repository, use the console. For more information, see
* started with CodeGuru Reviewer</a> in the <i>CodeGuru Reviewer User Guide.</i>
110
+
* <p>You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with
111
+
* Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see
112
+
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html">Getting started with
113
+
* CodeGuru Reviewer</a> in the <i>CodeGuru Reviewer User Guide.</i>
115
114
* </p>
116
115
* </note>
117
116
*/
@@ -145,13 +144,10 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
145
144
}
146
145
147
146
/**
148
-
* <p>
149
-
* Use to create a code review with a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html">
150
-
* <code>CodeReviewType</code>
151
-
* </a>
152
-
* of <code>RepositoryAnalysis</code>. This type of code review analyzes all code under a specified branch in an associated repository.
153
-
* <code>PullRequest</code> code reviews are automatically triggered by a pull request.
154
-
* </p>
147
+
* <p>Use to create a code review with a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html">CodeReviewType</a> of
148
+
* <code>RepositoryAnalysis</code>. This type of code review analyzes all code under a
149
+
* specified branch in an associated repository. <code>PullRequest</code> code reviews are
150
+
* automatically triggered by a pull request.</p>
155
151
*/
156
152
publiccreateCodeReview(
157
153
args: CreateCodeReviewCommandInput,
@@ -183,7 +179,7 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
183
179
}
184
180
185
181
/**
186
-
* <p>Returns the metadata associated with the code review along with its status.</p>
182
+
* <p>Returns the metadata associated with the code review along with its status.</p>
187
183
*/
188
184
publicdescribeCodeReview(
189
185
args: DescribeCodeReviewCommandInput,
@@ -215,9 +211,7 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
215
211
}
216
212
217
213
/**
218
-
* <p>
219
-
* Describes the customer feedback for a CodeGuru Reviewer recommendation.
220
-
* </p>
214
+
* <p>Describes the customer feedback for a CodeGuru Reviewer recommendation.</p>
221
215
*/
222
216
publicdescribeRecommendationFeedback(
223
217
args: DescribeRecommendationFeedbackCommandInput,
@@ -249,12 +243,8 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
249
243
}
250
244
251
245
/**
252
-
* <p>
253
-
* Returns a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">
254
-
* <code>RepositoryAssociation</code>
255
-
* </a> object
256
-
* that contains information about the requested repository association.
257
-
* </p>
246
+
* <p>Returns a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object that contains information about the requested
247
+
* repository association.</p>
258
248
*/
259
249
publicdescribeRepositoryAssociation(
260
250
args: DescribeRepositoryAssociationCommandInput,
@@ -318,9 +308,7 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
318
308
}
319
309
320
310
/**
321
-
* <p>
322
-
* Lists all the code reviews that the customer has created in the past 90 days.
323
-
* </p>
311
+
* <p>Lists all the code reviews that the customer has created in the past 90 days.</p>
324
312
*/
325
313
publiclistCodeReviews(
326
314
args: ListCodeReviewsCommandInput,
@@ -352,13 +340,8 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
* objects that contain customer recommendation feedback for all CodeGuru Reviewer users.
361
-
* </p>
343
+
* <p>Returns a list of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RecommendationFeedbackSummary.html">RecommendationFeedbackSummary</a> objects that contain customer recommendation
344
+
* feedback for all CodeGuru Reviewer users.</p>
362
345
*/
363
346
publiclistRecommendationFeedback(
364
347
args: ListRecommendationFeedbackCommandInput,
@@ -390,9 +373,7 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
390
373
}
391
374
392
375
/**
393
-
* <p>
394
-
* Returns the list of all recommendations for a completed code review.
395
-
* </p>
376
+
* <p>Returns the list of all recommendations for a completed code review.</p>
396
377
*/
397
378
publiclistRecommendations(
398
379
args: ListRecommendationsCommandInput,
@@ -424,24 +405,8 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
424
405
}
425
406
426
407
/**
427
-
* <p>
428
-
* Returns a list of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html">
429
-
* <code>RepositoryAssociationSummary</code>
430
-
* </a> objects that
431
-
* contain summary information about a repository association. You can filter the returned list by
* <p>Returns a list of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html">RepositoryAssociationSummary</a> objects that contain summary information about a
409
+
* repository association. You can filter the returned list by <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-ProviderType">ProviderType</a>, <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Name">Name</a>, <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-State">State</a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Owner">Owner</a>.</p>
445
410
*/
446
411
publiclistRepositoryAssociations(
447
412
args: ListRepositoryAssociationsCommandInput,
@@ -505,9 +470,8 @@ export class CodeGuruReviewer extends CodeGuruReviewerClient {
505
470
}
506
471
507
472
/**
508
-
* <p>
509
-
* Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
510
-
* </p>
473
+
* <p>Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with
474
+
* different reactions the previous feedback is overwritten.</p>
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service
286
-
* that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends
287
-
* fixes in your Java and Python code.</p>
285
+
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
286
+
* service that uses program analysis and machine learning to detect potential defects that
287
+
* are difficult for developers to find and recommends fixes in your Java and Python
288
+
* code.</p>
288
289
*
289
-
* <p>By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer
290
-
* improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the
291
-
* <i>
290
+
* <p>By proactively detecting and providing recommendations for addressing code defects and
291
+
* implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
292
+
* your code base during the code review stage. For more information about CodeGuru Reviewer, see the
293
+
* <i>
292
294
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
293
295
* </p>
294
296
*
295
-
* <p>
296
-
* To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC and CodeGuru Reviewer by
297
-
* creating an <i>interface VPC endpoint</i>. For more information, see
298
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface
299
-
* VPC endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.
300
-
* </p>
297
+
* <p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
298
+
* between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
299
+
* more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
300
+
* endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User
0 commit comments