@aws-sdk/client-codeguru-reviewer 3.161.0 → 3.165.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/CHANGELOG.md +24 -0
- package/README.md +13 -12
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/CodeGuruReviewer.d.ts +43 -79
- package/dist-types/CodeGuruReviewerClient.d.ts +13 -12
- package/dist-types/commands/AssociateRepositoryCommand.d.ts +14 -16
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +4 -7
- package/dist-types/commands/DescribeCodeReviewCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +1 -3
- package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +2 -6
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +1 -3
- package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +2 -7
- package/dist-types/commands/ListRecommendationsCommand.d.ts +1 -3
- package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +2 -18
- package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +2 -3
- package/dist-types/models/models_0.d.ts +344 -728
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30)
|
|
7
31
|
|
|
8
32
|
|
package/README.md
CHANGED
|
@@ -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
|
|
13
|
-
that uses program analysis and machine learning to detect potential defects that
|
|
14
|
-
fixes in your Java and Python
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
<a href="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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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 <a href="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
|
|
28
|
+
Guide</i>.</p>
|
|
28
29
|
|
|
29
30
|
## Installing
|
|
30
31
|
|
|
@@ -1539,6 +1539,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1539
1539
|
if (typeof cleanValue === "number") {
|
|
1540
1540
|
cleanValue = cleanValue.toString();
|
|
1541
1541
|
}
|
|
1542
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1543
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1544
|
+
}
|
|
1542
1545
|
if (cleanValue.indexOf(":") >= 0) {
|
|
1543
1546
|
cleanValue = cleanValue.split(":")[0];
|
|
1544
1547
|
}
|
|
@@ -1892,6 +1892,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
1892
1892
|
if (typeof cleanValue === "number") {
|
|
1893
1893
|
cleanValue = cleanValue.toString();
|
|
1894
1894
|
}
|
|
1895
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1896
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1897
|
+
}
|
|
1895
1898
|
if (cleanValue.indexOf(":") >= 0) {
|
|
1896
1899
|
cleanValue = cleanValue.split(":")[0];
|
|
1897
1900
|
}
|
|
@@ -15,48 +15,47 @@ import { PutRecommendationFeedbackCommandInput, PutRecommendationFeedbackCommand
|
|
|
15
15
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
16
16
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
17
|
/**
|
|
18
|
-
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
|
|
19
|
-
* that uses program analysis and machine learning to detect potential defects that
|
|
20
|
-
* fixes in your Java and Python
|
|
18
|
+
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
|
|
19
|
+
* service that uses program analysis and machine learning to detect potential defects that
|
|
20
|
+
* are difficult for developers to find and recommends fixes in your Java and Python
|
|
21
|
+
* code.</p>
|
|
21
22
|
*
|
|
22
|
-
* <p>By proactively detecting and providing recommendations for addressing code defects and
|
|
23
|
-
*
|
|
24
|
-
*
|
|
23
|
+
* <p>By proactively detecting and providing recommendations for addressing code defects and
|
|
24
|
+
* implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
|
|
25
|
+
* your code base during the code review stage. For more information about CodeGuru Reviewer, see the
|
|
26
|
+
* <i>
|
|
25
27
|
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
|
|
26
28
|
* </p>
|
|
27
29
|
*
|
|
28
|
-
* <p>
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* </p>
|
|
30
|
+
* <p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
|
|
31
|
+
* between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
|
|
32
|
+
* more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
|
|
33
|
+
* endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User
|
|
34
|
+
* Guide</i>.</p>
|
|
34
35
|
*/
|
|
35
36
|
export declare class CodeGuruReviewer extends CodeGuruReviewerClient {
|
|
36
37
|
/**
|
|
37
|
-
* <p>
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html">Recommendations in
|
|
38
|
+
* <p>Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services
|
|
39
|
+
* CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews
|
|
40
|
+
* source code changes in the repository's pull requests and provides automatic
|
|
41
|
+
* recommendations. You can view recommendations using the CodeGuru Reviewer console. For more
|
|
42
|
+
* information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html">Recommendations in
|
|
43
43
|
* Amazon CodeGuru Reviewer</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
|
|
44
|
-
*
|
|
44
|
+
* </p>
|
|
45
45
|
*
|
|
46
|
-
* <p>If you associate a CodeCommit or S3 repository, it must be in the same
|
|
47
|
-
* Amazon Web Services
|
|
46
|
+
* <p>If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and
|
|
47
|
+
* Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.</p>
|
|
48
48
|
*
|
|
49
49
|
* <p>Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar
|
|
50
|
-
* 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
|
|
51
|
-
*
|
|
50
|
+
* 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
|
|
51
|
+
* repository</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
|
|
52
52
|
* </p>
|
|
53
53
|
*
|
|
54
54
|
* <note>
|
|
55
|
-
* <p>
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* started with CodeGuru Reviewer</a> in the <i>CodeGuru Reviewer User Guide.</i>
|
|
55
|
+
* <p>You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with
|
|
56
|
+
* Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see
|
|
57
|
+
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html">Getting started with
|
|
58
|
+
* CodeGuru Reviewer</a> in the <i>CodeGuru Reviewer User Guide.</i>
|
|
60
59
|
* </p>
|
|
61
60
|
* </note>
|
|
62
61
|
*/
|
|
@@ -64,38 +63,29 @@ export declare class CodeGuruReviewer extends CodeGuruReviewerClient {
|
|
|
64
63
|
associateRepository(args: AssociateRepositoryCommandInput, cb: (err: any, data?: AssociateRepositoryCommandOutput) => void): void;
|
|
65
64
|
associateRepository(args: AssociateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateRepositoryCommandOutput) => void): void;
|
|
66
65
|
/**
|
|
67
|
-
* <p>
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* of <code>RepositoryAnalysis</code>. This type of code review analyzes all code under a specified branch in an associated repository.
|
|
72
|
-
* <code>PullRequest</code> code reviews are automatically triggered by a pull request.
|
|
73
|
-
* </p>
|
|
66
|
+
* <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
|
|
67
|
+
* <code>RepositoryAnalysis</code>. This type of code review analyzes all code under a
|
|
68
|
+
* specified branch in an associated repository. <code>PullRequest</code> code reviews are
|
|
69
|
+
* automatically triggered by a pull request.</p>
|
|
74
70
|
*/
|
|
75
71
|
createCodeReview(args: CreateCodeReviewCommandInput, options?: __HttpHandlerOptions): Promise<CreateCodeReviewCommandOutput>;
|
|
76
72
|
createCodeReview(args: CreateCodeReviewCommandInput, cb: (err: any, data?: CreateCodeReviewCommandOutput) => void): void;
|
|
77
73
|
createCodeReview(args: CreateCodeReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeReviewCommandOutput) => void): void;
|
|
78
74
|
/**
|
|
79
|
-
* <p>
|
|
75
|
+
* <p>Returns the metadata associated with the code review along with its status.</p>
|
|
80
76
|
*/
|
|
81
77
|
describeCodeReview(args: DescribeCodeReviewCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCodeReviewCommandOutput>;
|
|
82
78
|
describeCodeReview(args: DescribeCodeReviewCommandInput, cb: (err: any, data?: DescribeCodeReviewCommandOutput) => void): void;
|
|
83
79
|
describeCodeReview(args: DescribeCodeReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCodeReviewCommandOutput) => void): void;
|
|
84
80
|
/**
|
|
85
|
-
* <p>
|
|
86
|
-
* Describes the customer feedback for a CodeGuru Reviewer recommendation.
|
|
87
|
-
* </p>
|
|
81
|
+
* <p>Describes the customer feedback for a CodeGuru Reviewer recommendation.</p>
|
|
88
82
|
*/
|
|
89
83
|
describeRecommendationFeedback(args: DescribeRecommendationFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRecommendationFeedbackCommandOutput>;
|
|
90
84
|
describeRecommendationFeedback(args: DescribeRecommendationFeedbackCommandInput, cb: (err: any, data?: DescribeRecommendationFeedbackCommandOutput) => void): void;
|
|
91
85
|
describeRecommendationFeedback(args: DescribeRecommendationFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRecommendationFeedbackCommandOutput) => void): void;
|
|
92
86
|
/**
|
|
93
|
-
* <p>
|
|
94
|
-
*
|
|
95
|
-
* <code>RepositoryAssociation</code>
|
|
96
|
-
* </a> object
|
|
97
|
-
* that contains information about the requested repository association.
|
|
98
|
-
* </p>
|
|
87
|
+
* <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
|
|
88
|
+
* repository association.</p>
|
|
99
89
|
*/
|
|
100
90
|
describeRepositoryAssociation(args: DescribeRepositoryAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRepositoryAssociationCommandOutput>;
|
|
101
91
|
describeRepositoryAssociation(args: DescribeRepositoryAssociationCommandInput, cb: (err: any, data?: DescribeRepositoryAssociationCommandOutput) => void): void;
|
|
@@ -107,52 +97,27 @@ export declare class CodeGuruReviewer extends CodeGuruReviewerClient {
|
|
|
107
97
|
disassociateRepository(args: DisassociateRepositoryCommandInput, cb: (err: any, data?: DisassociateRepositoryCommandOutput) => void): void;
|
|
108
98
|
disassociateRepository(args: DisassociateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateRepositoryCommandOutput) => void): void;
|
|
109
99
|
/**
|
|
110
|
-
* <p>
|
|
111
|
-
* Lists all the code reviews that the customer has created in the past 90 days.
|
|
112
|
-
* </p>
|
|
100
|
+
* <p>Lists all the code reviews that the customer has created in the past 90 days.</p>
|
|
113
101
|
*/
|
|
114
102
|
listCodeReviews(args: ListCodeReviewsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeReviewsCommandOutput>;
|
|
115
103
|
listCodeReviews(args: ListCodeReviewsCommandInput, cb: (err: any, data?: ListCodeReviewsCommandOutput) => void): void;
|
|
116
104
|
listCodeReviews(args: ListCodeReviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeReviewsCommandOutput) => void): void;
|
|
117
105
|
/**
|
|
118
|
-
* <p>
|
|
119
|
-
*
|
|
120
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RecommendationFeedbackSummary.html">
|
|
121
|
-
* <code>RecommendationFeedbackSummary</code>
|
|
122
|
-
* </a>
|
|
123
|
-
* objects that contain customer recommendation feedback for all CodeGuru Reviewer users.
|
|
124
|
-
* </p>
|
|
106
|
+
* <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
|
|
107
|
+
* feedback for all CodeGuru Reviewer users.</p>
|
|
125
108
|
*/
|
|
126
109
|
listRecommendationFeedback(args: ListRecommendationFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendationFeedbackCommandOutput>;
|
|
127
110
|
listRecommendationFeedback(args: ListRecommendationFeedbackCommandInput, cb: (err: any, data?: ListRecommendationFeedbackCommandOutput) => void): void;
|
|
128
111
|
listRecommendationFeedback(args: ListRecommendationFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendationFeedbackCommandOutput) => void): void;
|
|
129
112
|
/**
|
|
130
|
-
* <p>
|
|
131
|
-
* Returns the list of all recommendations for a completed code review.
|
|
132
|
-
* </p>
|
|
113
|
+
* <p>Returns the list of all recommendations for a completed code review.</p>
|
|
133
114
|
*/
|
|
134
115
|
listRecommendations(args: ListRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendationsCommandOutput>;
|
|
135
116
|
listRecommendations(args: ListRecommendationsCommandInput, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void;
|
|
136
117
|
listRecommendations(args: ListRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void;
|
|
137
118
|
/**
|
|
138
|
-
* <p>
|
|
139
|
-
*
|
|
140
|
-
* <code>RepositoryAssociationSummary</code>
|
|
141
|
-
* </a> objects that
|
|
142
|
-
* contain summary information about a repository association. You can filter the returned list by
|
|
143
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-ProviderType">
|
|
144
|
-
* <code>ProviderType</code>
|
|
145
|
-
* </a>,
|
|
146
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Name">
|
|
147
|
-
* <code>Name</code>
|
|
148
|
-
* </a>,
|
|
149
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-State">
|
|
150
|
-
* <code>State</code>
|
|
151
|
-
* </a>, and
|
|
152
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Owner">
|
|
153
|
-
* <code>Owner</code>
|
|
154
|
-
* </a>.
|
|
155
|
-
* </p>
|
|
119
|
+
* <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
|
|
120
|
+
* 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>
|
|
156
121
|
*/
|
|
157
122
|
listRepositoryAssociations(args: ListRepositoryAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoryAssociationsCommandOutput>;
|
|
158
123
|
listRepositoryAssociations(args: ListRepositoryAssociationsCommandInput, cb: (err: any, data?: ListRepositoryAssociationsCommandOutput) => void): void;
|
|
@@ -164,9 +129,8 @@ export declare class CodeGuruReviewer extends CodeGuruReviewerClient {
|
|
|
164
129
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
165
130
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
166
131
|
/**
|
|
167
|
-
* <p>
|
|
168
|
-
*
|
|
169
|
-
* </p>
|
|
132
|
+
* <p>Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with
|
|
133
|
+
* different reactions the previous feedback is overwritten.</p>
|
|
170
134
|
*/
|
|
171
135
|
putRecommendationFeedback(args: PutRecommendationFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<PutRecommendationFeedbackCommandOutput>;
|
|
172
136
|
putRecommendationFeedback(args: PutRecommendationFeedbackCommandInput, cb: (err: any, data?: PutRecommendationFeedbackCommandOutput) => void): void;
|
|
@@ -140,22 +140,23 @@ declare type CodeGuruReviewerClientResolvedConfigType = __SmithyResolvedConfigur
|
|
|
140
140
|
export interface CodeGuruReviewerClientResolvedConfig extends CodeGuruReviewerClientResolvedConfigType {
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
|
-
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
|
|
144
|
-
* that uses program analysis and machine learning to detect potential defects that
|
|
145
|
-
* fixes in your Java and Python
|
|
143
|
+
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
|
|
144
|
+
* service that uses program analysis and machine learning to detect potential defects that
|
|
145
|
+
* are difficult for developers to find and recommends fixes in your Java and Python
|
|
146
|
+
* code.</p>
|
|
146
147
|
*
|
|
147
|
-
* <p>By proactively detecting and providing recommendations for addressing code defects and
|
|
148
|
-
*
|
|
149
|
-
*
|
|
148
|
+
* <p>By proactively detecting and providing recommendations for addressing code defects and
|
|
149
|
+
* implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
|
|
150
|
+
* your code base during the code review stage. For more information about CodeGuru Reviewer, see the
|
|
151
|
+
* <i>
|
|
150
152
|
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
|
|
151
153
|
* </p>
|
|
152
154
|
*
|
|
153
|
-
* <p>
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* </p>
|
|
155
|
+
* <p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
|
|
156
|
+
* between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
|
|
157
|
+
* more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
|
|
158
|
+
* endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User
|
|
159
|
+
* Guide</i>.</p>
|
|
159
160
|
*/
|
|
160
161
|
export declare class CodeGuruReviewerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeGuruReviewerClientResolvedConfig> {
|
|
161
162
|
/**
|
|
@@ -7,29 +7,27 @@ export interface AssociateRepositoryCommandInput extends AssociateRepositoryRequ
|
|
|
7
7
|
export interface AssociateRepositoryCommandOutput extends AssociateRepositoryResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html">Recommendations in
|
|
10
|
+
* <p>Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services
|
|
11
|
+
* CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews
|
|
12
|
+
* source code changes in the repository's pull requests and provides automatic
|
|
13
|
+
* recommendations. You can view recommendations using the CodeGuru Reviewer console. For more
|
|
14
|
+
* information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html">Recommendations in
|
|
16
15
|
* Amazon CodeGuru Reviewer</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
|
|
17
|
-
*
|
|
16
|
+
* </p>
|
|
18
17
|
*
|
|
19
|
-
* <p>If you associate a CodeCommit or S3 repository, it must be in the same
|
|
20
|
-
* Amazon Web Services
|
|
18
|
+
* <p>If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and
|
|
19
|
+
* Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.</p>
|
|
21
20
|
*
|
|
22
21
|
* <p>Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar
|
|
23
|
-
* 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
|
|
24
|
-
*
|
|
22
|
+
* 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
|
|
23
|
+
* repository</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
|
|
25
24
|
* </p>
|
|
26
25
|
*
|
|
27
26
|
* <note>
|
|
28
|
-
* <p>
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* started with CodeGuru Reviewer</a> in the <i>CodeGuru Reviewer User Guide.</i>
|
|
27
|
+
* <p>You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with
|
|
28
|
+
* Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see
|
|
29
|
+
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html">Getting started with
|
|
30
|
+
* CodeGuru Reviewer</a> in the <i>CodeGuru Reviewer User Guide.</i>
|
|
33
31
|
* </p>
|
|
34
32
|
* </note>
|
|
35
33
|
* @example
|
|
@@ -7,13 +7,10 @@ export interface CreateCodeReviewCommandInput extends CreateCodeReviewRequest {
|
|
|
7
7
|
export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* of <code>RepositoryAnalysis</code>. This type of code review analyzes all code under a specified branch in an associated repository.
|
|
15
|
-
* <code>PullRequest</code> code reviews are automatically triggered by a pull request.
|
|
16
|
-
* </p>
|
|
10
|
+
* <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
|
|
11
|
+
* <code>RepositoryAnalysis</code>. This type of code review analyzes all code under a
|
|
12
|
+
* specified branch in an associated repository. <code>PullRequest</code> code reviews are
|
|
13
|
+
* automatically triggered by a pull request.</p>
|
|
17
14
|
* @example
|
|
18
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
16
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DescribeCodeReviewCommandInput extends DescribeCodeReviewReques
|
|
|
7
7
|
export interface DescribeCodeReviewCommandOutput extends DescribeCodeReviewResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Returns the metadata associated with the code review along with its status.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,9 +7,7 @@ export interface DescribeRecommendationFeedbackCommandInput extends DescribeReco
|
|
|
7
7
|
export interface DescribeRecommendationFeedbackCommandOutput extends DescribeRecommendationFeedbackResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* Describes the customer feedback for a CodeGuru Reviewer recommendation.
|
|
12
|
-
* </p>
|
|
10
|
+
* <p>Describes the customer feedback for a CodeGuru Reviewer recommendation.</p>
|
|
13
11
|
* @example
|
|
14
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
13
|
* ```javascript
|
|
@@ -7,12 +7,8 @@ export interface DescribeRepositoryAssociationCommandInput extends DescribeRepos
|
|
|
7
7
|
export interface DescribeRepositoryAssociationCommandOutput extends DescribeRepositoryAssociationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
* <code>RepositoryAssociation</code>
|
|
13
|
-
* </a> object
|
|
14
|
-
* that contains information about the requested repository association.
|
|
15
|
-
* </p>
|
|
10
|
+
* <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
|
|
11
|
+
* repository association.</p>
|
|
16
12
|
* @example
|
|
17
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
14
|
* ```javascript
|
|
@@ -7,9 +7,7 @@ export interface ListCodeReviewsCommandInput extends ListCodeReviewsRequest {
|
|
|
7
7
|
export interface ListCodeReviewsCommandOutput extends ListCodeReviewsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* Lists all the code reviews that the customer has created in the past 90 days.
|
|
12
|
-
* </p>
|
|
10
|
+
* <p>Lists all the code reviews that the customer has created in the past 90 days.</p>
|
|
13
11
|
* @example
|
|
14
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
13
|
* ```javascript
|
|
@@ -7,13 +7,8 @@ export interface ListRecommendationFeedbackCommandInput extends ListRecommendati
|
|
|
7
7
|
export interface ListRecommendationFeedbackCommandOutput extends ListRecommendationFeedbackResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RecommendationFeedbackSummary.html">
|
|
13
|
-
* <code>RecommendationFeedbackSummary</code>
|
|
14
|
-
* </a>
|
|
15
|
-
* objects that contain customer recommendation feedback for all CodeGuru Reviewer users.
|
|
16
|
-
* </p>
|
|
10
|
+
* <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
|
|
11
|
+
* feedback for all CodeGuru Reviewer users.</p>
|
|
17
12
|
* @example
|
|
18
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
14
|
* ```javascript
|
|
@@ -7,9 +7,7 @@ export interface ListRecommendationsCommandInput extends ListRecommendationsRequ
|
|
|
7
7
|
export interface ListRecommendationsCommandOutput extends ListRecommendationsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* Returns the list of all recommendations for a completed code review.
|
|
12
|
-
* </p>
|
|
10
|
+
* <p>Returns the list of all recommendations for a completed code review.</p>
|
|
13
11
|
* @example
|
|
14
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
13
|
* ```javascript
|
|
@@ -7,24 +7,8 @@ export interface ListRepositoryAssociationsCommandInput extends ListRepositoryAs
|
|
|
7
7
|
export interface ListRepositoryAssociationsCommandOutput extends ListRepositoryAssociationsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
* <code>RepositoryAssociationSummary</code>
|
|
13
|
-
* </a> objects that
|
|
14
|
-
* contain summary information about a repository association. You can filter the returned list by
|
|
15
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-ProviderType">
|
|
16
|
-
* <code>ProviderType</code>
|
|
17
|
-
* </a>,
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Name">
|
|
19
|
-
* <code>Name</code>
|
|
20
|
-
* </a>,
|
|
21
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-State">
|
|
22
|
-
* <code>State</code>
|
|
23
|
-
* </a>, and
|
|
24
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Owner">
|
|
25
|
-
* <code>Owner</code>
|
|
26
|
-
* </a>.
|
|
27
|
-
* </p>
|
|
10
|
+
* <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
|
|
11
|
+
* 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>
|
|
28
12
|
* @example
|
|
29
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
14
|
* ```javascript
|
|
@@ -7,9 +7,8 @@ export interface PutRecommendationFeedbackCommandInput extends PutRecommendation
|
|
|
7
7
|
export interface PutRecommendationFeedbackCommandOutput extends PutRecommendationFeedbackResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
* </p>
|
|
10
|
+
* <p>Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with
|
|
11
|
+
* different reactions the previous feedback is overwritten.</p>
|
|
13
12
|
* @example
|
|
14
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
14
|
* ```javascript
|