@aws-sdk/client-codeguru-reviewer 3.533.0 → 3.540.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/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/CodeGuruReviewer.d.ts +2 -1
- package/dist-types/CodeGuruReviewerClient.d.ts +1 -1
- package/dist-types/commands/AssociateRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCodeReviewCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +2 -1
- package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +2 -1
- package/dist-types/commands/ListRecommendationsCommand.d.ts +2 -1
- package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +208 -208
- package/dist-types/ts3.4/CodeGuruReviewer.d.ts +1 -0
- package/dist-types/ts3.4/commands/AssociateRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeRecommendationFeedbackCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisassociateRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +41 -41
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CodeGuruReviewerServiceException as __BaseException } from "./CodeGuruReviewerServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -38,7 +38,6 @@ export declare const EncryptionOption: {
|
|
|
38
38
|
*/
|
|
39
39
|
export type EncryptionOption = (typeof EncryptionOption)[keyof typeof EncryptionOption];
|
|
40
40
|
/**
|
|
41
|
-
* @public
|
|
42
41
|
* <p>An object that contains:</p>
|
|
43
42
|
* <ul>
|
|
44
43
|
* <li>
|
|
@@ -51,100 +50,101 @@ export type EncryptionOption = (typeof EncryptionOption)[keyof typeof Encryption
|
|
|
51
50
|
* association.</p>
|
|
52
51
|
* </li>
|
|
53
52
|
* </ul>
|
|
53
|
+
* @public
|
|
54
54
|
*/
|
|
55
55
|
export interface KMSKeyDetails {
|
|
56
56
|
/**
|
|
57
|
-
* @public
|
|
58
57
|
* <p>The ID of the Amazon Web Services KMS key that is associated with a repository association.</p>
|
|
58
|
+
* @public
|
|
59
59
|
*/
|
|
60
60
|
KMSKeyId?: string;
|
|
61
61
|
/**
|
|
62
|
-
* @public
|
|
63
62
|
* <p>The encryption option for a repository association. It is either owned by Amazon Web Services Key
|
|
64
63
|
* Management Service (KMS) (<code>AWS_OWNED_CMK</code>) or customer managed
|
|
65
64
|
* (<code>CUSTOMER_MANAGED_CMK</code>).</p>
|
|
65
|
+
* @public
|
|
66
66
|
*/
|
|
67
67
|
EncryptionOption?: EncryptionOption;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
-
* @public
|
|
71
70
|
* <p>Information about a third-party source repository connected to CodeGuru Reviewer.</p>
|
|
71
|
+
* @public
|
|
72
72
|
*/
|
|
73
73
|
export interface ThirdPartySourceRepository {
|
|
74
74
|
/**
|
|
75
|
-
* @public
|
|
76
75
|
* <p>The name of the third party source repository.</p>
|
|
76
|
+
* @public
|
|
77
77
|
*/
|
|
78
78
|
Name: string | undefined;
|
|
79
79
|
/**
|
|
80
|
-
* @public
|
|
81
80
|
* <p>The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is <code>arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id</code>. For more information, see <a href="https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html">Connection</a> in the <i>Amazon Web Services CodeStar Connections API Reference</i>.</p>
|
|
81
|
+
* @public
|
|
82
82
|
*/
|
|
83
83
|
ConnectionArn: string | undefined;
|
|
84
84
|
/**
|
|
85
|
-
* @public
|
|
86
85
|
* <p>The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository,
|
|
87
86
|
* this is the username for the account that owns the repository. For an S3 repository, this
|
|
88
87
|
* can be the username or Amazon Web Services account ID </p>
|
|
88
|
+
* @public
|
|
89
89
|
*/
|
|
90
90
|
Owner: string | undefined;
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
|
-
* @public
|
|
94
93
|
* <p>Information about an Amazon Web Services CodeCommit repository. The CodeCommit repository must be in
|
|
95
94
|
* the same Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are
|
|
96
95
|
* configured.</p>
|
|
96
|
+
* @public
|
|
97
97
|
*/
|
|
98
98
|
export interface CodeCommitRepository {
|
|
99
99
|
/**
|
|
100
|
-
* @public
|
|
101
100
|
* <p>The name of the Amazon Web Services CodeCommit repository. For more information, see <a href="https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetRepository.html#CodeCommit-GetRepository-request-repositoryName">repositoryName</a> in the <i>Amazon Web Services CodeCommit API
|
|
102
101
|
* Reference</i>.</p>
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
Name: string | undefined;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
* @public
|
|
108
107
|
* <p>Information about a repository in an S3 bucket.</p>
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
export interface S3Repository {
|
|
111
111
|
/**
|
|
112
|
-
* @public
|
|
113
112
|
* <p>The name of the repository in the S3 bucket.</p>
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
Name: string | undefined;
|
|
116
116
|
/**
|
|
117
|
-
* @public
|
|
118
117
|
* <p>The name of the S3 bucket used for associating a new S3 repository. It must begin with <code>codeguru-reviewer-</code>. </p>
|
|
118
|
+
* @public
|
|
119
119
|
*/
|
|
120
120
|
BucketName: string | undefined;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
* @public
|
|
124
123
|
* <p>Information about an associated Amazon Web Services CodeCommit repository or an associated repository
|
|
125
124
|
* that is managed by Amazon Web Services CodeStar Connections (for example, Bitbucket). This
|
|
126
125
|
* <code>Repository</code> object is not used if your source code is in an associated
|
|
127
126
|
* GitHub repository.</p>
|
|
127
|
+
* @public
|
|
128
128
|
*/
|
|
129
129
|
export interface Repository {
|
|
130
130
|
/**
|
|
131
|
-
* @public
|
|
132
131
|
* <p>Information about an Amazon Web Services CodeCommit repository.</p>
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
CodeCommit?: CodeCommitRepository;
|
|
135
135
|
/**
|
|
136
|
-
* @public
|
|
137
136
|
* <p> Information about a Bitbucket repository. </p>
|
|
137
|
+
* @public
|
|
138
138
|
*/
|
|
139
139
|
Bitbucket?: ThirdPartySourceRepository;
|
|
140
140
|
/**
|
|
141
|
-
* @public
|
|
142
141
|
* <p>Information about a GitHub Enterprise Server repository.</p>
|
|
142
|
+
* @public
|
|
143
143
|
*/
|
|
144
144
|
GitHubEnterpriseServer?: ThirdPartySourceRepository;
|
|
145
145
|
/**
|
|
146
|
-
* @public
|
|
147
146
|
* <p>Information about a repository in an S3 bucket.</p>
|
|
147
|
+
* @public
|
|
148
148
|
*/
|
|
149
149
|
S3Bucket?: S3Repository;
|
|
150
150
|
}
|
|
@@ -153,18 +153,17 @@ export interface Repository {
|
|
|
153
153
|
*/
|
|
154
154
|
export interface AssociateRepositoryRequest {
|
|
155
155
|
/**
|
|
156
|
-
* @public
|
|
157
156
|
* <p>The repository to associate.</p>
|
|
157
|
+
* @public
|
|
158
158
|
*/
|
|
159
159
|
Repository: Repository | undefined;
|
|
160
160
|
/**
|
|
161
|
-
* @public
|
|
162
161
|
* <p>Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository
|
|
163
162
|
* associations if there are failures and retries.</p>
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
ClientRequestToken?: string;
|
|
166
166
|
/**
|
|
167
|
-
* @public
|
|
168
167
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
169
168
|
* <ul>
|
|
170
169
|
* <li>
|
|
@@ -179,10 +178,10 @@ export interface AssociateRepositoryRequest {
|
|
|
179
178
|
* values are case sensitive.</p>
|
|
180
179
|
* </li>
|
|
181
180
|
* </ul>
|
|
181
|
+
* @public
|
|
182
182
|
*/
|
|
183
183
|
Tags?: Record<string, string>;
|
|
184
184
|
/**
|
|
185
|
-
* @public
|
|
186
185
|
* <p>A <code>KMSKeyDetails</code> object that contains:</p>
|
|
187
186
|
* <ul>
|
|
188
187
|
* <li>
|
|
@@ -195,6 +194,7 @@ export interface AssociateRepositoryRequest {
|
|
|
195
194
|
* association.</p>
|
|
196
195
|
* </li>
|
|
197
196
|
* </ul>
|
|
197
|
+
* @public
|
|
198
198
|
*/
|
|
199
199
|
KMSKeyDetails?: KMSKeyDetails;
|
|
200
200
|
}
|
|
@@ -214,7 +214,6 @@ export declare const ProviderType: {
|
|
|
214
214
|
*/
|
|
215
215
|
export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
|
|
216
216
|
/**
|
|
217
|
-
* @public
|
|
218
217
|
* <p>Code artifacts are source code artifacts and build artifacts used in a repository
|
|
219
218
|
* analysis or a pull request review.</p>
|
|
220
219
|
* <ul>
|
|
@@ -227,40 +226,41 @@ export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
|
|
|
227
226
|
* file.</p>
|
|
228
227
|
* </li>
|
|
229
228
|
* </ul>
|
|
229
|
+
* @public
|
|
230
230
|
*/
|
|
231
231
|
export interface CodeArtifacts {
|
|
232
232
|
/**
|
|
233
|
-
* @public
|
|
234
233
|
* <p>The S3 object key for a source code .zip file. This is required for all code
|
|
235
234
|
* reviews.</p>
|
|
235
|
+
* @public
|
|
236
236
|
*/
|
|
237
237
|
SourceCodeArtifactsObjectKey: string | undefined;
|
|
238
238
|
/**
|
|
239
|
-
* @public
|
|
240
239
|
* <p>The S3 object key for a build artifacts .zip file that contains .jar or .class files.
|
|
241
240
|
* This is required for a code review with security analysis. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/working-with-cicd.html">Create
|
|
242
241
|
* code reviews with GitHub Actions</a> in the <i>Amazon CodeGuru Reviewer User
|
|
243
242
|
* Guide</i>.</p>
|
|
243
|
+
* @public
|
|
244
244
|
*/
|
|
245
245
|
BuildArtifactsObjectKey?: string;
|
|
246
246
|
}
|
|
247
247
|
/**
|
|
248
|
-
* @public
|
|
249
248
|
* <p>Specifies the name of an S3 bucket and a <code>CodeArtifacts</code> object that contains
|
|
250
249
|
* the S3 object keys for a source code .zip file and for a build artifacts .zip file that
|
|
251
250
|
* contains .jar or .class files.</p>
|
|
251
|
+
* @public
|
|
252
252
|
*/
|
|
253
253
|
export interface S3RepositoryDetails {
|
|
254
254
|
/**
|
|
255
|
-
* @public
|
|
256
255
|
* <p>The name of the S3 bucket used for associating a new S3 repository. It must begin with <code>codeguru-reviewer-</code>. </p>
|
|
256
|
+
* @public
|
|
257
257
|
*/
|
|
258
258
|
BucketName?: string;
|
|
259
259
|
/**
|
|
260
|
-
* @public
|
|
261
260
|
* <p>A <code>CodeArtifacts</code> object. The <code>CodeArtifacts</code> object includes the
|
|
262
261
|
* S3 object key for a source code .zip file and for a build artifacts .zip file that contains
|
|
263
262
|
* .jar or .class files.</p>
|
|
263
|
+
* @public
|
|
264
264
|
*/
|
|
265
265
|
CodeArtifacts?: CodeArtifacts;
|
|
266
266
|
}
|
|
@@ -280,45 +280,44 @@ export declare const RepositoryAssociationState: {
|
|
|
280
280
|
*/
|
|
281
281
|
export type RepositoryAssociationState = (typeof RepositoryAssociationState)[keyof typeof RepositoryAssociationState];
|
|
282
282
|
/**
|
|
283
|
-
* @public
|
|
284
283
|
* <p>Information about a repository association. The <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_DescribeRepositoryAssociation.html">DescribeRepositoryAssociation</a> operation returns a
|
|
285
284
|
* <code>RepositoryAssociation</code> object.</p>
|
|
285
|
+
* @public
|
|
286
286
|
*/
|
|
287
287
|
export interface RepositoryAssociation {
|
|
288
288
|
/**
|
|
289
|
-
* @public
|
|
290
289
|
* <p>The ID of the repository association.</p>
|
|
290
|
+
* @public
|
|
291
291
|
*/
|
|
292
292
|
AssociationId?: string;
|
|
293
293
|
/**
|
|
294
|
-
* @public
|
|
295
294
|
* <p>The Amazon Resource Name (ARN) identifying the repository association.</p>
|
|
295
|
+
* @public
|
|
296
296
|
*/
|
|
297
297
|
AssociationArn?: string;
|
|
298
298
|
/**
|
|
299
|
-
* @public
|
|
300
299
|
* <p>The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is <code>arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id</code>. For more information, see <a href="https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html">Connection</a> in the <i>Amazon Web Services CodeStar Connections API Reference</i>.</p>
|
|
300
|
+
* @public
|
|
301
301
|
*/
|
|
302
302
|
ConnectionArn?: string;
|
|
303
303
|
/**
|
|
304
|
-
* @public
|
|
305
304
|
* <p>The name of the repository.</p>
|
|
305
|
+
* @public
|
|
306
306
|
*/
|
|
307
307
|
Name?: string;
|
|
308
308
|
/**
|
|
309
|
-
* @public
|
|
310
309
|
* <p>The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the
|
|
311
310
|
* account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.
|
|
312
311
|
* For an S3 repository, it can be the username or Amazon Web Services account ID.</p>
|
|
312
|
+
* @public
|
|
313
313
|
*/
|
|
314
314
|
Owner?: string;
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>The provider type of the repository association.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
ProviderType?: ProviderType;
|
|
320
320
|
/**
|
|
321
|
-
* @public
|
|
322
321
|
* <p>The state of the repository association.</p>
|
|
323
322
|
* <p>The valid repository association states are:</p>
|
|
324
323
|
* <ul>
|
|
@@ -355,27 +354,27 @@ export interface RepositoryAssociation {
|
|
|
355
354
|
* <b>Disassociated</b>: 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 <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html">Using tags to control access to associated repositories</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.</p>
|
|
356
355
|
* </li>
|
|
357
356
|
* </ul>
|
|
357
|
+
* @public
|
|
358
358
|
*/
|
|
359
359
|
State?: RepositoryAssociationState;
|
|
360
360
|
/**
|
|
361
|
-
* @public
|
|
362
361
|
* <p>A description of why the repository association is in the current state.</p>
|
|
362
|
+
* @public
|
|
363
363
|
*/
|
|
364
364
|
StateReason?: string;
|
|
365
365
|
/**
|
|
366
|
-
* @public
|
|
367
366
|
* <p>The time, in milliseconds since the epoch, when the repository association was last
|
|
368
367
|
* updated.</p>
|
|
368
|
+
* @public
|
|
369
369
|
*/
|
|
370
370
|
LastUpdatedTimeStamp?: Date;
|
|
371
371
|
/**
|
|
372
|
-
* @public
|
|
373
372
|
* <p>The time, in milliseconds since the epoch, when the repository association was
|
|
374
373
|
* created.</p>
|
|
374
|
+
* @public
|
|
375
375
|
*/
|
|
376
376
|
CreatedTimeStamp?: Date;
|
|
377
377
|
/**
|
|
378
|
-
* @public
|
|
379
378
|
* <p>A <code>KMSKeyDetails</code> object that contains:</p>
|
|
380
379
|
* <ul>
|
|
381
380
|
* <li>
|
|
@@ -388,13 +387,14 @@ export interface RepositoryAssociation {
|
|
|
388
387
|
* association.</p>
|
|
389
388
|
* </li>
|
|
390
389
|
* </ul>
|
|
390
|
+
* @public
|
|
391
391
|
*/
|
|
392
392
|
KMSKeyDetails?: KMSKeyDetails;
|
|
393
393
|
/**
|
|
394
|
-
* @public
|
|
395
394
|
* <p>Specifies the name of an S3 bucket and a <code>CodeArtifacts</code> object that contains
|
|
396
395
|
* the S3 object keys for a source code .zip file and for a build artifacts .zip file that
|
|
397
396
|
* contains .jar or .class files.</p>
|
|
397
|
+
* @public
|
|
398
398
|
*/
|
|
399
399
|
S3RepositoryDetails?: S3RepositoryDetails;
|
|
400
400
|
}
|
|
@@ -403,12 +403,11 @@ export interface RepositoryAssociation {
|
|
|
403
403
|
*/
|
|
404
404
|
export interface AssociateRepositoryResponse {
|
|
405
405
|
/**
|
|
406
|
-
* @public
|
|
407
406
|
* <p>Information about the repository association.</p>
|
|
407
|
+
* @public
|
|
408
408
|
*/
|
|
409
409
|
RepositoryAssociation?: RepositoryAssociation;
|
|
410
410
|
/**
|
|
411
|
-
* @public
|
|
412
411
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
413
412
|
* <ul>
|
|
414
413
|
* <li>
|
|
@@ -423,14 +422,15 @@ export interface AssociateRepositoryResponse {
|
|
|
423
422
|
* values are case sensitive.</p>
|
|
424
423
|
* </li>
|
|
425
424
|
* </ul>
|
|
425
|
+
* @public
|
|
426
426
|
*/
|
|
427
427
|
Tags?: Record<string, string>;
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
|
-
* @public
|
|
431
430
|
* <p>The requested operation would cause a conflict with the current state of a service
|
|
432
431
|
* resource associated with the request. Resolve the conflict before retrying this request.
|
|
433
432
|
* </p>
|
|
433
|
+
* @public
|
|
434
434
|
*/
|
|
435
435
|
export declare class ConflictException extends __BaseException {
|
|
436
436
|
readonly name: "ConflictException";
|
|
@@ -442,8 +442,8 @@ export declare class ConflictException extends __BaseException {
|
|
|
442
442
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
443
443
|
}
|
|
444
444
|
/**
|
|
445
|
-
* @public
|
|
446
445
|
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
446
|
+
* @public
|
|
447
447
|
*/
|
|
448
448
|
export declare class InternalServerException extends __BaseException {
|
|
449
449
|
readonly name: "InternalServerException";
|
|
@@ -455,8 +455,8 @@ export declare class InternalServerException extends __BaseException {
|
|
|
455
455
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
456
456
|
}
|
|
457
457
|
/**
|
|
458
|
-
* @public
|
|
459
458
|
* <p>The request was denied due to request throttling.</p>
|
|
459
|
+
* @public
|
|
460
460
|
*/
|
|
461
461
|
export declare class ThrottlingException extends __BaseException {
|
|
462
462
|
readonly name: "ThrottlingException";
|
|
@@ -468,8 +468,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
468
468
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
|
-
* @public
|
|
472
471
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
472
|
+
* @public
|
|
473
473
|
*/
|
|
474
474
|
export declare class ValidationException extends __BaseException {
|
|
475
475
|
readonly name: "ValidationException";
|
|
@@ -481,78 +481,78 @@ export declare class ValidationException extends __BaseException {
|
|
|
481
481
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
482
482
|
}
|
|
483
483
|
/**
|
|
484
|
-
* @public
|
|
485
484
|
* <p>A <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that specifies the tip of a branch in an associated
|
|
486
485
|
* repository.</p>
|
|
486
|
+
* @public
|
|
487
487
|
*/
|
|
488
488
|
export interface RepositoryHeadSourceCodeType {
|
|
489
489
|
/**
|
|
490
|
-
* @public
|
|
491
490
|
* <p>The name of the branch in an associated repository. The
|
|
492
491
|
* <code>RepositoryHeadSourceCodeType</code> specifies the tip of this branch.</p>
|
|
492
|
+
* @public
|
|
493
493
|
*/
|
|
494
494
|
BranchName: string | undefined;
|
|
495
495
|
}
|
|
496
496
|
/**
|
|
497
|
-
* @public
|
|
498
497
|
* <p>A type of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that
|
|
499
498
|
* specifies a code diff between a source and destination branch in an associated
|
|
500
499
|
* repository.</p>
|
|
500
|
+
* @public
|
|
501
501
|
*/
|
|
502
502
|
export interface BranchDiffSourceCodeType {
|
|
503
503
|
/**
|
|
504
|
-
* @public
|
|
505
504
|
* <p>The source branch for a diff in an associated repository.</p>
|
|
505
|
+
* @public
|
|
506
506
|
*/
|
|
507
507
|
SourceBranchName: string | undefined;
|
|
508
508
|
/**
|
|
509
|
-
* @public
|
|
510
509
|
* <p>The destination branch for a diff in an associated repository.</p>
|
|
510
|
+
* @public
|
|
511
511
|
*/
|
|
512
512
|
DestinationBranchName: string | undefined;
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
|
-
* @public
|
|
516
515
|
* <p>A type of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that
|
|
517
516
|
* specifies the commit diff for a pull request on an associated repository. The
|
|
518
517
|
* <code>SourceCommit</code> and <code>DestinationCommit</code> fields are required to do a
|
|
519
518
|
* pull request code review.</p>
|
|
519
|
+
* @public
|
|
520
520
|
*/
|
|
521
521
|
export interface CommitDiffSourceCodeType {
|
|
522
522
|
/**
|
|
523
|
-
* @public
|
|
524
523
|
* <p>The SHA of the source commit used to generate a commit diff. This field is required for
|
|
525
524
|
* a pull request code review.</p>
|
|
525
|
+
* @public
|
|
526
526
|
*/
|
|
527
527
|
SourceCommit?: string;
|
|
528
528
|
/**
|
|
529
|
-
* @public
|
|
530
529
|
* <p>The SHA of the destination commit used to generate a commit diff. This field is required
|
|
531
530
|
* for a pull request code review.</p>
|
|
531
|
+
* @public
|
|
532
532
|
*/
|
|
533
533
|
DestinationCommit?: string;
|
|
534
534
|
/**
|
|
535
|
-
* @public
|
|
536
535
|
* <p>The SHA of the merge base of a commit.</p>
|
|
536
|
+
* @public
|
|
537
537
|
*/
|
|
538
538
|
MergeBaseCommit?: string;
|
|
539
539
|
}
|
|
540
540
|
/**
|
|
541
|
-
* @public
|
|
542
541
|
* <p>Information about an event. The event might be a push, pull request, scheduled request,
|
|
543
542
|
* or another type of event.</p>
|
|
543
|
+
* @public
|
|
544
544
|
*/
|
|
545
545
|
export interface EventInfo {
|
|
546
546
|
/**
|
|
547
|
-
* @public
|
|
548
547
|
* <p>The name of the event. The possible names are <code>pull_request</code>,
|
|
549
548
|
* <code>workflow_dispatch</code>, <code>schedule</code>, and <code>push</code>
|
|
550
549
|
* </p>
|
|
550
|
+
* @public
|
|
551
551
|
*/
|
|
552
552
|
Name?: string;
|
|
553
553
|
/**
|
|
554
|
-
* @public
|
|
555
554
|
* <p>The state of an event. The state might be open, closed, or another state.</p>
|
|
555
|
+
* @public
|
|
556
556
|
*/
|
|
557
557
|
State?: string;
|
|
558
558
|
}
|
|
@@ -570,115 +570,114 @@ export declare const VendorName: {
|
|
|
570
570
|
*/
|
|
571
571
|
export type VendorName = (typeof VendorName)[keyof typeof VendorName];
|
|
572
572
|
/**
|
|
573
|
-
* @public
|
|
574
573
|
* <p>Metadata that is associated with a code review. This applies to both pull request and
|
|
575
574
|
* repository analysis code reviews.</p>
|
|
575
|
+
* @public
|
|
576
576
|
*/
|
|
577
577
|
export interface RequestMetadata {
|
|
578
578
|
/**
|
|
579
|
-
* @public
|
|
580
579
|
* <p>The ID of the request. This is required for a pull request code review.</p>
|
|
580
|
+
* @public
|
|
581
581
|
*/
|
|
582
582
|
RequestId?: string;
|
|
583
583
|
/**
|
|
584
|
-
* @public
|
|
585
584
|
* <p>An identifier, such as a name or account ID, that is associated with the requester. The
|
|
586
585
|
* <code>Requester</code> is used to capture the <code>author/actor</code> name of the
|
|
587
586
|
* event request.</p>
|
|
587
|
+
* @public
|
|
588
588
|
*/
|
|
589
589
|
Requester?: string;
|
|
590
590
|
/**
|
|
591
|
-
* @public
|
|
592
591
|
* <p>Information about the event associated with a code review.</p>
|
|
592
|
+
* @public
|
|
593
593
|
*/
|
|
594
594
|
EventInfo?: EventInfo;
|
|
595
595
|
/**
|
|
596
|
-
* @public
|
|
597
596
|
* <p>The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code
|
|
598
597
|
* review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code
|
|
599
598
|
* review by GitHub scripts from a GitHub repository, then the repository association's
|
|
600
599
|
* <code>ProviderType</code> is <code>S3Bucket</code> and the CI/CD repository vendor name
|
|
601
600
|
* is GitHub. For more information, see the definition for <code>ProviderType</code> in <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a>.</p>
|
|
601
|
+
* @public
|
|
602
602
|
*/
|
|
603
603
|
VendorName?: VendorName;
|
|
604
604
|
}
|
|
605
605
|
/**
|
|
606
|
-
* @public
|
|
607
606
|
* <p>Information about an associated repository in an S3 bucket. The associated repository
|
|
608
607
|
* contains a source code .zip file and a build artifacts .zip file that contains .jar or
|
|
609
608
|
* .class files.</p>
|
|
609
|
+
* @public
|
|
610
610
|
*/
|
|
611
611
|
export interface S3BucketRepository {
|
|
612
612
|
/**
|
|
613
|
-
* @public
|
|
614
613
|
* <p>The name of the repository when the <code>ProviderType</code> is
|
|
615
614
|
* <code>S3Bucket</code>.</p>
|
|
615
|
+
* @public
|
|
616
616
|
*/
|
|
617
617
|
Name: string | undefined;
|
|
618
618
|
/**
|
|
619
|
-
* @public
|
|
620
619
|
* <p>An <code>S3RepositoryDetails</code> object that specifies the name of an S3 bucket and a <code>CodeArtifacts</code> object. The <code>CodeArtifacts</code> object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.</p>
|
|
620
|
+
* @public
|
|
621
621
|
*/
|
|
622
622
|
Details?: S3RepositoryDetails;
|
|
623
623
|
}
|
|
624
624
|
/**
|
|
625
|
-
* @public
|
|
626
625
|
* <p>Specifies the source code that is analyzed in a code review.</p>
|
|
626
|
+
* @public
|
|
627
627
|
*/
|
|
628
628
|
export interface SourceCodeType {
|
|
629
629
|
/**
|
|
630
|
-
* @public
|
|
631
630
|
* <p>A <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that specifies a commit diff created by a pull request on an
|
|
632
631
|
* associated repository.</p>
|
|
632
|
+
* @public
|
|
633
633
|
*/
|
|
634
634
|
CommitDiff?: CommitDiffSourceCodeType;
|
|
635
635
|
/**
|
|
636
|
-
* @public
|
|
637
636
|
* <p>A <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that specifies the tip of a branch in an associated
|
|
638
637
|
* repository.</p>
|
|
638
|
+
* @public
|
|
639
639
|
*/
|
|
640
640
|
RepositoryHead?: RepositoryHeadSourceCodeType;
|
|
641
641
|
/**
|
|
642
|
-
* @public
|
|
643
642
|
* <p>A type of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that
|
|
644
643
|
* specifies a source branch name and a destination branch name in an associated
|
|
645
644
|
* repository.</p>
|
|
645
|
+
* @public
|
|
646
646
|
*/
|
|
647
647
|
BranchDiff?: BranchDiffSourceCodeType;
|
|
648
648
|
/**
|
|
649
|
-
* @public
|
|
650
649
|
* <p>Information about an associated repository in an S3 bucket that includes its name and an <code>S3RepositoryDetails</code> object. The <code>S3RepositoryDetails</code> 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. <code>S3BucketRepository</code> is required in <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> for <code>S3BucketRepository</code> based code reviews.</p>
|
|
650
|
+
* @public
|
|
651
651
|
*/
|
|
652
652
|
S3BucketRepository?: S3BucketRepository;
|
|
653
653
|
/**
|
|
654
|
-
* @public
|
|
655
654
|
* <p>Metadata that is associated with a code review. This applies to any type of code review
|
|
656
655
|
* supported by CodeGuru Reviewer. The <code>RequestMetadaa</code> field captures any event metadata. For
|
|
657
656
|
* example, it might capture metadata associated with an event trigger, such as a push or a
|
|
658
657
|
* pull request.</p>
|
|
658
|
+
* @public
|
|
659
659
|
*/
|
|
660
660
|
RequestMetadata?: RequestMetadata;
|
|
661
661
|
}
|
|
662
662
|
/**
|
|
663
|
-
* @public
|
|
664
663
|
* <p>A code review type that analyzes all code under a specified branch in an associated
|
|
665
664
|
* repository. The associated repository is specified using its ARN when you call <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview">CreateCodeReview</a>.</p>
|
|
665
|
+
* @public
|
|
666
666
|
*/
|
|
667
667
|
export interface RepositoryAnalysis {
|
|
668
668
|
/**
|
|
669
|
-
* @public
|
|
670
669
|
* <p>A <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that specifies the tip of a branch in an associated
|
|
671
670
|
* repository.</p>
|
|
671
|
+
* @public
|
|
672
672
|
*/
|
|
673
673
|
RepositoryHead?: RepositoryHeadSourceCodeType;
|
|
674
674
|
/**
|
|
675
|
-
* @public
|
|
676
675
|
* <p>Specifies the source code that is analyzed in a code review.</p>
|
|
676
|
+
* @public
|
|
677
677
|
*/
|
|
678
678
|
SourceCodeType?: SourceCodeType;
|
|
679
679
|
}
|
|
680
680
|
/**
|
|
681
|
-
* @public
|
|
682
681
|
* <p>The type of a code review. There are two code review types:</p>
|
|
683
682
|
* <ul>
|
|
684
683
|
* <li>
|
|
@@ -693,18 +692,19 @@ export interface RepositoryAnalysis {
|
|
|
693
692
|
* using its ARN in <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview">CreateCodeReview</a>.</p>
|
|
694
693
|
* </li>
|
|
695
694
|
* </ul>
|
|
695
|
+
* @public
|
|
696
696
|
*/
|
|
697
697
|
export interface CodeReviewType {
|
|
698
698
|
/**
|
|
699
|
-
* @public
|
|
700
699
|
* <p>A code review that analyzes all code under a specified branch in an associated
|
|
701
700
|
* repository. The associated repository is specified using its ARN in <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview">CreateCodeReview</a>.</p>
|
|
701
|
+
* @public
|
|
702
702
|
*/
|
|
703
703
|
RepositoryAnalysis: RepositoryAnalysis | undefined;
|
|
704
704
|
/**
|
|
705
|
-
* @public
|
|
706
705
|
* <p>They types of analysis performed during a repository analysis or a pull request review.
|
|
707
706
|
* You can specify either <code>Security</code>, <code>CodeQuality</code>, or both.</p>
|
|
707
|
+
* @public
|
|
708
708
|
*/
|
|
709
709
|
AnalysisTypes?: AnalysisType[];
|
|
710
710
|
}
|
|
@@ -713,28 +713,28 @@ export interface CodeReviewType {
|
|
|
713
713
|
*/
|
|
714
714
|
export interface CreateCodeReviewRequest {
|
|
715
715
|
/**
|
|
716
|
-
* @public
|
|
717
716
|
* <p>The name of the code review. The name of each code review in your Amazon Web Services account must be
|
|
718
717
|
* unique.</p>
|
|
718
|
+
* @public
|
|
719
719
|
*/
|
|
720
720
|
Name: string | undefined;
|
|
721
721
|
/**
|
|
722
|
-
* @public
|
|
723
722
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object. You can retrieve this ARN by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
724
723
|
* <p>A code review can only be created on an associated repository. This is the ARN of the
|
|
725
724
|
* associated repository.</p>
|
|
725
|
+
* @public
|
|
726
726
|
*/
|
|
727
727
|
RepositoryAssociationArn: string | undefined;
|
|
728
728
|
/**
|
|
729
|
-
* @public
|
|
730
729
|
* <p>The type of code review to create. This is specified using a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html">CodeReviewType</a>
|
|
731
730
|
* object. You can create a code review only of type <code>RepositoryAnalysis</code>.</p>
|
|
731
|
+
* @public
|
|
732
732
|
*/
|
|
733
733
|
Type: CodeReviewType | undefined;
|
|
734
734
|
/**
|
|
735
|
-
* @public
|
|
736
735
|
* <p>Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews
|
|
737
736
|
* if there are failures and retries.</p>
|
|
737
|
+
* @public
|
|
738
738
|
*/
|
|
739
739
|
ClientRequestToken?: string;
|
|
740
740
|
}
|
|
@@ -752,31 +752,31 @@ export declare const ConfigFileState: {
|
|
|
752
752
|
*/
|
|
753
753
|
export type ConfigFileState = (typeof ConfigFileState)[keyof typeof ConfigFileState];
|
|
754
754
|
/**
|
|
755
|
-
* @public
|
|
756
755
|
* <p>Information about the statistics from the code review.</p>
|
|
756
|
+
* @public
|
|
757
757
|
*/
|
|
758
758
|
export interface Metrics {
|
|
759
759
|
/**
|
|
760
|
-
* @public
|
|
761
760
|
* <p>
|
|
762
761
|
* <code>MeteredLinesOfCodeCount</code> is the number of lines of code in the repository
|
|
763
762
|
* where the code review happened. This does not include non-code lines such as comments and
|
|
764
763
|
* blank lines.</p>
|
|
764
|
+
* @public
|
|
765
765
|
*/
|
|
766
766
|
MeteredLinesOfCodeCount?: number;
|
|
767
767
|
/**
|
|
768
|
-
* @public
|
|
769
768
|
* <p>
|
|
770
769
|
* <code>SuppressedLinesOfCodeCount</code> is the number of lines of code in the repository
|
|
771
770
|
* where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the
|
|
772
771
|
* analysis is based on the <code>excludeFiles</code> variable in the
|
|
773
772
|
* <code>aws-codeguru-reviewer.yml</code> file. This number does not include non-code lines
|
|
774
773
|
* such as comments and blank lines. </p>
|
|
774
|
+
* @public
|
|
775
775
|
*/
|
|
776
776
|
SuppressedLinesOfCodeCount?: number;
|
|
777
777
|
/**
|
|
778
|
-
* @public
|
|
779
778
|
* <p>Total number of recommendations found in the code review.</p>
|
|
779
|
+
* @public
|
|
780
780
|
*/
|
|
781
781
|
FindingsCount?: number;
|
|
782
782
|
}
|
|
@@ -807,42 +807,41 @@ export declare const Type: {
|
|
|
807
807
|
*/
|
|
808
808
|
export type Type = (typeof Type)[keyof typeof Type];
|
|
809
809
|
/**
|
|
810
|
-
* @public
|
|
811
810
|
* <p>Information about a code review. A code review belongs to the associated repository that
|
|
812
811
|
* contains the reviewed code.</p>
|
|
812
|
+
* @public
|
|
813
813
|
*/
|
|
814
814
|
export interface CodeReview {
|
|
815
815
|
/**
|
|
816
|
-
* @public
|
|
817
816
|
* <p>The name of the code review.</p>
|
|
817
|
+
* @public
|
|
818
818
|
*/
|
|
819
819
|
Name?: string;
|
|
820
820
|
/**
|
|
821
|
-
* @public
|
|
822
821
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object.
|
|
823
822
|
* </p>
|
|
823
|
+
* @public
|
|
824
824
|
*/
|
|
825
825
|
CodeReviewArn?: string;
|
|
826
826
|
/**
|
|
827
|
-
* @public
|
|
828
827
|
* <p>The name of the repository.</p>
|
|
828
|
+
* @public
|
|
829
829
|
*/
|
|
830
830
|
RepositoryName?: string;
|
|
831
831
|
/**
|
|
832
|
-
* @public
|
|
833
832
|
* <p>The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the
|
|
834
833
|
* account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.
|
|
835
834
|
* For an S3 repository, it can be the username or Amazon Web Services account ID.</p>
|
|
835
|
+
* @public
|
|
836
836
|
*/
|
|
837
837
|
Owner?: string;
|
|
838
838
|
/**
|
|
839
|
-
* @public
|
|
840
839
|
* <p>The type of repository that contains the reviewed code (for example, GitHub or
|
|
841
840
|
* Bitbucket).</p>
|
|
841
|
+
* @public
|
|
842
842
|
*/
|
|
843
843
|
ProviderType?: ProviderType;
|
|
844
844
|
/**
|
|
845
|
-
* @public
|
|
846
845
|
* <p>The valid code review states are:</p>
|
|
847
846
|
* <ul>
|
|
848
847
|
* <li>
|
|
@@ -862,60 +861,61 @@ export interface CodeReview {
|
|
|
862
861
|
* <code>Deleting</code>: The code review is being deleted.</p>
|
|
863
862
|
* </li>
|
|
864
863
|
* </ul>
|
|
864
|
+
* @public
|
|
865
865
|
*/
|
|
866
866
|
State?: JobState;
|
|
867
867
|
/**
|
|
868
|
-
* @public
|
|
869
868
|
* <p>The reason for the state of the code review.</p>
|
|
869
|
+
* @public
|
|
870
870
|
*/
|
|
871
871
|
StateReason?: string;
|
|
872
872
|
/**
|
|
873
|
-
* @public
|
|
874
873
|
* <p>The time, in milliseconds since the epoch, when the code review was created.</p>
|
|
874
|
+
* @public
|
|
875
875
|
*/
|
|
876
876
|
CreatedTimeStamp?: Date;
|
|
877
877
|
/**
|
|
878
|
-
* @public
|
|
879
878
|
* <p>The time, in milliseconds since the epoch, when the code review was last updated.</p>
|
|
879
|
+
* @public
|
|
880
880
|
*/
|
|
881
881
|
LastUpdatedTimeStamp?: Date;
|
|
882
882
|
/**
|
|
883
|
-
* @public
|
|
884
883
|
* <p>The type of code review.</p>
|
|
884
|
+
* @public
|
|
885
885
|
*/
|
|
886
886
|
Type?: Type;
|
|
887
887
|
/**
|
|
888
|
-
* @public
|
|
889
888
|
* <p>The pull request ID for the code review.</p>
|
|
889
|
+
* @public
|
|
890
890
|
*/
|
|
891
891
|
PullRequestId?: string;
|
|
892
892
|
/**
|
|
893
|
-
* @public
|
|
894
893
|
* <p>The type of the source code for the code review.</p>
|
|
894
|
+
* @public
|
|
895
895
|
*/
|
|
896
896
|
SourceCodeType?: SourceCodeType;
|
|
897
897
|
/**
|
|
898
|
-
* @public
|
|
899
898
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> that contains the reviewed source code. You can retrieve
|
|
900
899
|
* associated repository ARNs by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
900
|
+
* @public
|
|
901
901
|
*/
|
|
902
902
|
AssociationArn?: string;
|
|
903
903
|
/**
|
|
904
|
-
* @public
|
|
905
904
|
* <p>The statistics from the code review.</p>
|
|
905
|
+
* @public
|
|
906
906
|
*/
|
|
907
907
|
Metrics?: Metrics;
|
|
908
908
|
/**
|
|
909
|
-
* @public
|
|
910
909
|
* <p>The types of analysis performed during a repository analysis or a pull request review.
|
|
911
910
|
* You can specify either <code>Security</code>, <code>CodeQuality</code>, or both.</p>
|
|
911
|
+
* @public
|
|
912
912
|
*/
|
|
913
913
|
AnalysisTypes?: AnalysisType[];
|
|
914
914
|
/**
|
|
915
|
-
* @public
|
|
916
915
|
* <p>The state of the <code>aws-codeguru-reviewer.yml</code> configuration file that allows
|
|
917
916
|
* the configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists
|
|
918
917
|
* with errors at the root directory of your repository.</p>
|
|
918
|
+
* @public
|
|
919
919
|
*/
|
|
920
920
|
ConfigFileState?: ConfigFileState;
|
|
921
921
|
}
|
|
@@ -924,15 +924,15 @@ export interface CodeReview {
|
|
|
924
924
|
*/
|
|
925
925
|
export interface CreateCodeReviewResponse {
|
|
926
926
|
/**
|
|
927
|
-
* @public
|
|
928
927
|
* <p>Information about a code review. A code review belongs to the associated repository that
|
|
929
928
|
* contains the reviewed code.</p>
|
|
929
|
+
* @public
|
|
930
930
|
*/
|
|
931
931
|
CodeReview?: CodeReview;
|
|
932
932
|
}
|
|
933
933
|
/**
|
|
934
|
-
* @public
|
|
935
934
|
* <p> The resource specified in the request was not found. </p>
|
|
935
|
+
* @public
|
|
936
936
|
*/
|
|
937
937
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
938
938
|
readonly name: "ResourceNotFoundException";
|
|
@@ -948,9 +948,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
948
948
|
*/
|
|
949
949
|
export interface DescribeCodeReviewRequest {
|
|
950
950
|
/**
|
|
951
|
-
* @public
|
|
952
951
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object.
|
|
953
952
|
* </p>
|
|
953
|
+
* @public
|
|
954
954
|
*/
|
|
955
955
|
CodeReviewArn: string | undefined;
|
|
956
956
|
}
|
|
@@ -959,8 +959,8 @@ export interface DescribeCodeReviewRequest {
|
|
|
959
959
|
*/
|
|
960
960
|
export interface DescribeCodeReviewResponse {
|
|
961
961
|
/**
|
|
962
|
-
* @public
|
|
963
962
|
* <p>Information about the code review.</p>
|
|
963
|
+
* @public
|
|
964
964
|
*/
|
|
965
965
|
CodeReview?: CodeReview;
|
|
966
966
|
}
|
|
@@ -969,25 +969,25 @@ export interface DescribeCodeReviewResponse {
|
|
|
969
969
|
*/
|
|
970
970
|
export interface DescribeRecommendationFeedbackRequest {
|
|
971
971
|
/**
|
|
972
|
-
* @public
|
|
973
972
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object.
|
|
974
973
|
* </p>
|
|
974
|
+
* @public
|
|
975
975
|
*/
|
|
976
976
|
CodeReviewArn: string | undefined;
|
|
977
977
|
/**
|
|
978
|
-
* @public
|
|
979
978
|
* <p>The recommendation ID that can be used to track the provided recommendations and then to
|
|
980
979
|
* collect the feedback.</p>
|
|
980
|
+
* @public
|
|
981
981
|
*/
|
|
982
982
|
RecommendationId: string | undefined;
|
|
983
983
|
/**
|
|
984
|
-
* @public
|
|
985
984
|
* <p>Optional parameter to describe the feedback for a given user. If this is not supplied,
|
|
986
985
|
* it defaults to the user making the request.</p>
|
|
987
986
|
* <p>
|
|
988
987
|
* The <code>UserId</code> is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For
|
|
989
988
|
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying">
|
|
990
989
|
* Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
990
|
+
* @public
|
|
991
991
|
*/
|
|
992
992
|
UserId?: string;
|
|
993
993
|
}
|
|
@@ -1004,45 +1004,45 @@ export declare const Reaction: {
|
|
|
1004
1004
|
*/
|
|
1005
1005
|
export type Reaction = (typeof Reaction)[keyof typeof Reaction];
|
|
1006
1006
|
/**
|
|
1007
|
-
* @public
|
|
1008
1007
|
* <p>Information about the recommendation feedback.</p>
|
|
1008
|
+
* @public
|
|
1009
1009
|
*/
|
|
1010
1010
|
export interface RecommendationFeedback {
|
|
1011
1011
|
/**
|
|
1012
|
-
* @public
|
|
1013
1012
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object.
|
|
1014
1013
|
* </p>
|
|
1014
|
+
* @public
|
|
1015
1015
|
*/
|
|
1016
1016
|
CodeReviewArn?: string;
|
|
1017
1017
|
/**
|
|
1018
|
-
* @public
|
|
1019
1018
|
* <p>The recommendation ID that can be used to track the provided recommendations. Later on
|
|
1020
1019
|
* it can be used to collect the feedback.</p>
|
|
1020
|
+
* @public
|
|
1021
1021
|
*/
|
|
1022
1022
|
RecommendationId?: string;
|
|
1023
1023
|
/**
|
|
1024
|
-
* @public
|
|
1025
1024
|
* <p>List for storing reactions. Reactions are utf-8 text code for emojis. You can send an
|
|
1026
1025
|
* empty list to clear off all your feedback.</p>
|
|
1026
|
+
* @public
|
|
1027
1027
|
*/
|
|
1028
1028
|
Reactions?: Reaction[];
|
|
1029
1029
|
/**
|
|
1030
|
-
* @public
|
|
1031
1030
|
* <p>The ID of the user that made the API call.</p>
|
|
1032
1031
|
* <p>
|
|
1033
1032
|
* The <code>UserId</code> is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For
|
|
1034
1033
|
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying">
|
|
1035
1034
|
* Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
1035
|
+
* @public
|
|
1036
1036
|
*/
|
|
1037
1037
|
UserId?: string;
|
|
1038
1038
|
/**
|
|
1039
|
-
* @public
|
|
1040
1039
|
* <p>The time at which the feedback was created.</p>
|
|
1040
|
+
* @public
|
|
1041
1041
|
*/
|
|
1042
1042
|
CreatedTimeStamp?: Date;
|
|
1043
1043
|
/**
|
|
1044
|
-
* @public
|
|
1045
1044
|
* <p>The time at which the feedback was last updated.</p>
|
|
1045
|
+
* @public
|
|
1046
1046
|
*/
|
|
1047
1047
|
LastUpdatedTimeStamp?: Date;
|
|
1048
1048
|
}
|
|
@@ -1051,8 +1051,8 @@ export interface RecommendationFeedback {
|
|
|
1051
1051
|
*/
|
|
1052
1052
|
export interface DescribeRecommendationFeedbackResponse {
|
|
1053
1053
|
/**
|
|
1054
|
-
* @public
|
|
1055
1054
|
* <p>The recommendation feedback given by the user.</p>
|
|
1055
|
+
* @public
|
|
1056
1056
|
*/
|
|
1057
1057
|
RecommendationFeedback?: RecommendationFeedback;
|
|
1058
1058
|
}
|
|
@@ -1061,8 +1061,8 @@ export interface DescribeRecommendationFeedbackResponse {
|
|
|
1061
1061
|
*/
|
|
1062
1062
|
export interface DescribeRepositoryAssociationRequest {
|
|
1063
1063
|
/**
|
|
1064
|
-
* @public
|
|
1065
1064
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object. You can retrieve this ARN by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
1065
|
+
* @public
|
|
1066
1066
|
*/
|
|
1067
1067
|
AssociationArn: string | undefined;
|
|
1068
1068
|
}
|
|
@@ -1071,12 +1071,11 @@ export interface DescribeRepositoryAssociationRequest {
|
|
|
1071
1071
|
*/
|
|
1072
1072
|
export interface DescribeRepositoryAssociationResponse {
|
|
1073
1073
|
/**
|
|
1074
|
-
* @public
|
|
1075
1074
|
* <p>Information about the repository association.</p>
|
|
1075
|
+
* @public
|
|
1076
1076
|
*/
|
|
1077
1077
|
RepositoryAssociation?: RepositoryAssociation;
|
|
1078
1078
|
/**
|
|
1079
|
-
* @public
|
|
1080
1079
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
1081
1080
|
* <ul>
|
|
1082
1081
|
* <li>
|
|
@@ -1091,12 +1090,13 @@ export interface DescribeRepositoryAssociationResponse {
|
|
|
1091
1090
|
* values are case sensitive.</p>
|
|
1092
1091
|
* </li>
|
|
1093
1092
|
* </ul>
|
|
1093
|
+
* @public
|
|
1094
1094
|
*/
|
|
1095
1095
|
Tags?: Record<string, string>;
|
|
1096
1096
|
}
|
|
1097
1097
|
/**
|
|
1098
|
-
* @public
|
|
1099
1098
|
* <p>The resource specified in the request was not found.</p>
|
|
1099
|
+
* @public
|
|
1100
1100
|
*/
|
|
1101
1101
|
export declare class NotFoundException extends __BaseException {
|
|
1102
1102
|
readonly name: "NotFoundException";
|
|
@@ -1112,8 +1112,8 @@ export declare class NotFoundException extends __BaseException {
|
|
|
1112
1112
|
*/
|
|
1113
1113
|
export interface DisassociateRepositoryRequest {
|
|
1114
1114
|
/**
|
|
1115
|
-
* @public
|
|
1116
1115
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object. You can retrieve this ARN by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
1116
|
+
* @public
|
|
1117
1117
|
*/
|
|
1118
1118
|
AssociationArn: string | undefined;
|
|
1119
1119
|
}
|
|
@@ -1122,12 +1122,11 @@ export interface DisassociateRepositoryRequest {
|
|
|
1122
1122
|
*/
|
|
1123
1123
|
export interface DisassociateRepositoryResponse {
|
|
1124
1124
|
/**
|
|
1125
|
-
* @public
|
|
1126
1125
|
* <p>Information about the disassociated repository.</p>
|
|
1126
|
+
* @public
|
|
1127
1127
|
*/
|
|
1128
1128
|
RepositoryAssociation?: RepositoryAssociation;
|
|
1129
1129
|
/**
|
|
1130
|
-
* @public
|
|
1131
1130
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
1132
1131
|
* <ul>
|
|
1133
1132
|
* <li>
|
|
@@ -1142,6 +1141,7 @@ export interface DisassociateRepositoryResponse {
|
|
|
1142
1141
|
* values are case sensitive.</p>
|
|
1143
1142
|
* </li>
|
|
1144
1143
|
* </ul>
|
|
1144
|
+
* @public
|
|
1145
1145
|
*/
|
|
1146
1146
|
Tags?: Record<string, string>;
|
|
1147
1147
|
}
|
|
@@ -1150,14 +1150,13 @@ export interface DisassociateRepositoryResponse {
|
|
|
1150
1150
|
*/
|
|
1151
1151
|
export interface ListCodeReviewsRequest {
|
|
1152
1152
|
/**
|
|
1153
|
-
* @public
|
|
1154
1153
|
* <p>List of provider types for filtering that needs to be applied before displaying the
|
|
1155
1154
|
* result. For example, <code>providerTypes=[GitHub]</code> lists code reviews from
|
|
1156
1155
|
* GitHub.</p>
|
|
1156
|
+
* @public
|
|
1157
1157
|
*/
|
|
1158
1158
|
ProviderTypes?: ProviderType[];
|
|
1159
1159
|
/**
|
|
1160
|
-
* @public
|
|
1161
1160
|
* <p>List of states for filtering that needs to be applied before displaying the result. For
|
|
1162
1161
|
* example, <code>states=[Pending]</code> lists code reviews in the Pending state.</p>
|
|
1163
1162
|
* <p>The valid code review states are:</p>
|
|
@@ -1179,40 +1178,40 @@ export interface ListCodeReviewsRequest {
|
|
|
1179
1178
|
* <code>Deleting</code>: The code review is being deleted.</p>
|
|
1180
1179
|
* </li>
|
|
1181
1180
|
* </ul>
|
|
1181
|
+
* @public
|
|
1182
1182
|
*/
|
|
1183
1183
|
States?: JobState[];
|
|
1184
1184
|
/**
|
|
1185
|
-
* @public
|
|
1186
1185
|
* <p>List of repository names for filtering that needs to be applied before displaying the
|
|
1187
1186
|
* result.</p>
|
|
1187
|
+
* @public
|
|
1188
1188
|
*/
|
|
1189
1189
|
RepositoryNames?: string[];
|
|
1190
1190
|
/**
|
|
1191
|
-
* @public
|
|
1192
1191
|
* <p>The type of code reviews to list in the response.</p>
|
|
1192
|
+
* @public
|
|
1193
1193
|
*/
|
|
1194
1194
|
Type: Type | undefined;
|
|
1195
1195
|
/**
|
|
1196
|
-
* @public
|
|
1197
1196
|
* <p>The maximum number of results that are returned per call. The default is 100.</p>
|
|
1197
|
+
* @public
|
|
1198
1198
|
*/
|
|
1199
1199
|
MaxResults?: number;
|
|
1200
1200
|
/**
|
|
1201
|
-
* @public
|
|
1202
1201
|
* <p>If <code>nextToken</code> is returned, there are more results available. The value of
|
|
1203
1202
|
* <code>nextToken</code> is a unique pagination token for each page. Make the call again
|
|
1204
1203
|
* using the returned token to retrieve the next page. Keep all other arguments
|
|
1205
1204
|
* unchanged.</p>
|
|
1205
|
+
* @public
|
|
1206
1206
|
*/
|
|
1207
1207
|
NextToken?: string;
|
|
1208
1208
|
}
|
|
1209
1209
|
/**
|
|
1210
|
-
* @public
|
|
1211
1210
|
* <p>Information about metrics summaries.</p>
|
|
1211
|
+
* @public
|
|
1212
1212
|
*/
|
|
1213
1213
|
export interface MetricsSummary {
|
|
1214
1214
|
/**
|
|
1215
|
-
* @public
|
|
1216
1215
|
* <p>Lines of code metered in the code review. For the initial code review pull request and
|
|
1217
1216
|
* all subsequent revisions, this includes all lines of code in the files added to the pull
|
|
1218
1217
|
* request. In subsequent revisions, for files that already existed in the pull request, this
|
|
@@ -1223,10 +1222,10 @@ export interface MetricsSummary {
|
|
|
1223
1222
|
* files, <code>MeteredLinesOfCodeCount</code> includes the first 5 files (5 * 500 = 2,500
|
|
1224
1223
|
* lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725
|
|
1225
1224
|
* lines of code.</p>
|
|
1225
|
+
* @public
|
|
1226
1226
|
*/
|
|
1227
1227
|
MeteredLinesOfCodeCount?: number;
|
|
1228
1228
|
/**
|
|
1229
|
-
* @public
|
|
1230
1229
|
* <p>Lines of code suppressed in the code review based on the <code>excludeFiles</code>
|
|
1231
1230
|
* element in the <code>aws-codeguru-reviewer.yml</code> file. For full repository analyses,
|
|
1232
1231
|
* this number includes all lines of code in the files that are suppressed. For pull requests,
|
|
@@ -1241,49 +1240,49 @@ export interface MetricsSummary {
|
|
|
1241
1240
|
* changed. If only 1 of the 2 files changed in the pull request, then
|
|
1242
1241
|
* <code>SuppressedLinesOfCodeCount</code> returns 100 (1 * 100) as the total number of
|
|
1243
1242
|
* lines of code suppressed.</p>
|
|
1243
|
+
* @public
|
|
1244
1244
|
*/
|
|
1245
1245
|
SuppressedLinesOfCodeCount?: number;
|
|
1246
1246
|
/**
|
|
1247
|
-
* @public
|
|
1248
1247
|
* <p>Total number of recommendations found in the code review.</p>
|
|
1248
|
+
* @public
|
|
1249
1249
|
*/
|
|
1250
1250
|
FindingsCount?: number;
|
|
1251
1251
|
}
|
|
1252
1252
|
/**
|
|
1253
|
-
* @public
|
|
1254
1253
|
* <p>Information about the summary of the code review.</p>
|
|
1254
|
+
* @public
|
|
1255
1255
|
*/
|
|
1256
1256
|
export interface CodeReviewSummary {
|
|
1257
1257
|
/**
|
|
1258
|
-
* @public
|
|
1259
1258
|
* <p>The name of the code review.</p>
|
|
1259
|
+
* @public
|
|
1260
1260
|
*/
|
|
1261
1261
|
Name?: string;
|
|
1262
1262
|
/**
|
|
1263
|
-
* @public
|
|
1264
1263
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object.
|
|
1265
1264
|
* </p>
|
|
1265
|
+
* @public
|
|
1266
1266
|
*/
|
|
1267
1267
|
CodeReviewArn?: string;
|
|
1268
1268
|
/**
|
|
1269
|
-
* @public
|
|
1270
1269
|
* <p>The name of the repository.</p>
|
|
1270
|
+
* @public
|
|
1271
1271
|
*/
|
|
1272
1272
|
RepositoryName?: string;
|
|
1273
1273
|
/**
|
|
1274
|
-
* @public
|
|
1275
1274
|
* <p>The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the
|
|
1276
1275
|
* account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.
|
|
1277
1276
|
* For an S3 repository, it can be the username or Amazon Web Services account ID.</p>
|
|
1277
|
+
* @public
|
|
1278
1278
|
*/
|
|
1279
1279
|
Owner?: string;
|
|
1280
1280
|
/**
|
|
1281
|
-
* @public
|
|
1282
1281
|
* <p>The provider type of the repository association.</p>
|
|
1282
|
+
* @public
|
|
1283
1283
|
*/
|
|
1284
1284
|
ProviderType?: ProviderType;
|
|
1285
1285
|
/**
|
|
1286
|
-
* @public
|
|
1287
1286
|
* <p>The state of the code review.</p>
|
|
1288
1287
|
* <p>The valid code review states are:</p>
|
|
1289
1288
|
* <ul>
|
|
@@ -1304,36 +1303,37 @@ export interface CodeReviewSummary {
|
|
|
1304
1303
|
* <code>Deleting</code>: The code review is being deleted.</p>
|
|
1305
1304
|
* </li>
|
|
1306
1305
|
* </ul>
|
|
1306
|
+
* @public
|
|
1307
1307
|
*/
|
|
1308
1308
|
State?: JobState;
|
|
1309
1309
|
/**
|
|
1310
|
-
* @public
|
|
1311
1310
|
* <p>The time, in milliseconds since the epoch, when the code review was created.</p>
|
|
1311
|
+
* @public
|
|
1312
1312
|
*/
|
|
1313
1313
|
CreatedTimeStamp?: Date;
|
|
1314
1314
|
/**
|
|
1315
|
-
* @public
|
|
1316
1315
|
* <p>The time, in milliseconds since the epoch, when the code review was last updated.</p>
|
|
1316
|
+
* @public
|
|
1317
1317
|
*/
|
|
1318
1318
|
LastUpdatedTimeStamp?: Date;
|
|
1319
1319
|
/**
|
|
1320
|
-
* @public
|
|
1321
1320
|
* <p>The type of the code review.</p>
|
|
1321
|
+
* @public
|
|
1322
1322
|
*/
|
|
1323
1323
|
Type?: Type;
|
|
1324
1324
|
/**
|
|
1325
|
-
* @public
|
|
1326
1325
|
* <p>The pull request ID for the code review.</p>
|
|
1326
|
+
* @public
|
|
1327
1327
|
*/
|
|
1328
1328
|
PullRequestId?: string;
|
|
1329
1329
|
/**
|
|
1330
|
-
* @public
|
|
1331
1330
|
* <p>The statistics from the code review.</p>
|
|
1331
|
+
* @public
|
|
1332
1332
|
*/
|
|
1333
1333
|
MetricsSummary?: MetricsSummary;
|
|
1334
1334
|
/**
|
|
1335
|
-
* @public
|
|
1336
1335
|
* <p>Specifies the source code that is analyzed in a code review.</p>
|
|
1336
|
+
* @public
|
|
1337
1337
|
*/
|
|
1338
1338
|
SourceCodeType?: SourceCodeType;
|
|
1339
1339
|
}
|
|
@@ -1342,13 +1342,13 @@ export interface CodeReviewSummary {
|
|
|
1342
1342
|
*/
|
|
1343
1343
|
export interface ListCodeReviewsResponse {
|
|
1344
1344
|
/**
|
|
1345
|
-
* @public
|
|
1346
1345
|
* <p>A list of code reviews that meet the criteria of the request.</p>
|
|
1346
|
+
* @public
|
|
1347
1347
|
*/
|
|
1348
1348
|
CodeReviewSummaries?: CodeReviewSummary[];
|
|
1349
1349
|
/**
|
|
1350
|
-
* @public
|
|
1351
1350
|
* <p>Pagination token.</p>
|
|
1351
|
+
* @public
|
|
1352
1352
|
*/
|
|
1353
1353
|
NextToken?: string;
|
|
1354
1354
|
}
|
|
@@ -1357,63 +1357,63 @@ export interface ListCodeReviewsResponse {
|
|
|
1357
1357
|
*/
|
|
1358
1358
|
export interface ListRecommendationFeedbackRequest {
|
|
1359
1359
|
/**
|
|
1360
|
-
* @public
|
|
1361
1360
|
* <p>If <code>nextToken</code> is returned, there are more results available. The value of
|
|
1362
1361
|
* <code>nextToken</code> is a unique pagination token for each page. Make the call again
|
|
1363
1362
|
* using the returned token to retrieve the next page. Keep all other arguments
|
|
1364
1363
|
* unchanged.</p>
|
|
1364
|
+
* @public
|
|
1365
1365
|
*/
|
|
1366
1366
|
NextToken?: string;
|
|
1367
1367
|
/**
|
|
1368
|
-
* @public
|
|
1369
1368
|
* <p>The maximum number of results that are returned per call. The default is 100.</p>
|
|
1369
|
+
* @public
|
|
1370
1370
|
*/
|
|
1371
1371
|
MaxResults?: number;
|
|
1372
1372
|
/**
|
|
1373
|
-
* @public
|
|
1374
1373
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object.
|
|
1375
1374
|
* </p>
|
|
1375
|
+
* @public
|
|
1376
1376
|
*/
|
|
1377
1377
|
CodeReviewArn: string | undefined;
|
|
1378
1378
|
/**
|
|
1379
|
-
* @public
|
|
1380
1379
|
* <p>An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the
|
|
1381
1380
|
* recommendation feedback for a code review from that user.</p>
|
|
1382
1381
|
* <p>
|
|
1383
1382
|
* The <code>UserId</code> is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For
|
|
1384
1383
|
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying">
|
|
1385
1384
|
* Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
1385
|
+
* @public
|
|
1386
1386
|
*/
|
|
1387
1387
|
UserIds?: string[];
|
|
1388
1388
|
/**
|
|
1389
|
-
* @public
|
|
1390
1389
|
* <p>Used to query the recommendation feedback for a given recommendation.</p>
|
|
1390
|
+
* @public
|
|
1391
1391
|
*/
|
|
1392
1392
|
RecommendationIds?: string[];
|
|
1393
1393
|
}
|
|
1394
1394
|
/**
|
|
1395
|
-
* @public
|
|
1396
1395
|
* <p>Information about recommendation feedback summaries.</p>
|
|
1396
|
+
* @public
|
|
1397
1397
|
*/
|
|
1398
1398
|
export interface RecommendationFeedbackSummary {
|
|
1399
1399
|
/**
|
|
1400
|
-
* @public
|
|
1401
1400
|
* <p>The recommendation ID that can be used to track the provided recommendations. Later on
|
|
1402
1401
|
* it can be used to collect the feedback.</p>
|
|
1402
|
+
* @public
|
|
1403
1403
|
*/
|
|
1404
1404
|
RecommendationId?: string;
|
|
1405
1405
|
/**
|
|
1406
|
-
* @public
|
|
1407
1406
|
* <p>List for storing reactions. Reactions are utf-8 text code for emojis.</p>
|
|
1407
|
+
* @public
|
|
1408
1408
|
*/
|
|
1409
1409
|
Reactions?: Reaction[];
|
|
1410
1410
|
/**
|
|
1411
|
-
* @public
|
|
1412
1411
|
* <p>The ID of the user that gave the feedback.</p>
|
|
1413
1412
|
* <p>
|
|
1414
1413
|
* The <code>UserId</code> is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For
|
|
1415
1414
|
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying">
|
|
1416
1415
|
* Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
1416
|
+
* @public
|
|
1417
1417
|
*/
|
|
1418
1418
|
UserId?: string;
|
|
1419
1419
|
}
|
|
@@ -1422,16 +1422,16 @@ export interface RecommendationFeedbackSummary {
|
|
|
1422
1422
|
*/
|
|
1423
1423
|
export interface ListRecommendationFeedbackResponse {
|
|
1424
1424
|
/**
|
|
1425
|
-
* @public
|
|
1426
1425
|
* <p>Recommendation feedback summaries corresponding to the code review ARN.</p>
|
|
1426
|
+
* @public
|
|
1427
1427
|
*/
|
|
1428
1428
|
RecommendationFeedbackSummaries?: RecommendationFeedbackSummary[];
|
|
1429
1429
|
/**
|
|
1430
|
-
* @public
|
|
1431
1430
|
* <p>If <code>nextToken</code> is returned, there are more results available. The value of
|
|
1432
1431
|
* <code>nextToken</code> is a unique pagination token for each page. Make the call again
|
|
1433
1432
|
* using the returned token to retrieve the next page. Keep all other arguments
|
|
1434
1433
|
* unchanged.</p>
|
|
1434
|
+
* @public
|
|
1435
1435
|
*/
|
|
1436
1436
|
NextToken?: string;
|
|
1437
1437
|
}
|
|
@@ -1440,19 +1440,19 @@ export interface ListRecommendationFeedbackResponse {
|
|
|
1440
1440
|
*/
|
|
1441
1441
|
export interface ListRecommendationsRequest {
|
|
1442
1442
|
/**
|
|
1443
|
-
* @public
|
|
1444
1443
|
* <p>Pagination token.</p>
|
|
1444
|
+
* @public
|
|
1445
1445
|
*/
|
|
1446
1446
|
NextToken?: string;
|
|
1447
1447
|
/**
|
|
1448
|
-
* @public
|
|
1449
1448
|
* <p>The maximum number of results that are returned per call. The default is 100.</p>
|
|
1449
|
+
* @public
|
|
1450
1450
|
*/
|
|
1451
1451
|
MaxResults?: number;
|
|
1452
1452
|
/**
|
|
1453
|
-
* @public
|
|
1454
1453
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object.
|
|
1455
1454
|
* </p>
|
|
1455
|
+
* @public
|
|
1456
1456
|
*/
|
|
1457
1457
|
CodeReviewArn: string | undefined;
|
|
1458
1458
|
}
|
|
@@ -1478,33 +1478,33 @@ export declare const RecommendationCategory: {
|
|
|
1478
1478
|
*/
|
|
1479
1479
|
export type RecommendationCategory = (typeof RecommendationCategory)[keyof typeof RecommendationCategory];
|
|
1480
1480
|
/**
|
|
1481
|
-
* @public
|
|
1482
1481
|
* <p>Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.</p>
|
|
1482
|
+
* @public
|
|
1483
1483
|
*/
|
|
1484
1484
|
export interface RuleMetadata {
|
|
1485
1485
|
/**
|
|
1486
|
-
* @public
|
|
1487
1486
|
* <p>The ID of the rule.</p>
|
|
1487
|
+
* @public
|
|
1488
1488
|
*/
|
|
1489
1489
|
RuleId?: string;
|
|
1490
1490
|
/**
|
|
1491
|
-
* @public
|
|
1492
1491
|
* <p>The name of the rule.</p>
|
|
1492
|
+
* @public
|
|
1493
1493
|
*/
|
|
1494
1494
|
RuleName?: string;
|
|
1495
1495
|
/**
|
|
1496
|
-
* @public
|
|
1497
1496
|
* <p>A short description of the rule.</p>
|
|
1497
|
+
* @public
|
|
1498
1498
|
*/
|
|
1499
1499
|
ShortDescription?: string;
|
|
1500
1500
|
/**
|
|
1501
|
-
* @public
|
|
1502
1501
|
* <p>A long description of the rule.</p>
|
|
1502
|
+
* @public
|
|
1503
1503
|
*/
|
|
1504
1504
|
LongDescription?: string;
|
|
1505
1505
|
/**
|
|
1506
|
-
* @public
|
|
1507
1506
|
* <p>Tags that are associated with the rule.</p>
|
|
1507
|
+
* @public
|
|
1508
1508
|
*/
|
|
1509
1509
|
RuleTags?: string[];
|
|
1510
1510
|
}
|
|
@@ -1524,52 +1524,52 @@ export declare const Severity: {
|
|
|
1524
1524
|
*/
|
|
1525
1525
|
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
1526
1526
|
/**
|
|
1527
|
-
* @public
|
|
1528
1527
|
* <p>Information about recommendations.</p>
|
|
1528
|
+
* @public
|
|
1529
1529
|
*/
|
|
1530
1530
|
export interface RecommendationSummary {
|
|
1531
1531
|
/**
|
|
1532
|
-
* @public
|
|
1533
1532
|
* <p>Name of the file on which a recommendation is provided.</p>
|
|
1533
|
+
* @public
|
|
1534
1534
|
*/
|
|
1535
1535
|
FilePath?: string;
|
|
1536
1536
|
/**
|
|
1537
|
-
* @public
|
|
1538
1537
|
* <p>The recommendation ID that can be used to track the provided recommendations. Later on
|
|
1539
1538
|
* it can be used to collect the feedback.</p>
|
|
1539
|
+
* @public
|
|
1540
1540
|
*/
|
|
1541
1541
|
RecommendationId?: string;
|
|
1542
1542
|
/**
|
|
1543
|
-
* @public
|
|
1544
1543
|
* <p>Start line from where the recommendation is applicable in the source commit or source
|
|
1545
1544
|
* branch.</p>
|
|
1545
|
+
* @public
|
|
1546
1546
|
*/
|
|
1547
1547
|
StartLine?: number;
|
|
1548
1548
|
/**
|
|
1549
|
-
* @public
|
|
1550
1549
|
* <p>Last line where the recommendation is applicable in the source commit or source branch.
|
|
1551
1550
|
* For a single line comment the start line and end line values are the same.</p>
|
|
1551
|
+
* @public
|
|
1552
1552
|
*/
|
|
1553
1553
|
EndLine?: number;
|
|
1554
1554
|
/**
|
|
1555
|
-
* @public
|
|
1556
1555
|
* <p>A description of the recommendation generated by CodeGuru Reviewer for the lines of code between
|
|
1557
1556
|
* the start line and the end line.</p>
|
|
1557
|
+
* @public
|
|
1558
1558
|
*/
|
|
1559
1559
|
Description?: string;
|
|
1560
1560
|
/**
|
|
1561
|
-
* @public
|
|
1562
1561
|
* <p>The type of a recommendation.</p>
|
|
1562
|
+
* @public
|
|
1563
1563
|
*/
|
|
1564
1564
|
RecommendationCategory?: RecommendationCategory;
|
|
1565
1565
|
/**
|
|
1566
|
-
* @public
|
|
1567
1566
|
* <p>Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.</p>
|
|
1567
|
+
* @public
|
|
1568
1568
|
*/
|
|
1569
1569
|
RuleMetadata?: RuleMetadata;
|
|
1570
1570
|
/**
|
|
1571
|
-
* @public
|
|
1572
1571
|
* <p>The severity of the issue in the code that generated this recommendation.</p>
|
|
1572
|
+
* @public
|
|
1573
1573
|
*/
|
|
1574
1574
|
Severity?: Severity;
|
|
1575
1575
|
}
|
|
@@ -1578,13 +1578,13 @@ export interface RecommendationSummary {
|
|
|
1578
1578
|
*/
|
|
1579
1579
|
export interface ListRecommendationsResponse {
|
|
1580
1580
|
/**
|
|
1581
|
-
* @public
|
|
1582
1581
|
* <p>List of recommendations for the requested code review.</p>
|
|
1582
|
+
* @public
|
|
1583
1583
|
*/
|
|
1584
1584
|
RecommendationSummaries?: RecommendationSummary[];
|
|
1585
1585
|
/**
|
|
1586
|
-
* @public
|
|
1587
1586
|
* <p>Pagination token.</p>
|
|
1587
|
+
* @public
|
|
1588
1588
|
*/
|
|
1589
1589
|
NextToken?: string;
|
|
1590
1590
|
}
|
|
@@ -1593,12 +1593,11 @@ export interface ListRecommendationsResponse {
|
|
|
1593
1593
|
*/
|
|
1594
1594
|
export interface ListRepositoryAssociationsRequest {
|
|
1595
1595
|
/**
|
|
1596
|
-
* @public
|
|
1597
1596
|
* <p>List of provider types to use as a filter.</p>
|
|
1597
|
+
* @public
|
|
1598
1598
|
*/
|
|
1599
1599
|
ProviderTypes?: ProviderType[];
|
|
1600
1600
|
/**
|
|
1601
|
-
* @public
|
|
1602
1601
|
* <p>List of repository association states to use as a filter.</p>
|
|
1603
1602
|
* <p>The valid repository association states are:</p>
|
|
1604
1603
|
* <ul>
|
|
@@ -1635,23 +1634,23 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1635
1634
|
* <b>Disassociated</b>: 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 <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html">Using tags to control access to associated repositories</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.</p>
|
|
1636
1635
|
* </li>
|
|
1637
1636
|
* </ul>
|
|
1637
|
+
* @public
|
|
1638
1638
|
*/
|
|
1639
1639
|
States?: RepositoryAssociationState[];
|
|
1640
1640
|
/**
|
|
1641
|
-
* @public
|
|
1642
1641
|
* <p>List of repository names to use as a filter.</p>
|
|
1642
|
+
* @public
|
|
1643
1643
|
*/
|
|
1644
1644
|
Names?: string[];
|
|
1645
1645
|
/**
|
|
1646
|
-
* @public
|
|
1647
1646
|
* <p>List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the
|
|
1648
1647
|
* CodeCommit account that was used to associate the repository. For other repository source
|
|
1649
1648
|
* providers, such as Bitbucket and GitHub Enterprise Server, this is name of the account that
|
|
1650
1649
|
* was used to associate the repository. </p>
|
|
1650
|
+
* @public
|
|
1651
1651
|
*/
|
|
1652
1652
|
Owners?: string[];
|
|
1653
1653
|
/**
|
|
1654
|
-
* @public
|
|
1655
1654
|
* <p>The maximum number of repository association results returned by
|
|
1656
1655
|
* <code>ListRepositoryAssociations</code> in paginated output. When this parameter is
|
|
1657
1656
|
* used, <code>ListRepositoryAssociations</code> only returns <code>maxResults</code> results
|
|
@@ -1660,10 +1659,10 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1660
1659
|
* request with the returned <code>nextToken</code> value. This value can be between 1 and
|
|
1661
1660
|
* 100. If this parameter is not used, <code>ListRepositoryAssociations</code> returns up to
|
|
1662
1661
|
* 100 results and a <code>nextToken</code> value if applicable. </p>
|
|
1662
|
+
* @public
|
|
1663
1663
|
*/
|
|
1664
1664
|
MaxResults?: number;
|
|
1665
1665
|
/**
|
|
1666
|
-
* @public
|
|
1667
1666
|
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1668
1667
|
* <code>ListRepositoryAssociations</code> request where <code>maxResults</code> was used
|
|
1669
1668
|
* and the results exceeded the value of that parameter. Pagination continues from the end of
|
|
@@ -1672,55 +1671,55 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1672
1671
|
* <p>Treat this token as an opaque identifier that is only used to retrieve the next items
|
|
1673
1672
|
* in a list and not for other programmatic purposes.</p>
|
|
1674
1673
|
* </note>
|
|
1674
|
+
* @public
|
|
1675
1675
|
*/
|
|
1676
1676
|
NextToken?: string;
|
|
1677
1677
|
}
|
|
1678
1678
|
/**
|
|
1679
|
-
* @public
|
|
1680
1679
|
* <p>Summary information about a repository association. The <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a> operation returns a list of
|
|
1681
1680
|
* <code>RepositoryAssociationSummary</code> objects.</p>
|
|
1681
|
+
* @public
|
|
1682
1682
|
*/
|
|
1683
1683
|
export interface RepositoryAssociationSummary {
|
|
1684
1684
|
/**
|
|
1685
|
-
* @public
|
|
1686
1685
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object. You can retrieve this ARN by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
1686
|
+
* @public
|
|
1687
1687
|
*/
|
|
1688
1688
|
AssociationArn?: string;
|
|
1689
1689
|
/**
|
|
1690
|
-
* @public
|
|
1691
1690
|
* <p>The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is <code>arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id</code>. For more information, see <a href="https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html">Connection</a> in the <i>Amazon Web Services CodeStar Connections API Reference</i>.</p>
|
|
1691
|
+
* @public
|
|
1692
1692
|
*/
|
|
1693
1693
|
ConnectionArn?: string;
|
|
1694
1694
|
/**
|
|
1695
|
-
* @public
|
|
1696
1695
|
* <p>The time, in milliseconds since the epoch, since the repository association was last
|
|
1697
1696
|
* updated.</p>
|
|
1697
|
+
* @public
|
|
1698
1698
|
*/
|
|
1699
1699
|
LastUpdatedTimeStamp?: Date;
|
|
1700
1700
|
/**
|
|
1701
|
-
* @public
|
|
1702
1701
|
* <p>The repository association ID.</p>
|
|
1702
|
+
* @public
|
|
1703
1703
|
*/
|
|
1704
1704
|
AssociationId?: string;
|
|
1705
1705
|
/**
|
|
1706
|
-
* @public
|
|
1707
1706
|
* <p>The name of the repository association.</p>
|
|
1707
|
+
* @public
|
|
1708
1708
|
*/
|
|
1709
1709
|
Name?: string;
|
|
1710
1710
|
/**
|
|
1711
|
-
* @public
|
|
1712
1711
|
* <p>The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the
|
|
1713
1712
|
* account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.
|
|
1714
1713
|
* For an S3 repository, it can be the username or Amazon Web Services account ID.</p>
|
|
1714
|
+
* @public
|
|
1715
1715
|
*/
|
|
1716
1716
|
Owner?: string;
|
|
1717
1717
|
/**
|
|
1718
|
-
* @public
|
|
1719
1718
|
* <p>The provider type of the repository association.</p>
|
|
1719
|
+
* @public
|
|
1720
1720
|
*/
|
|
1721
1721
|
ProviderType?: ProviderType;
|
|
1722
1722
|
/**
|
|
1723
|
-
* @public
|
|
1724
1723
|
* <p>The state of the repository association.</p>
|
|
1725
1724
|
* <p>The valid repository association states are:</p>
|
|
1726
1725
|
* <ul>
|
|
@@ -1757,6 +1756,7 @@ export interface RepositoryAssociationSummary {
|
|
|
1757
1756
|
* <b>Disassociated</b>: 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 <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html">Using tags to control access to associated repositories</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.</p>
|
|
1758
1757
|
* </li>
|
|
1759
1758
|
* </ul>
|
|
1759
|
+
* @public
|
|
1760
1760
|
*/
|
|
1761
1761
|
State?: RepositoryAssociationState;
|
|
1762
1762
|
}
|
|
@@ -1765,16 +1765,16 @@ export interface RepositoryAssociationSummary {
|
|
|
1765
1765
|
*/
|
|
1766
1766
|
export interface ListRepositoryAssociationsResponse {
|
|
1767
1767
|
/**
|
|
1768
|
-
* @public
|
|
1769
1768
|
* <p>A list of repository associations that meet the criteria of the request.</p>
|
|
1769
|
+
* @public
|
|
1770
1770
|
*/
|
|
1771
1771
|
RepositoryAssociationSummaries?: RepositoryAssociationSummary[];
|
|
1772
1772
|
/**
|
|
1773
|
-
* @public
|
|
1774
1773
|
* <p>The <code>nextToken</code> value to include in a future <code>ListRecommendations</code>
|
|
1775
1774
|
* request. When the results of a <code>ListRecommendations</code> request exceed
|
|
1776
1775
|
* <code>maxResults</code>, this value can be used to retrieve the next page of results.
|
|
1777
1776
|
* This value is <code>null</code> when there are no more results to return. </p>
|
|
1777
|
+
* @public
|
|
1778
1778
|
*/
|
|
1779
1779
|
NextToken?: string;
|
|
1780
1780
|
}
|
|
@@ -1783,8 +1783,8 @@ export interface ListRepositoryAssociationsResponse {
|
|
|
1783
1783
|
*/
|
|
1784
1784
|
export interface ListTagsForResourceRequest {
|
|
1785
1785
|
/**
|
|
1786
|
-
* @public
|
|
1787
1786
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object. You can retrieve this ARN by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
1787
|
+
* @public
|
|
1788
1788
|
*/
|
|
1789
1789
|
resourceArn: string | undefined;
|
|
1790
1790
|
}
|
|
@@ -1793,7 +1793,6 @@ export interface ListTagsForResourceRequest {
|
|
|
1793
1793
|
*/
|
|
1794
1794
|
export interface ListTagsForResourceResponse {
|
|
1795
1795
|
/**
|
|
1796
|
-
* @public
|
|
1797
1796
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
1798
1797
|
* <ul>
|
|
1799
1798
|
* <li>
|
|
@@ -1808,6 +1807,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1808
1807
|
* values are case sensitive.</p>
|
|
1809
1808
|
* </li>
|
|
1810
1809
|
* </ul>
|
|
1810
|
+
* @public
|
|
1811
1811
|
*/
|
|
1812
1812
|
Tags?: Record<string, string>;
|
|
1813
1813
|
}
|
|
@@ -1816,21 +1816,21 @@ export interface ListTagsForResourceResponse {
|
|
|
1816
1816
|
*/
|
|
1817
1817
|
export interface PutRecommendationFeedbackRequest {
|
|
1818
1818
|
/**
|
|
1819
|
-
* @public
|
|
1820
1819
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object.
|
|
1821
1820
|
* </p>
|
|
1821
|
+
* @public
|
|
1822
1822
|
*/
|
|
1823
1823
|
CodeReviewArn: string | undefined;
|
|
1824
1824
|
/**
|
|
1825
|
-
* @public
|
|
1826
1825
|
* <p>The recommendation ID that can be used to track the provided recommendations and then to
|
|
1827
1826
|
* collect the feedback.</p>
|
|
1827
|
+
* @public
|
|
1828
1828
|
*/
|
|
1829
1829
|
RecommendationId: string | undefined;
|
|
1830
1830
|
/**
|
|
1831
|
-
* @public
|
|
1832
1831
|
* <p>List for storing reactions. Reactions are utf-8 text code for emojis. If you send an
|
|
1833
1832
|
* empty list it clears all your feedback.</p>
|
|
1833
|
+
* @public
|
|
1834
1834
|
*/
|
|
1835
1835
|
Reactions: Reaction[] | undefined;
|
|
1836
1836
|
}
|
|
@@ -1844,12 +1844,11 @@ export interface PutRecommendationFeedbackResponse {
|
|
|
1844
1844
|
*/
|
|
1845
1845
|
export interface TagResourceRequest {
|
|
1846
1846
|
/**
|
|
1847
|
-
* @public
|
|
1848
1847
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object. You can retrieve this ARN by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
1848
|
+
* @public
|
|
1849
1849
|
*/
|
|
1850
1850
|
resourceArn: string | undefined;
|
|
1851
1851
|
/**
|
|
1852
|
-
* @public
|
|
1853
1852
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
1854
1853
|
* <ul>
|
|
1855
1854
|
* <li>
|
|
@@ -1864,6 +1863,7 @@ export interface TagResourceRequest {
|
|
|
1864
1863
|
* values are case sensitive.</p>
|
|
1865
1864
|
* </li>
|
|
1866
1865
|
* </ul>
|
|
1866
|
+
* @public
|
|
1867
1867
|
*/
|
|
1868
1868
|
Tags: Record<string, string> | undefined;
|
|
1869
1869
|
}
|
|
@@ -1877,13 +1877,13 @@ export interface TagResourceResponse {
|
|
|
1877
1877
|
*/
|
|
1878
1878
|
export interface UntagResourceRequest {
|
|
1879
1879
|
/**
|
|
1880
|
-
* @public
|
|
1881
1880
|
* <p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object. You can retrieve this ARN by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
1881
|
+
* @public
|
|
1882
1882
|
*/
|
|
1883
1883
|
resourceArn: string | undefined;
|
|
1884
1884
|
/**
|
|
1885
|
-
* @public
|
|
1886
1885
|
* <p>A list of the keys for each tag you want to remove from an associated repository.</p>
|
|
1886
|
+
* @public
|
|
1887
1887
|
*/
|
|
1888
1888
|
TagKeys: string[] | undefined;
|
|
1889
1889
|
}
|