cdk-comprehend-s3olap 2.0.84 → 2.0.87
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/.jsii +4 -4
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +16 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +60 -51
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +275 -134
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +18 -0
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +148 -0
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/identitystore-2020-06-15.min.json +732 -15
- package/node_modules/aws-sdk/apis/identitystore-2020-06-15.paginators.json +16 -2
- package/node_modules/aws-sdk/apis/iotthingsgraph-2018-09-06.min.json +105 -35
- package/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json +25 -19
- package/node_modules/aws-sdk/apis/mediapackage-2017-10-12.min.json +57 -54
- package/node_modules/aws-sdk/apis/metadata.json +3 -0
- package/node_modules/aws-sdk/apis/rds-data-2018-08-01.min.json +132 -132
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +590 -564
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/cloudfront.d.ts +7 -7
- package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +134 -134
- package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +24 -11
- package/node_modules/aws-sdk/clients/connect.d.ts +144 -10
- package/node_modules/aws-sdk/clients/controltower.d.ts +169 -0
- package/node_modules/aws-sdk/clients/controltower.js +18 -0
- package/node_modules/aws-sdk/clients/identitystore.d.ts +806 -22
- package/node_modules/aws-sdk/clients/iotthingsgraph.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ivs.d.ts +9 -0
- package/node_modules/aws-sdk/clients/mediapackage.d.ts +2 -0
- package/node_modules/aws-sdk/clients/rdsdataservice.d.ts +130 -130
- package/node_modules/aws-sdk/clients/route53.d.ts +1 -1
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +72 -17
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +51 -14
- package/node_modules/aws-sdk/dist/aws-sdk.js +359 -188
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -79
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/es-abstract/2020/SameValueNonNumeric.js +1 -1
- package/node_modules/es-abstract/2021/SameValueNonNumeric.js +1 -1
- package/node_modules/es-abstract/2022/SameValueNonNumeric.js +1 -1
- package/node_modules/es-abstract/CHANGELOG.md +8 -0
- package/node_modules/es-abstract/package.json +9 -8
- package/package.json +10 -9
@@ -13,43 +13,43 @@ declare class CodeGuruReviewer extends Service {
|
|
13
13
|
constructor(options?: CodeGuruReviewer.Types.ClientConfiguration)
|
14
14
|
config: Config & CodeGuruReviewer.Types.ClientConfiguration;
|
15
15
|
/**
|
16
|
-
*
|
16
|
+
* Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews source code changes in the repository's pull requests and provides automatic recommendations. You can view recommendations using the CodeGuru Reviewer console. For more information, see Recommendations in Amazon CodeGuru Reviewer in the Amazon CodeGuru Reviewer User Guide. If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are configured. Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar Connections to connect to CodeGuru Reviewer. For more information, see Associate a repository in the Amazon CodeGuru Reviewer User Guide. You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see Getting started with CodeGuru Reviewer in the CodeGuru Reviewer User Guide.
|
17
17
|
*/
|
18
18
|
associateRepository(params: CodeGuruReviewer.Types.AssociateRepositoryRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.AssociateRepositoryResponse) => void): Request<CodeGuruReviewer.Types.AssociateRepositoryResponse, AWSError>;
|
19
19
|
/**
|
20
|
-
*
|
20
|
+
* Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews source code changes in the repository's pull requests and provides automatic recommendations. You can view recommendations using the CodeGuru Reviewer console. For more information, see Recommendations in Amazon CodeGuru Reviewer in the Amazon CodeGuru Reviewer User Guide. If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are configured. Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar Connections to connect to CodeGuru Reviewer. For more information, see Associate a repository in the Amazon CodeGuru Reviewer User Guide. You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see Getting started with CodeGuru Reviewer in the CodeGuru Reviewer User Guide.
|
21
21
|
*/
|
22
22
|
associateRepository(callback?: (err: AWSError, data: CodeGuruReviewer.Types.AssociateRepositoryResponse) => void): Request<CodeGuruReviewer.Types.AssociateRepositoryResponse, AWSError>;
|
23
23
|
/**
|
24
|
-
*
|
24
|
+
* Use to create a code review with a CodeReviewType of RepositoryAnalysis. This type of code review analyzes all code under a specified branch in an associated repository. PullRequest code reviews are automatically triggered by a pull request.
|
25
25
|
*/
|
26
26
|
createCodeReview(params: CodeGuruReviewer.Types.CreateCodeReviewRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.CreateCodeReviewResponse) => void): Request<CodeGuruReviewer.Types.CreateCodeReviewResponse, AWSError>;
|
27
27
|
/**
|
28
|
-
*
|
28
|
+
* Use to create a code review with a CodeReviewType of RepositoryAnalysis. This type of code review analyzes all code under a specified branch in an associated repository. PullRequest code reviews are automatically triggered by a pull request.
|
29
29
|
*/
|
30
30
|
createCodeReview(callback?: (err: AWSError, data: CodeGuruReviewer.Types.CreateCodeReviewResponse) => void): Request<CodeGuruReviewer.Types.CreateCodeReviewResponse, AWSError>;
|
31
31
|
/**
|
32
|
-
*
|
32
|
+
* Returns the metadata associated with the code review along with its status.
|
33
33
|
*/
|
34
34
|
describeCodeReview(params: CodeGuruReviewer.Types.DescribeCodeReviewRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeCodeReviewResponse) => void): Request<CodeGuruReviewer.Types.DescribeCodeReviewResponse, AWSError>;
|
35
35
|
/**
|
36
|
-
*
|
36
|
+
* Returns the metadata associated with the code review along with its status.
|
37
37
|
*/
|
38
38
|
describeCodeReview(callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeCodeReviewResponse) => void): Request<CodeGuruReviewer.Types.DescribeCodeReviewResponse, AWSError>;
|
39
39
|
/**
|
40
|
-
*
|
40
|
+
* Describes the customer feedback for a CodeGuru Reviewer recommendation.
|
41
41
|
*/
|
42
42
|
describeRecommendationFeedback(params: CodeGuruReviewer.Types.DescribeRecommendationFeedbackRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeRecommendationFeedbackResponse) => void): Request<CodeGuruReviewer.Types.DescribeRecommendationFeedbackResponse, AWSError>;
|
43
43
|
/**
|
44
|
-
*
|
44
|
+
* Describes the customer feedback for a CodeGuru Reviewer recommendation.
|
45
45
|
*/
|
46
46
|
describeRecommendationFeedback(callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeRecommendationFeedbackResponse) => void): Request<CodeGuruReviewer.Types.DescribeRecommendationFeedbackResponse, AWSError>;
|
47
47
|
/**
|
48
|
-
*
|
48
|
+
* Returns a RepositoryAssociation object that contains information about the requested repository association.
|
49
49
|
*/
|
50
50
|
describeRepositoryAssociation(params: CodeGuruReviewer.Types.DescribeRepositoryAssociationRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeRepositoryAssociationResponse) => void): Request<CodeGuruReviewer.Types.DescribeRepositoryAssociationResponse, AWSError>;
|
51
51
|
/**
|
52
|
-
*
|
52
|
+
* Returns a RepositoryAssociation object that contains information about the requested repository association.
|
53
53
|
*/
|
54
54
|
describeRepositoryAssociation(callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeRepositoryAssociationResponse) => void): Request<CodeGuruReviewer.Types.DescribeRepositoryAssociationResponse, AWSError>;
|
55
55
|
/**
|
@@ -61,35 +61,35 @@ declare class CodeGuruReviewer extends Service {
|
|
61
61
|
*/
|
62
62
|
disassociateRepository(callback?: (err: AWSError, data: CodeGuruReviewer.Types.DisassociateRepositoryResponse) => void): Request<CodeGuruReviewer.Types.DisassociateRepositoryResponse, AWSError>;
|
63
63
|
/**
|
64
|
-
*
|
64
|
+
* Lists all the code reviews that the customer has created in the past 90 days.
|
65
65
|
*/
|
66
66
|
listCodeReviews(params: CodeGuruReviewer.Types.ListCodeReviewsRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListCodeReviewsResponse) => void): Request<CodeGuruReviewer.Types.ListCodeReviewsResponse, AWSError>;
|
67
67
|
/**
|
68
|
-
*
|
68
|
+
* Lists all the code reviews that the customer has created in the past 90 days.
|
69
69
|
*/
|
70
70
|
listCodeReviews(callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListCodeReviewsResponse) => void): Request<CodeGuruReviewer.Types.ListCodeReviewsResponse, AWSError>;
|
71
71
|
/**
|
72
|
-
*
|
72
|
+
* Returns a list of RecommendationFeedbackSummary objects that contain customer recommendation feedback for all CodeGuru Reviewer users.
|
73
73
|
*/
|
74
74
|
listRecommendationFeedback(params: CodeGuruReviewer.Types.ListRecommendationFeedbackRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListRecommendationFeedbackResponse) => void): Request<CodeGuruReviewer.Types.ListRecommendationFeedbackResponse, AWSError>;
|
75
75
|
/**
|
76
|
-
*
|
76
|
+
* Returns a list of RecommendationFeedbackSummary objects that contain customer recommendation feedback for all CodeGuru Reviewer users.
|
77
77
|
*/
|
78
78
|
listRecommendationFeedback(callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListRecommendationFeedbackResponse) => void): Request<CodeGuruReviewer.Types.ListRecommendationFeedbackResponse, AWSError>;
|
79
79
|
/**
|
80
|
-
*
|
80
|
+
* Returns the list of all recommendations for a completed code review.
|
81
81
|
*/
|
82
82
|
listRecommendations(params: CodeGuruReviewer.Types.ListRecommendationsRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListRecommendationsResponse) => void): Request<CodeGuruReviewer.Types.ListRecommendationsResponse, AWSError>;
|
83
83
|
/**
|
84
|
-
*
|
84
|
+
* Returns the list of all recommendations for a completed code review.
|
85
85
|
*/
|
86
86
|
listRecommendations(callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListRecommendationsResponse) => void): Request<CodeGuruReviewer.Types.ListRecommendationsResponse, AWSError>;
|
87
87
|
/**
|
88
|
-
*
|
88
|
+
* Returns a list of RepositoryAssociationSummary objects that contain summary information about a repository association. You can filter the returned list by ProviderType, Name, State, and Owner.
|
89
89
|
*/
|
90
90
|
listRepositoryAssociations(params: CodeGuruReviewer.Types.ListRepositoryAssociationsRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListRepositoryAssociationsResponse) => void): Request<CodeGuruReviewer.Types.ListRepositoryAssociationsResponse, AWSError>;
|
91
91
|
/**
|
92
|
-
*
|
92
|
+
* Returns a list of RepositoryAssociationSummary objects that contain summary information about a repository association. You can filter the returned list by ProviderType, Name, State, and Owner.
|
93
93
|
*/
|
94
94
|
listRepositoryAssociations(callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListRepositoryAssociationsResponse) => void): Request<CodeGuruReviewer.Types.ListRepositoryAssociationsResponse, AWSError>;
|
95
95
|
/**
|
@@ -101,11 +101,11 @@ declare class CodeGuruReviewer extends Service {
|
|
101
101
|
*/
|
102
102
|
listTagsForResource(callback?: (err: AWSError, data: CodeGuruReviewer.Types.ListTagsForResourceResponse) => void): Request<CodeGuruReviewer.Types.ListTagsForResourceResponse, AWSError>;
|
103
103
|
/**
|
104
|
-
*
|
104
|
+
* Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
|
105
105
|
*/
|
106
106
|
putRecommendationFeedback(params: CodeGuruReviewer.Types.PutRecommendationFeedbackRequest, callback?: (err: AWSError, data: CodeGuruReviewer.Types.PutRecommendationFeedbackResponse) => void): Request<CodeGuruReviewer.Types.PutRecommendationFeedbackResponse, AWSError>;
|
107
107
|
/**
|
108
|
-
*
|
108
|
+
* Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
|
109
109
|
*/
|
110
110
|
putRecommendationFeedback(callback?: (err: AWSError, data: CodeGuruReviewer.Types.PutRecommendationFeedbackResponse) => void): Request<CodeGuruReviewer.Types.PutRecommendationFeedbackResponse, AWSError>;
|
111
111
|
/**
|
@@ -151,15 +151,15 @@ declare namespace CodeGuruReviewer {
|
|
151
151
|
*/
|
152
152
|
Repository: Repository;
|
153
153
|
/**
|
154
|
-
* Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
|
154
|
+
* Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
|
155
155
|
*/
|
156
156
|
ClientRequestToken?: ClientRequestToken;
|
157
157
|
/**
|
158
|
-
*
|
158
|
+
* An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
|
159
159
|
*/
|
160
160
|
Tags?: TagMap;
|
161
161
|
/**
|
162
|
-
* A KMSKeyDetails object that contains: The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK). The ID of the Amazon Web Services KMS key that is associated with this
|
162
|
+
* A KMSKeyDetails object that contains: The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK). The ID of the Amazon Web Services KMS key that is associated with this repository association.
|
163
163
|
*/
|
164
164
|
KMSKeyDetails?: KMSKeyDetails;
|
165
165
|
}
|
@@ -169,7 +169,7 @@ declare namespace CodeGuruReviewer {
|
|
169
169
|
*/
|
170
170
|
RepositoryAssociation?: RepositoryAssociation;
|
171
171
|
/**
|
172
|
-
*
|
172
|
+
* An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
|
173
173
|
*/
|
174
174
|
Tags?: TagMap;
|
175
175
|
}
|
@@ -206,15 +206,15 @@ declare namespace CodeGuruReviewer {
|
|
206
206
|
}
|
207
207
|
export interface CodeReview {
|
208
208
|
/**
|
209
|
-
*
|
209
|
+
* The name of the code review.
|
210
210
|
*/
|
211
211
|
Name?: Name;
|
212
212
|
/**
|
213
|
-
* The Amazon Resource Name (ARN) of the
|
213
|
+
* The Amazon Resource Name (ARN) of the CodeReview object.
|
214
214
|
*/
|
215
215
|
CodeReviewArn?: Arn;
|
216
216
|
/**
|
217
|
-
*
|
217
|
+
* The name of the repository.
|
218
218
|
*/
|
219
219
|
RepositoryName?: Name;
|
220
220
|
/**
|
@@ -222,43 +222,43 @@ declare namespace CodeGuruReviewer {
|
|
222
222
|
*/
|
223
223
|
Owner?: Owner;
|
224
224
|
/**
|
225
|
-
*
|
225
|
+
* The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).
|
226
226
|
*/
|
227
227
|
ProviderType?: ProviderType;
|
228
228
|
/**
|
229
|
-
* The valid code review states are: Completed: The code review is complete.
|
229
|
+
* The valid code review states are: Completed: The code review is complete. Pending: The code review started and has not completed or failed. Failed: The code review failed. Deleting: The code review is being deleted.
|
230
230
|
*/
|
231
231
|
State?: JobState;
|
232
232
|
/**
|
233
|
-
*
|
233
|
+
* The reason for the state of the code review.
|
234
234
|
*/
|
235
235
|
StateReason?: StateReason;
|
236
236
|
/**
|
237
|
-
*
|
237
|
+
* The time, in milliseconds since the epoch, when the code review was created.
|
238
238
|
*/
|
239
239
|
CreatedTimeStamp?: TimeStamp;
|
240
240
|
/**
|
241
|
-
*
|
241
|
+
* The time, in milliseconds since the epoch, when the code review was last updated.
|
242
242
|
*/
|
243
243
|
LastUpdatedTimeStamp?: TimeStamp;
|
244
244
|
/**
|
245
|
-
*
|
245
|
+
* The type of code review.
|
246
246
|
*/
|
247
247
|
Type?: Type;
|
248
248
|
/**
|
249
|
-
*
|
249
|
+
* The pull request ID for the code review.
|
250
250
|
*/
|
251
251
|
PullRequestId?: PullRequestId;
|
252
252
|
/**
|
253
|
-
*
|
253
|
+
* The type of the source code for the code review.
|
254
254
|
*/
|
255
255
|
SourceCodeType?: SourceCodeType;
|
256
256
|
/**
|
257
|
-
*
|
257
|
+
* The Amazon Resource Name (ARN) of the RepositoryAssociation that contains the reviewed source code. You can retrieve associated repository ARNs by calling ListRepositoryAssociations.
|
258
258
|
*/
|
259
259
|
AssociationArn?: AssociationArn;
|
260
260
|
/**
|
261
|
-
*
|
261
|
+
* The statistics from the code review.
|
262
262
|
*/
|
263
263
|
Metrics?: Metrics;
|
264
264
|
/**
|
@@ -274,15 +274,15 @@ declare namespace CodeGuruReviewer {
|
|
274
274
|
export type CodeReviewSummaries = CodeReviewSummary[];
|
275
275
|
export interface CodeReviewSummary {
|
276
276
|
/**
|
277
|
-
*
|
277
|
+
* The name of the code review.
|
278
278
|
*/
|
279
279
|
Name?: Name;
|
280
280
|
/**
|
281
|
-
* The Amazon Resource Name (ARN) of the
|
281
|
+
* The Amazon Resource Name (ARN) of the CodeReview object.
|
282
282
|
*/
|
283
283
|
CodeReviewArn?: Arn;
|
284
284
|
/**
|
285
|
-
*
|
285
|
+
* The name of the repository.
|
286
286
|
*/
|
287
287
|
RepositoryName?: Name;
|
288
288
|
/**
|
@@ -290,38 +290,38 @@ declare namespace CodeGuruReviewer {
|
|
290
290
|
*/
|
291
291
|
Owner?: Owner;
|
292
292
|
/**
|
293
|
-
*
|
293
|
+
* The provider type of the repository association.
|
294
294
|
*/
|
295
295
|
ProviderType?: ProviderType;
|
296
296
|
/**
|
297
|
-
*
|
297
|
+
* The state of the code review. The valid code review states are: Completed: The code review is complete. Pending: The code review started and has not completed or failed. Failed: The code review failed. Deleting: The code review is being deleted.
|
298
298
|
*/
|
299
299
|
State?: JobState;
|
300
300
|
/**
|
301
|
-
*
|
301
|
+
* The time, in milliseconds since the epoch, when the code review was created.
|
302
302
|
*/
|
303
303
|
CreatedTimeStamp?: TimeStamp;
|
304
304
|
/**
|
305
|
-
*
|
305
|
+
* The time, in milliseconds since the epoch, when the code review was last updated.
|
306
306
|
*/
|
307
307
|
LastUpdatedTimeStamp?: TimeStamp;
|
308
308
|
/**
|
309
|
-
*
|
309
|
+
* The type of the code review.
|
310
310
|
*/
|
311
311
|
Type?: Type;
|
312
312
|
/**
|
313
|
-
*
|
313
|
+
* The pull request ID for the code review.
|
314
314
|
*/
|
315
315
|
PullRequestId?: PullRequestId;
|
316
316
|
/**
|
317
|
-
*
|
317
|
+
* The statistics from the code review.
|
318
318
|
*/
|
319
319
|
MetricsSummary?: MetricsSummary;
|
320
320
|
SourceCodeType?: SourceCodeType;
|
321
321
|
}
|
322
322
|
export interface CodeReviewType {
|
323
323
|
/**
|
324
|
-
*
|
324
|
+
* A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview.
|
325
325
|
*/
|
326
326
|
RepositoryAnalysis: RepositoryAnalysis;
|
327
327
|
/**
|
@@ -331,11 +331,11 @@ declare namespace CodeGuruReviewer {
|
|
331
331
|
}
|
332
332
|
export interface CommitDiffSourceCodeType {
|
333
333
|
/**
|
334
|
-
*
|
334
|
+
* The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.
|
335
335
|
*/
|
336
336
|
SourceCommit?: CommitId;
|
337
337
|
/**
|
338
|
-
*
|
338
|
+
* The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.
|
339
339
|
*/
|
340
340
|
DestinationCommit?: CommitId;
|
341
341
|
/**
|
@@ -348,19 +348,19 @@ declare namespace CodeGuruReviewer {
|
|
348
348
|
export type ConnectionArn = string;
|
349
349
|
export interface CreateCodeReviewRequest {
|
350
350
|
/**
|
351
|
-
*
|
351
|
+
* The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
|
352
352
|
*/
|
353
353
|
Name: CodeReviewName;
|
354
354
|
/**
|
355
|
-
*
|
355
|
+
* The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations. A code review can only be created on an associated repository. This is the ARN of the associated repository.
|
356
356
|
*/
|
357
357
|
RepositoryAssociationArn: AssociationArn;
|
358
358
|
/**
|
359
|
-
*
|
359
|
+
* The type of code review to create. This is specified using a CodeReviewType object. You can create a code review only of type RepositoryAnalysis.
|
360
360
|
*/
|
361
361
|
Type: CodeReviewType;
|
362
362
|
/**
|
363
|
-
*
|
363
|
+
* Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
|
364
364
|
*/
|
365
365
|
ClientRequestToken?: ClientRequestToken;
|
366
366
|
}
|
@@ -369,39 +369,39 @@ declare namespace CodeGuruReviewer {
|
|
369
369
|
}
|
370
370
|
export interface DescribeCodeReviewRequest {
|
371
371
|
/**
|
372
|
-
* The Amazon Resource Name (ARN) of the
|
372
|
+
* The Amazon Resource Name (ARN) of the CodeReview object.
|
373
373
|
*/
|
374
374
|
CodeReviewArn: Arn;
|
375
375
|
}
|
376
376
|
export interface DescribeCodeReviewResponse {
|
377
377
|
/**
|
378
|
-
*
|
378
|
+
* Information about the code review.
|
379
379
|
*/
|
380
380
|
CodeReview?: CodeReview;
|
381
381
|
}
|
382
382
|
export interface DescribeRecommendationFeedbackRequest {
|
383
383
|
/**
|
384
|
-
* The Amazon Resource Name (ARN) of the
|
384
|
+
* The Amazon Resource Name (ARN) of the CodeReview object.
|
385
385
|
*/
|
386
386
|
CodeReviewArn: Arn;
|
387
387
|
/**
|
388
|
-
*
|
388
|
+
* The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
|
389
389
|
*/
|
390
390
|
RecommendationId: RecommendationId;
|
391
391
|
/**
|
392
|
-
*
|
392
|
+
* Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request. The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
|
393
393
|
*/
|
394
394
|
UserId?: UserId;
|
395
395
|
}
|
396
396
|
export interface DescribeRecommendationFeedbackResponse {
|
397
397
|
/**
|
398
|
-
*
|
398
|
+
* The recommendation feedback given by the user.
|
399
399
|
*/
|
400
400
|
RecommendationFeedback?: RecommendationFeedback;
|
401
401
|
}
|
402
402
|
export interface DescribeRepositoryAssociationRequest {
|
403
403
|
/**
|
404
|
-
*
|
404
|
+
* The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
|
405
405
|
*/
|
406
406
|
AssociationArn: AssociationArn;
|
407
407
|
}
|
@@ -411,13 +411,13 @@ declare namespace CodeGuruReviewer {
|
|
411
411
|
*/
|
412
412
|
RepositoryAssociation?: RepositoryAssociation;
|
413
413
|
/**
|
414
|
-
*
|
414
|
+
* An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
|
415
415
|
*/
|
416
416
|
Tags?: TagMap;
|
417
417
|
}
|
418
418
|
export interface DisassociateRepositoryRequest {
|
419
419
|
/**
|
420
|
-
*
|
420
|
+
* The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
|
421
421
|
*/
|
422
422
|
AssociationArn: AssociationArn;
|
423
423
|
}
|
@@ -427,7 +427,7 @@ declare namespace CodeGuruReviewer {
|
|
427
427
|
*/
|
428
428
|
RepositoryAssociation?: RepositoryAssociation;
|
429
429
|
/**
|
430
|
-
*
|
430
|
+
* An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
|
431
431
|
*/
|
432
432
|
Tags?: TagMap;
|
433
433
|
}
|
@@ -450,7 +450,7 @@ declare namespace CodeGuruReviewer {
|
|
450
450
|
export type JobStates = JobState[];
|
451
451
|
export interface KMSKeyDetails {
|
452
452
|
/**
|
453
|
-
* The ID of the Amazon Web Services KMS key that is associated with a
|
453
|
+
* The ID of the Amazon Web Services KMS key that is associated with a repository association.
|
454
454
|
*/
|
455
455
|
KMSKeyId?: KMSKeyId;
|
456
456
|
/**
|
@@ -464,94 +464,94 @@ declare namespace CodeGuruReviewer {
|
|
464
464
|
export type ListCodeReviewsMaxResults = number;
|
465
465
|
export interface ListCodeReviewsRequest {
|
466
466
|
/**
|
467
|
-
*
|
467
|
+
* List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.
|
468
468
|
*/
|
469
469
|
ProviderTypes?: ProviderTypes;
|
470
470
|
/**
|
471
|
-
*
|
471
|
+
* List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state. The valid code review states are: Completed: The code review is complete. Pending: The code review started and has not completed or failed. Failed: The code review failed. Deleting: The code review is being deleted.
|
472
472
|
*/
|
473
473
|
States?: JobStates;
|
474
474
|
/**
|
475
|
-
*
|
475
|
+
* List of repository names for filtering that needs to be applied before displaying the result.
|
476
476
|
*/
|
477
477
|
RepositoryNames?: RepositoryNames;
|
478
478
|
/**
|
479
|
-
*
|
479
|
+
* The type of code reviews to list in the response.
|
480
480
|
*/
|
481
481
|
Type: Type;
|
482
482
|
/**
|
483
|
-
*
|
483
|
+
* The maximum number of results that are returned per call. The default is 100.
|
484
484
|
*/
|
485
485
|
MaxResults?: ListCodeReviewsMaxResults;
|
486
486
|
/**
|
487
|
-
*
|
487
|
+
* If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
|
488
488
|
*/
|
489
489
|
NextToken?: NextToken;
|
490
490
|
}
|
491
491
|
export interface ListCodeReviewsResponse {
|
492
492
|
/**
|
493
|
-
*
|
493
|
+
* A list of code reviews that meet the criteria of the request.
|
494
494
|
*/
|
495
495
|
CodeReviewSummaries?: CodeReviewSummaries;
|
496
496
|
/**
|
497
|
-
*
|
497
|
+
* Pagination token.
|
498
498
|
*/
|
499
499
|
NextToken?: NextToken;
|
500
500
|
}
|
501
501
|
export interface ListRecommendationFeedbackRequest {
|
502
502
|
/**
|
503
|
-
*
|
503
|
+
* If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
|
504
504
|
*/
|
505
505
|
NextToken?: NextToken;
|
506
506
|
/**
|
507
|
-
*
|
507
|
+
* The maximum number of results that are returned per call. The default is 100.
|
508
508
|
*/
|
509
509
|
MaxResults?: MaxResults;
|
510
510
|
/**
|
511
|
-
* The Amazon Resource Name (ARN) of the
|
511
|
+
* The Amazon Resource Name (ARN) of the CodeReview object.
|
512
512
|
*/
|
513
513
|
CodeReviewArn: Arn;
|
514
514
|
/**
|
515
|
-
*
|
515
|
+
* An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user. The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
|
516
516
|
*/
|
517
517
|
UserIds?: UserIds;
|
518
518
|
/**
|
519
|
-
*
|
519
|
+
* Used to query the recommendation feedback for a given recommendation.
|
520
520
|
*/
|
521
521
|
RecommendationIds?: RecommendationIds;
|
522
522
|
}
|
523
523
|
export interface ListRecommendationFeedbackResponse {
|
524
524
|
/**
|
525
|
-
*
|
525
|
+
* Recommendation feedback summaries corresponding to the code review ARN.
|
526
526
|
*/
|
527
527
|
RecommendationFeedbackSummaries?: RecommendationFeedbackSummaries;
|
528
528
|
/**
|
529
|
-
*
|
529
|
+
* If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
|
530
530
|
*/
|
531
531
|
NextToken?: NextToken;
|
532
532
|
}
|
533
533
|
export type ListRecommendationsMaxResults = number;
|
534
534
|
export interface ListRecommendationsRequest {
|
535
535
|
/**
|
536
|
-
*
|
536
|
+
* Pagination token.
|
537
537
|
*/
|
538
538
|
NextToken?: NextToken;
|
539
539
|
/**
|
540
|
-
*
|
540
|
+
* The maximum number of results that are returned per call. The default is 100.
|
541
541
|
*/
|
542
542
|
MaxResults?: ListRecommendationsMaxResults;
|
543
543
|
/**
|
544
|
-
* The Amazon Resource Name (ARN) of the
|
544
|
+
* The Amazon Resource Name (ARN) of the CodeReview object.
|
545
545
|
*/
|
546
546
|
CodeReviewArn: Arn;
|
547
547
|
}
|
548
548
|
export interface ListRecommendationsResponse {
|
549
549
|
/**
|
550
|
-
*
|
550
|
+
* List of recommendations for the requested code review.
|
551
551
|
*/
|
552
552
|
RecommendationSummaries?: RecommendationSummaries;
|
553
553
|
/**
|
554
|
-
*
|
554
|
+
* Pagination token.
|
555
555
|
*/
|
556
556
|
NextToken?: NextToken;
|
557
557
|
}
|
@@ -561,7 +561,7 @@ declare namespace CodeGuruReviewer {
|
|
561
561
|
*/
|
562
562
|
ProviderTypes?: ProviderTypes;
|
563
563
|
/**
|
564
|
-
* List of repository association states to use as a filter. The valid repository association states are: Associated: The repository association is complete.
|
564
|
+
* List of repository association states to use as a filter. The valid repository association states are: Associated: The repository association is complete. Associating: CodeGuru Reviewer is: Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review. If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered. Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository. Failed: The repository failed to associate or disassociate. Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access. Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
|
565
565
|
*/
|
566
566
|
States?: RepositoryAssociationStates;
|
567
567
|
/**
|
@@ -593,13 +593,13 @@ declare namespace CodeGuruReviewer {
|
|
593
593
|
}
|
594
594
|
export interface ListTagsForResourceRequest {
|
595
595
|
/**
|
596
|
-
*
|
596
|
+
* The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
|
597
597
|
*/
|
598
598
|
resourceArn: AssociationArn;
|
599
599
|
}
|
600
600
|
export interface ListTagsForResourceResponse {
|
601
601
|
/**
|
602
|
-
*
|
602
|
+
* An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
|
603
603
|
*/
|
604
604
|
Tags?: TagMap;
|
605
605
|
}
|
@@ -607,7 +607,7 @@ declare namespace CodeGuruReviewer {
|
|
607
607
|
export type MaxResults = number;
|
608
608
|
export interface Metrics {
|
609
609
|
/**
|
610
|
-
* MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.
|
610
|
+
* MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.
|
611
611
|
*/
|
612
612
|
MeteredLinesOfCodeCount?: LinesOfCodeCount;
|
613
613
|
/**
|
@@ -615,13 +615,13 @@ declare namespace CodeGuruReviewer {
|
|
615
615
|
*/
|
616
616
|
SuppressedLinesOfCodeCount?: LinesOfCodeCount;
|
617
617
|
/**
|
618
|
-
*
|
618
|
+
* Total number of recommendations found in the code review.
|
619
619
|
*/
|
620
620
|
FindingsCount?: FindingsCount;
|
621
621
|
}
|
622
622
|
export interface MetricsSummary {
|
623
623
|
/**
|
624
|
-
*
|
624
|
+
* Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, MeteredLinesOfCodeCount includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725 lines of code.
|
625
625
|
*/
|
626
626
|
MeteredLinesOfCodeCount?: LinesOfCodeCount;
|
627
627
|
/**
|
@@ -629,7 +629,7 @@ declare namespace CodeGuruReviewer {
|
|
629
629
|
*/
|
630
630
|
SuppressedLinesOfCodeCount?: LinesOfCodeCount;
|
631
631
|
/**
|
632
|
-
*
|
632
|
+
* Total number of recommendations found in the code review.
|
633
633
|
*/
|
634
634
|
FindingsCount?: FindingsCount;
|
635
635
|
}
|
@@ -643,15 +643,15 @@ declare namespace CodeGuruReviewer {
|
|
643
643
|
export type PullRequestId = string;
|
644
644
|
export interface PutRecommendationFeedbackRequest {
|
645
645
|
/**
|
646
|
-
* The Amazon Resource Name (ARN) of the
|
646
|
+
* The Amazon Resource Name (ARN) of the CodeReview object.
|
647
647
|
*/
|
648
648
|
CodeReviewArn: Arn;
|
649
649
|
/**
|
650
|
-
*
|
650
|
+
* The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
|
651
651
|
*/
|
652
652
|
RecommendationId: RecommendationId;
|
653
653
|
/**
|
654
|
-
*
|
654
|
+
* List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
|
655
655
|
*/
|
656
656
|
Reactions: Reactions;
|
657
657
|
}
|
@@ -662,42 +662,42 @@ declare namespace CodeGuruReviewer {
|
|
662
662
|
export type RecommendationCategory = "AWSBestPractices"|"AWSCloudFormationIssues"|"DuplicateCode"|"CodeMaintenanceIssues"|"ConcurrencyIssues"|"InputValidations"|"PythonBestPractices"|"JavaBestPractices"|"ResourceLeaks"|"SecurityIssues"|"CodeInconsistencies"|string;
|
663
663
|
export interface RecommendationFeedback {
|
664
664
|
/**
|
665
|
-
* The Amazon Resource Name (ARN) of the
|
665
|
+
* The Amazon Resource Name (ARN) of the CodeReview object.
|
666
666
|
*/
|
667
667
|
CodeReviewArn?: Arn;
|
668
668
|
/**
|
669
|
-
*
|
669
|
+
* The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
|
670
670
|
*/
|
671
671
|
RecommendationId?: RecommendationId;
|
672
672
|
/**
|
673
|
-
*
|
673
|
+
* List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.
|
674
674
|
*/
|
675
675
|
Reactions?: Reactions;
|
676
676
|
/**
|
677
|
-
*
|
677
|
+
* The ID of the user that made the API call. The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
|
678
678
|
*/
|
679
679
|
UserId?: UserId;
|
680
680
|
/**
|
681
|
-
*
|
681
|
+
* The time at which the feedback was created.
|
682
682
|
*/
|
683
683
|
CreatedTimeStamp?: TimeStamp;
|
684
684
|
/**
|
685
|
-
*
|
685
|
+
* The time at which the feedback was last updated.
|
686
686
|
*/
|
687
687
|
LastUpdatedTimeStamp?: TimeStamp;
|
688
688
|
}
|
689
689
|
export type RecommendationFeedbackSummaries = RecommendationFeedbackSummary[];
|
690
690
|
export interface RecommendationFeedbackSummary {
|
691
691
|
/**
|
692
|
-
*
|
692
|
+
* The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
|
693
693
|
*/
|
694
694
|
RecommendationId?: RecommendationId;
|
695
695
|
/**
|
696
|
-
*
|
696
|
+
* List for storing reactions. Reactions are utf-8 text code for emojis.
|
697
697
|
*/
|
698
698
|
Reactions?: Reactions;
|
699
699
|
/**
|
700
|
-
*
|
700
|
+
* The ID of the user that gave the feedback. The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
|
701
701
|
*/
|
702
702
|
UserId?: UserId;
|
703
703
|
}
|
@@ -710,19 +710,19 @@ declare namespace CodeGuruReviewer {
|
|
710
710
|
*/
|
711
711
|
FilePath?: FilePath;
|
712
712
|
/**
|
713
|
-
*
|
713
|
+
* The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
|
714
714
|
*/
|
715
715
|
RecommendationId?: RecommendationId;
|
716
716
|
/**
|
717
|
-
*
|
717
|
+
* Start line from where the recommendation is applicable in the source commit or source branch.
|
718
718
|
*/
|
719
719
|
StartLine?: LineNumber;
|
720
720
|
/**
|
721
|
-
*
|
721
|
+
* Last line where the recommendation is applicable in the source commit or source branch. For a single line comment the start line and end line values are the same.
|
722
722
|
*/
|
723
723
|
EndLine?: LineNumber;
|
724
724
|
/**
|
725
|
-
*
|
725
|
+
* A description of the recommendation generated by CodeGuru Reviewer for the lines of code between the start line and the end line.
|
726
726
|
*/
|
727
727
|
Description?: Text;
|
728
728
|
/**
|
@@ -748,14 +748,14 @@ declare namespace CodeGuruReviewer {
|
|
748
748
|
*/
|
749
749
|
Bitbucket?: ThirdPartySourceRepository;
|
750
750
|
/**
|
751
|
-
*
|
751
|
+
* Information about a GitHub Enterprise Server repository.
|
752
752
|
*/
|
753
753
|
GitHubEnterpriseServer?: ThirdPartySourceRepository;
|
754
754
|
S3Bucket?: S3Repository;
|
755
755
|
}
|
756
756
|
export interface RepositoryAnalysis {
|
757
757
|
/**
|
758
|
-
*
|
758
|
+
* A SourceCodeType that specifies the tip of a branch in an associated repository.
|
759
759
|
*/
|
760
760
|
RepositoryHead?: RepositoryHeadSourceCodeType;
|
761
761
|
SourceCodeType?: SourceCodeType;
|
@@ -770,7 +770,7 @@ declare namespace CodeGuruReviewer {
|
|
770
770
|
*/
|
771
771
|
AssociationArn?: Arn;
|
772
772
|
/**
|
773
|
-
*
|
773
|
+
* The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.
|
774
774
|
*/
|
775
775
|
ConnectionArn?: ConnectionArn;
|
776
776
|
/**
|
@@ -786,7 +786,7 @@ declare namespace CodeGuruReviewer {
|
|
786
786
|
*/
|
787
787
|
ProviderType?: ProviderType;
|
788
788
|
/**
|
789
|
-
* The state of the repository association. The valid repository association states are: Associated: The repository association is complete.
|
789
|
+
* The state of the repository association. The valid repository association states are: Associated: The repository association is complete. Associating: CodeGuru Reviewer is: Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review. If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered. Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository. Failed: The repository failed to associate or disassociate. Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access. Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
|
790
790
|
*/
|
791
791
|
State?: RepositoryAssociationState;
|
792
792
|
/**
|
@@ -802,7 +802,7 @@ declare namespace CodeGuruReviewer {
|
|
802
802
|
*/
|
803
803
|
CreatedTimeStamp?: TimeStamp;
|
804
804
|
/**
|
805
|
-
* A KMSKeyDetails object that contains: The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK). The ID of the Amazon Web Services KMS key that is associated with this
|
805
|
+
* A KMSKeyDetails object that contains: The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK). The ID of the Amazon Web Services KMS key that is associated with this repository association.
|
806
806
|
*/
|
807
807
|
KMSKeyDetails?: KMSKeyDetails;
|
808
808
|
S3RepositoryDetails?: S3RepositoryDetails;
|
@@ -812,19 +812,19 @@ declare namespace CodeGuruReviewer {
|
|
812
812
|
export type RepositoryAssociationSummaries = RepositoryAssociationSummary[];
|
813
813
|
export interface RepositoryAssociationSummary {
|
814
814
|
/**
|
815
|
-
*
|
815
|
+
* The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
|
816
816
|
*/
|
817
817
|
AssociationArn?: Arn;
|
818
818
|
/**
|
819
|
-
*
|
819
|
+
* The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.
|
820
820
|
*/
|
821
821
|
ConnectionArn?: ConnectionArn;
|
822
822
|
/**
|
823
|
-
* The time, in milliseconds since the epoch, since the repository association was last updated.
|
823
|
+
* The time, in milliseconds since the epoch, since the repository association was last updated.
|
824
824
|
*/
|
825
825
|
LastUpdatedTimeStamp?: TimeStamp;
|
826
826
|
/**
|
827
|
-
*
|
827
|
+
* The repository association ID.
|
828
828
|
*/
|
829
829
|
AssociationId?: AssociationId;
|
830
830
|
/**
|
@@ -840,13 +840,13 @@ declare namespace CodeGuruReviewer {
|
|
840
840
|
*/
|
841
841
|
ProviderType?: ProviderType;
|
842
842
|
/**
|
843
|
-
* The state of the repository association. The valid repository association states are: Associated: The repository association is complete.
|
843
|
+
* The state of the repository association. The valid repository association states are: Associated: The repository association is complete. Associating: CodeGuru Reviewer is: Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review. If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered. Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository. Failed: The repository failed to associate or disassociate. Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access. Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
|
844
844
|
*/
|
845
845
|
State?: RepositoryAssociationState;
|
846
846
|
}
|
847
847
|
export interface RepositoryHeadSourceCodeType {
|
848
848
|
/**
|
849
|
-
*
|
849
|
+
* The name of the branch in an associated repository. The RepositoryHeadSourceCodeType specifies the tip of this branch.
|
850
850
|
*/
|
851
851
|
BranchName: BranchName;
|
852
852
|
}
|
@@ -866,7 +866,7 @@ declare namespace CodeGuruReviewer {
|
|
866
866
|
*/
|
867
867
|
EventInfo?: EventInfo;
|
868
868
|
/**
|
869
|
-
* The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.
|
869
|
+
* The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.
|
870
870
|
*/
|
871
871
|
VendorName?: VendorName;
|
872
872
|
}
|
@@ -900,17 +900,17 @@ declare namespace CodeGuruReviewer {
|
|
900
900
|
export type S3BucketName = string;
|
901
901
|
export interface S3BucketRepository {
|
902
902
|
/**
|
903
|
-
*
|
903
|
+
* The name of the repository when the ProviderType is S3Bucket.
|
904
904
|
*/
|
905
905
|
Name: Name;
|
906
906
|
/**
|
907
|
-
*
|
907
|
+
* An S3RepositoryDetails object that specifies the name of an S3 bucket and a CodeArtifacts object. The CodeArtifacts object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.
|
908
908
|
*/
|
909
909
|
Details?: S3RepositoryDetails;
|
910
910
|
}
|
911
911
|
export interface S3Repository {
|
912
912
|
/**
|
913
|
-
*
|
913
|
+
* The name of the repository in the S3 bucket.
|
914
914
|
*/
|
915
915
|
Name: Name;
|
916
916
|
/**
|
@@ -924,7 +924,7 @@ declare namespace CodeGuruReviewer {
|
|
924
924
|
*/
|
925
925
|
BucketName?: S3BucketName;
|
926
926
|
/**
|
927
|
-
*
|
927
|
+
* A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.
|
928
928
|
*/
|
929
929
|
CodeArtifacts?: CodeArtifacts;
|
930
930
|
}
|
@@ -933,20 +933,20 @@ declare namespace CodeGuruReviewer {
|
|
933
933
|
export type SourceCodeArtifactsObjectKey = string;
|
934
934
|
export interface SourceCodeType {
|
935
935
|
/**
|
936
|
-
*
|
936
|
+
* A SourceCodeType that specifies a commit diff created by a pull request on an associated repository.
|
937
937
|
*/
|
938
938
|
CommitDiff?: CommitDiffSourceCodeType;
|
939
939
|
RepositoryHead?: RepositoryHeadSourceCodeType;
|
940
940
|
/**
|
941
|
-
*
|
941
|
+
* A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.
|
942
942
|
*/
|
943
943
|
BranchDiff?: BranchDiffSourceCodeType;
|
944
944
|
/**
|
945
|
-
*
|
945
|
+
* Information about an associated repository in an S3 bucket that includes its name and an S3RepositoryDetails object. The S3RepositoryDetails object includes the name of an S3 bucket, an S3 key for a source code .zip file, and an S3 key for a build artifacts .zip file. S3BucketRepository is required in SourceCodeType for S3BucketRepository based code reviews.
|
946
946
|
*/
|
947
947
|
S3BucketRepository?: S3BucketRepository;
|
948
948
|
/**
|
949
|
-
* Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru Reviewer. The RequestMetadaa field captures any event metadata. For example, it might capture metadata associated with an event trigger, such as a push or a pull request.
|
949
|
+
* Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru Reviewer. The RequestMetadaa field captures any event metadata. For example, it might capture metadata associated with an event trigger, such as a push or a pull request.
|
950
950
|
*/
|
951
951
|
RequestMetadata?: RequestMetadata;
|
952
952
|
}
|
@@ -956,11 +956,11 @@ declare namespace CodeGuruReviewer {
|
|
956
956
|
export type TagMap = {[key: string]: TagValue};
|
957
957
|
export interface TagResourceRequest {
|
958
958
|
/**
|
959
|
-
*
|
959
|
+
* The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
|
960
960
|
*/
|
961
961
|
resourceArn: AssociationArn;
|
962
962
|
/**
|
963
|
-
*
|
963
|
+
* An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
|
964
964
|
*/
|
965
965
|
Tags: TagMap;
|
966
966
|
}
|
@@ -970,15 +970,15 @@ declare namespace CodeGuruReviewer {
|
|
970
970
|
export type Text = string;
|
971
971
|
export interface ThirdPartySourceRepository {
|
972
972
|
/**
|
973
|
-
*
|
973
|
+
* The name of the third party source repository.
|
974
974
|
*/
|
975
975
|
Name: Name;
|
976
976
|
/**
|
977
|
-
*
|
977
|
+
* The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.
|
978
978
|
*/
|
979
979
|
ConnectionArn: ConnectionArn;
|
980
980
|
/**
|
981
|
-
*
|
981
|
+
* The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, this can be the username or Amazon Web Services account ID
|
982
982
|
*/
|
983
983
|
Owner: Owner;
|
984
984
|
}
|
@@ -986,7 +986,7 @@ declare namespace CodeGuruReviewer {
|
|
986
986
|
export type Type = "PullRequest"|"RepositoryAnalysis"|string;
|
987
987
|
export interface UntagResourceRequest {
|
988
988
|
/**
|
989
|
-
*
|
989
|
+
* The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
|
990
990
|
*/
|
991
991
|
resourceArn: AssociationArn;
|
992
992
|
/**
|