@aws-sdk/client-codeguru-reviewer 3.687.0 → 3.692.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-types/models/models_0.d.ts +150 -150
- package/dist-types/ts3.4/models/models_0.d.ts +150 -150
- package/package.json +36 -36
|
@@ -7,7 +7,7 @@ import { CodeGuruReviewerServiceException as __BaseException } from "./CodeGuruR
|
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
9
9
|
readonly $fault: "client";
|
|
10
|
-
Message?: string;
|
|
10
|
+
Message?: string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
@@ -57,14 +57,14 @@ export interface KMSKeyDetails {
|
|
|
57
57
|
* <p>The ID of the Amazon Web Services KMS key that is associated with a repository association.</p>
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
KMSKeyId?: string;
|
|
60
|
+
KMSKeyId?: string | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* <p>The encryption option for a repository association. It is either owned by Amazon Web Services Key
|
|
63
63
|
* Management Service (KMS) (<code>AWS_OWNED_CMK</code>) or customer managed
|
|
64
64
|
* (<code>CUSTOMER_MANAGED_CMK</code>).</p>
|
|
65
65
|
* @public
|
|
66
66
|
*/
|
|
67
|
-
EncryptionOption?: EncryptionOption;
|
|
67
|
+
EncryptionOption?: EncryptionOption | undefined;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* <p>Information about a third-party source repository connected to CodeGuru Reviewer.</p>
|
|
@@ -131,22 +131,22 @@ export interface Repository {
|
|
|
131
131
|
* <p>Information about an Amazon Web Services CodeCommit repository.</p>
|
|
132
132
|
* @public
|
|
133
133
|
*/
|
|
134
|
-
CodeCommit?: CodeCommitRepository;
|
|
134
|
+
CodeCommit?: CodeCommitRepository | undefined;
|
|
135
135
|
/**
|
|
136
136
|
* <p> Information about a Bitbucket repository. </p>
|
|
137
137
|
* @public
|
|
138
138
|
*/
|
|
139
|
-
Bitbucket?: ThirdPartySourceRepository;
|
|
139
|
+
Bitbucket?: ThirdPartySourceRepository | undefined;
|
|
140
140
|
/**
|
|
141
141
|
* <p>Information about a GitHub Enterprise Server repository.</p>
|
|
142
142
|
* @public
|
|
143
143
|
*/
|
|
144
|
-
GitHubEnterpriseServer?: ThirdPartySourceRepository;
|
|
144
|
+
GitHubEnterpriseServer?: ThirdPartySourceRepository | undefined;
|
|
145
145
|
/**
|
|
146
146
|
* <p>Information about a repository in an S3 bucket.</p>
|
|
147
147
|
* @public
|
|
148
148
|
*/
|
|
149
|
-
S3Bucket?: S3Repository;
|
|
149
|
+
S3Bucket?: S3Repository | undefined;
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* @public
|
|
@@ -162,7 +162,7 @@ export interface AssociateRepositoryRequest {
|
|
|
162
162
|
* associations if there are failures and retries.</p>
|
|
163
163
|
* @public
|
|
164
164
|
*/
|
|
165
|
-
ClientRequestToken?: string;
|
|
165
|
+
ClientRequestToken?: string | undefined;
|
|
166
166
|
/**
|
|
167
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>
|
|
168
168
|
* <ul>
|
|
@@ -180,7 +180,7 @@ export interface AssociateRepositoryRequest {
|
|
|
180
180
|
* </ul>
|
|
181
181
|
* @public
|
|
182
182
|
*/
|
|
183
|
-
Tags?: Record<string, string
|
|
183
|
+
Tags?: Record<string, string> | undefined;
|
|
184
184
|
/**
|
|
185
185
|
* <p>A <code>KMSKeyDetails</code> object that contains:</p>
|
|
186
186
|
* <ul>
|
|
@@ -196,7 +196,7 @@ export interface AssociateRepositoryRequest {
|
|
|
196
196
|
* </ul>
|
|
197
197
|
* @public
|
|
198
198
|
*/
|
|
199
|
-
KMSKeyDetails?: KMSKeyDetails;
|
|
199
|
+
KMSKeyDetails?: KMSKeyDetails | undefined;
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* @public
|
|
@@ -242,7 +242,7 @@ export interface CodeArtifacts {
|
|
|
242
242
|
* Guide</i>.</p>
|
|
243
243
|
* @public
|
|
244
244
|
*/
|
|
245
|
-
BuildArtifactsObjectKey?: string;
|
|
245
|
+
BuildArtifactsObjectKey?: string | undefined;
|
|
246
246
|
}
|
|
247
247
|
/**
|
|
248
248
|
* <p>Specifies the name of an S3 bucket and a <code>CodeArtifacts</code> object that contains
|
|
@@ -255,14 +255,14 @@ export interface S3RepositoryDetails {
|
|
|
255
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
256
|
* @public
|
|
257
257
|
*/
|
|
258
|
-
BucketName?: string;
|
|
258
|
+
BucketName?: string | undefined;
|
|
259
259
|
/**
|
|
260
260
|
* <p>A <code>CodeArtifacts</code> object. The <code>CodeArtifacts</code> object includes the
|
|
261
261
|
* S3 object key for a source code .zip file and for a build artifacts .zip file that contains
|
|
262
262
|
* .jar or .class files.</p>
|
|
263
263
|
* @public
|
|
264
264
|
*/
|
|
265
|
-
CodeArtifacts?: CodeArtifacts;
|
|
265
|
+
CodeArtifacts?: CodeArtifacts | undefined;
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* @public
|
|
@@ -289,34 +289,34 @@ export interface RepositoryAssociation {
|
|
|
289
289
|
* <p>The ID of the repository association.</p>
|
|
290
290
|
* @public
|
|
291
291
|
*/
|
|
292
|
-
AssociationId?: string;
|
|
292
|
+
AssociationId?: string | undefined;
|
|
293
293
|
/**
|
|
294
294
|
* <p>The Amazon Resource Name (ARN) identifying the repository association.</p>
|
|
295
295
|
* @public
|
|
296
296
|
*/
|
|
297
|
-
AssociationArn?: string;
|
|
297
|
+
AssociationArn?: string | undefined;
|
|
298
298
|
/**
|
|
299
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
300
|
* @public
|
|
301
301
|
*/
|
|
302
|
-
ConnectionArn?: string;
|
|
302
|
+
ConnectionArn?: string | undefined;
|
|
303
303
|
/**
|
|
304
304
|
* <p>The name of the repository.</p>
|
|
305
305
|
* @public
|
|
306
306
|
*/
|
|
307
|
-
Name?: string;
|
|
307
|
+
Name?: string | undefined;
|
|
308
308
|
/**
|
|
309
309
|
* <p>The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the
|
|
310
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.
|
|
311
311
|
* For an S3 repository, it can be the username or Amazon Web Services account ID.</p>
|
|
312
312
|
* @public
|
|
313
313
|
*/
|
|
314
|
-
Owner?: string;
|
|
314
|
+
Owner?: string | undefined;
|
|
315
315
|
/**
|
|
316
316
|
* <p>The provider type of the repository association.</p>
|
|
317
317
|
* @public
|
|
318
318
|
*/
|
|
319
|
-
ProviderType?: ProviderType;
|
|
319
|
+
ProviderType?: ProviderType | undefined;
|
|
320
320
|
/**
|
|
321
321
|
* <p>The state of the repository association.</p>
|
|
322
322
|
* <p>The valid repository association states are:</p>
|
|
@@ -356,24 +356,24 @@ export interface RepositoryAssociation {
|
|
|
356
356
|
* </ul>
|
|
357
357
|
* @public
|
|
358
358
|
*/
|
|
359
|
-
State?: RepositoryAssociationState;
|
|
359
|
+
State?: RepositoryAssociationState | undefined;
|
|
360
360
|
/**
|
|
361
361
|
* <p>A description of why the repository association is in the current state.</p>
|
|
362
362
|
* @public
|
|
363
363
|
*/
|
|
364
|
-
StateReason?: string;
|
|
364
|
+
StateReason?: string | undefined;
|
|
365
365
|
/**
|
|
366
366
|
* <p>The time, in milliseconds since the epoch, when the repository association was last
|
|
367
367
|
* updated.</p>
|
|
368
368
|
* @public
|
|
369
369
|
*/
|
|
370
|
-
LastUpdatedTimeStamp?: Date;
|
|
370
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
371
371
|
/**
|
|
372
372
|
* <p>The time, in milliseconds since the epoch, when the repository association was
|
|
373
373
|
* created.</p>
|
|
374
374
|
* @public
|
|
375
375
|
*/
|
|
376
|
-
CreatedTimeStamp?: Date;
|
|
376
|
+
CreatedTimeStamp?: Date | undefined;
|
|
377
377
|
/**
|
|
378
378
|
* <p>A <code>KMSKeyDetails</code> object that contains:</p>
|
|
379
379
|
* <ul>
|
|
@@ -389,14 +389,14 @@ export interface RepositoryAssociation {
|
|
|
389
389
|
* </ul>
|
|
390
390
|
* @public
|
|
391
391
|
*/
|
|
392
|
-
KMSKeyDetails?: KMSKeyDetails;
|
|
392
|
+
KMSKeyDetails?: KMSKeyDetails | undefined;
|
|
393
393
|
/**
|
|
394
394
|
* <p>Specifies the name of an S3 bucket and a <code>CodeArtifacts</code> object that contains
|
|
395
395
|
* the S3 object keys for a source code .zip file and for a build artifacts .zip file that
|
|
396
396
|
* contains .jar or .class files.</p>
|
|
397
397
|
* @public
|
|
398
398
|
*/
|
|
399
|
-
S3RepositoryDetails?: S3RepositoryDetails;
|
|
399
|
+
S3RepositoryDetails?: S3RepositoryDetails | undefined;
|
|
400
400
|
}
|
|
401
401
|
/**
|
|
402
402
|
* @public
|
|
@@ -406,7 +406,7 @@ export interface AssociateRepositoryResponse {
|
|
|
406
406
|
* <p>Information about the repository association.</p>
|
|
407
407
|
* @public
|
|
408
408
|
*/
|
|
409
|
-
RepositoryAssociation?: RepositoryAssociation;
|
|
409
|
+
RepositoryAssociation?: RepositoryAssociation | undefined;
|
|
410
410
|
/**
|
|
411
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>
|
|
412
412
|
* <ul>
|
|
@@ -424,7 +424,7 @@ export interface AssociateRepositoryResponse {
|
|
|
424
424
|
* </ul>
|
|
425
425
|
* @public
|
|
426
426
|
*/
|
|
427
|
-
Tags?: Record<string, string
|
|
427
|
+
Tags?: Record<string, string> | undefined;
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
430
|
* <p>The requested operation would cause a conflict with the current state of a service
|
|
@@ -435,7 +435,7 @@ export interface AssociateRepositoryResponse {
|
|
|
435
435
|
export declare class ConflictException extends __BaseException {
|
|
436
436
|
readonly name: "ConflictException";
|
|
437
437
|
readonly $fault: "client";
|
|
438
|
-
Message?: string;
|
|
438
|
+
Message?: string | undefined;
|
|
439
439
|
/**
|
|
440
440
|
* @internal
|
|
441
441
|
*/
|
|
@@ -448,7 +448,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
448
448
|
export declare class InternalServerException extends __BaseException {
|
|
449
449
|
readonly name: "InternalServerException";
|
|
450
450
|
readonly $fault: "server";
|
|
451
|
-
Message?: string;
|
|
451
|
+
Message?: string | undefined;
|
|
452
452
|
/**
|
|
453
453
|
* @internal
|
|
454
454
|
*/
|
|
@@ -461,7 +461,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
461
461
|
export declare class ThrottlingException extends __BaseException {
|
|
462
462
|
readonly name: "ThrottlingException";
|
|
463
463
|
readonly $fault: "client";
|
|
464
|
-
Message?: string;
|
|
464
|
+
Message?: string | undefined;
|
|
465
465
|
/**
|
|
466
466
|
* @internal
|
|
467
467
|
*/
|
|
@@ -474,7 +474,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
474
474
|
export declare class ValidationException extends __BaseException {
|
|
475
475
|
readonly name: "ValidationException";
|
|
476
476
|
readonly $fault: "client";
|
|
477
|
-
Message?: string;
|
|
477
|
+
Message?: string | undefined;
|
|
478
478
|
/**
|
|
479
479
|
* @internal
|
|
480
480
|
*/
|
|
@@ -524,18 +524,18 @@ export interface CommitDiffSourceCodeType {
|
|
|
524
524
|
* a pull request code review.</p>
|
|
525
525
|
* @public
|
|
526
526
|
*/
|
|
527
|
-
SourceCommit?: string;
|
|
527
|
+
SourceCommit?: string | undefined;
|
|
528
528
|
/**
|
|
529
529
|
* <p>The SHA of the destination commit used to generate a commit diff. This field is required
|
|
530
530
|
* for a pull request code review.</p>
|
|
531
531
|
* @public
|
|
532
532
|
*/
|
|
533
|
-
DestinationCommit?: string;
|
|
533
|
+
DestinationCommit?: string | undefined;
|
|
534
534
|
/**
|
|
535
535
|
* <p>The SHA of the merge base of a commit.</p>
|
|
536
536
|
* @public
|
|
537
537
|
*/
|
|
538
|
-
MergeBaseCommit?: string;
|
|
538
|
+
MergeBaseCommit?: string | undefined;
|
|
539
539
|
}
|
|
540
540
|
/**
|
|
541
541
|
* <p>Information about an event. The event might be a push, pull request, scheduled request,
|
|
@@ -549,12 +549,12 @@ export interface EventInfo {
|
|
|
549
549
|
* </p>
|
|
550
550
|
* @public
|
|
551
551
|
*/
|
|
552
|
-
Name?: string;
|
|
552
|
+
Name?: string | undefined;
|
|
553
553
|
/**
|
|
554
554
|
* <p>The state of an event. The state might be open, closed, or another state.</p>
|
|
555
555
|
* @public
|
|
556
556
|
*/
|
|
557
|
-
State?: string;
|
|
557
|
+
State?: string | undefined;
|
|
558
558
|
}
|
|
559
559
|
/**
|
|
560
560
|
* @public
|
|
@@ -579,19 +579,19 @@ export interface RequestMetadata {
|
|
|
579
579
|
* <p>The ID of the request. This is required for a pull request code review.</p>
|
|
580
580
|
* @public
|
|
581
581
|
*/
|
|
582
|
-
RequestId?: string;
|
|
582
|
+
RequestId?: string | undefined;
|
|
583
583
|
/**
|
|
584
584
|
* <p>An identifier, such as a name or account ID, that is associated with the requester. The
|
|
585
585
|
* <code>Requester</code> is used to capture the <code>author/actor</code> name of the
|
|
586
586
|
* event request.</p>
|
|
587
587
|
* @public
|
|
588
588
|
*/
|
|
589
|
-
Requester?: string;
|
|
589
|
+
Requester?: string | undefined;
|
|
590
590
|
/**
|
|
591
591
|
* <p>Information about the event associated with a code review.</p>
|
|
592
592
|
* @public
|
|
593
593
|
*/
|
|
594
|
-
EventInfo?: EventInfo;
|
|
594
|
+
EventInfo?: EventInfo | undefined;
|
|
595
595
|
/**
|
|
596
596
|
* <p>The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code
|
|
597
597
|
* review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code
|
|
@@ -600,7 +600,7 @@ export interface RequestMetadata {
|
|
|
600
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
601
|
* @public
|
|
602
602
|
*/
|
|
603
|
-
VendorName?: VendorName;
|
|
603
|
+
VendorName?: VendorName | undefined;
|
|
604
604
|
}
|
|
605
605
|
/**
|
|
606
606
|
* <p>Information about an associated repository in an S3 bucket. The associated repository
|
|
@@ -619,7 +619,7 @@ export interface S3BucketRepository {
|
|
|
619
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
620
|
* @public
|
|
621
621
|
*/
|
|
622
|
-
Details?: S3RepositoryDetails;
|
|
622
|
+
Details?: S3RepositoryDetails | undefined;
|
|
623
623
|
}
|
|
624
624
|
/**
|
|
625
625
|
* <p>Specifies the source code that is analyzed in a code review.</p>
|
|
@@ -631,25 +631,25 @@ export interface SourceCodeType {
|
|
|
631
631
|
* associated repository.</p>
|
|
632
632
|
* @public
|
|
633
633
|
*/
|
|
634
|
-
CommitDiff?: CommitDiffSourceCodeType;
|
|
634
|
+
CommitDiff?: CommitDiffSourceCodeType | undefined;
|
|
635
635
|
/**
|
|
636
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
|
|
637
637
|
* repository.</p>
|
|
638
638
|
* @public
|
|
639
639
|
*/
|
|
640
|
-
RepositoryHead?: RepositoryHeadSourceCodeType;
|
|
640
|
+
RepositoryHead?: RepositoryHeadSourceCodeType | undefined;
|
|
641
641
|
/**
|
|
642
642
|
* <p>A type of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that
|
|
643
643
|
* specifies a source branch name and a destination branch name in an associated
|
|
644
644
|
* repository.</p>
|
|
645
645
|
* @public
|
|
646
646
|
*/
|
|
647
|
-
BranchDiff?: BranchDiffSourceCodeType;
|
|
647
|
+
BranchDiff?: BranchDiffSourceCodeType | undefined;
|
|
648
648
|
/**
|
|
649
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
650
|
* @public
|
|
651
651
|
*/
|
|
652
|
-
S3BucketRepository?: S3BucketRepository;
|
|
652
|
+
S3BucketRepository?: S3BucketRepository | undefined;
|
|
653
653
|
/**
|
|
654
654
|
* <p>Metadata that is associated with a code review. This applies to any type of code review
|
|
655
655
|
* supported by CodeGuru Reviewer. The <code>RequestMetadaa</code> field captures any event metadata. For
|
|
@@ -657,7 +657,7 @@ export interface SourceCodeType {
|
|
|
657
657
|
* pull request.</p>
|
|
658
658
|
* @public
|
|
659
659
|
*/
|
|
660
|
-
RequestMetadata?: RequestMetadata;
|
|
660
|
+
RequestMetadata?: RequestMetadata | undefined;
|
|
661
661
|
}
|
|
662
662
|
/**
|
|
663
663
|
* <p>A code review type that analyzes all code under a specified branch in an associated
|
|
@@ -670,12 +670,12 @@ export interface RepositoryAnalysis {
|
|
|
670
670
|
* repository.</p>
|
|
671
671
|
* @public
|
|
672
672
|
*/
|
|
673
|
-
RepositoryHead?: RepositoryHeadSourceCodeType;
|
|
673
|
+
RepositoryHead?: RepositoryHeadSourceCodeType | undefined;
|
|
674
674
|
/**
|
|
675
675
|
* <p>Specifies the source code that is analyzed in a code review.</p>
|
|
676
676
|
* @public
|
|
677
677
|
*/
|
|
678
|
-
SourceCodeType?: SourceCodeType;
|
|
678
|
+
SourceCodeType?: SourceCodeType | undefined;
|
|
679
679
|
}
|
|
680
680
|
/**
|
|
681
681
|
* <p>The type of a code review. There are two code review types:</p>
|
|
@@ -706,7 +706,7 @@ export interface CodeReviewType {
|
|
|
706
706
|
* You can specify either <code>Security</code>, <code>CodeQuality</code>, or both.</p>
|
|
707
707
|
* @public
|
|
708
708
|
*/
|
|
709
|
-
AnalysisTypes?: AnalysisType[];
|
|
709
|
+
AnalysisTypes?: AnalysisType[] | undefined;
|
|
710
710
|
}
|
|
711
711
|
/**
|
|
712
712
|
* @public
|
|
@@ -736,7 +736,7 @@ export interface CreateCodeReviewRequest {
|
|
|
736
736
|
* if there are failures and retries.</p>
|
|
737
737
|
* @public
|
|
738
738
|
*/
|
|
739
|
-
ClientRequestToken?: string;
|
|
739
|
+
ClientRequestToken?: string | undefined;
|
|
740
740
|
}
|
|
741
741
|
/**
|
|
742
742
|
* @public
|
|
@@ -763,7 +763,7 @@ export interface Metrics {
|
|
|
763
763
|
* blank lines.</p>
|
|
764
764
|
* @public
|
|
765
765
|
*/
|
|
766
|
-
MeteredLinesOfCodeCount?: number;
|
|
766
|
+
MeteredLinesOfCodeCount?: number | undefined;
|
|
767
767
|
/**
|
|
768
768
|
* <p>
|
|
769
769
|
* <code>SuppressedLinesOfCodeCount</code> is the number of lines of code in the repository
|
|
@@ -773,12 +773,12 @@ export interface Metrics {
|
|
|
773
773
|
* such as comments and blank lines. </p>
|
|
774
774
|
* @public
|
|
775
775
|
*/
|
|
776
|
-
SuppressedLinesOfCodeCount?: number;
|
|
776
|
+
SuppressedLinesOfCodeCount?: number | undefined;
|
|
777
777
|
/**
|
|
778
778
|
* <p>Total number of recommendations found in the code review.</p>
|
|
779
779
|
* @public
|
|
780
780
|
*/
|
|
781
|
-
FindingsCount?: number;
|
|
781
|
+
FindingsCount?: number | undefined;
|
|
782
782
|
}
|
|
783
783
|
/**
|
|
784
784
|
* @public
|
|
@@ -816,31 +816,31 @@ export interface CodeReview {
|
|
|
816
816
|
* <p>The name of the code review.</p>
|
|
817
817
|
* @public
|
|
818
818
|
*/
|
|
819
|
-
Name?: string;
|
|
819
|
+
Name?: string | undefined;
|
|
820
820
|
/**
|
|
821
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.
|
|
822
822
|
* </p>
|
|
823
823
|
* @public
|
|
824
824
|
*/
|
|
825
|
-
CodeReviewArn?: string;
|
|
825
|
+
CodeReviewArn?: string | undefined;
|
|
826
826
|
/**
|
|
827
827
|
* <p>The name of the repository.</p>
|
|
828
828
|
* @public
|
|
829
829
|
*/
|
|
830
|
-
RepositoryName?: string;
|
|
830
|
+
RepositoryName?: string | undefined;
|
|
831
831
|
/**
|
|
832
832
|
* <p>The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the
|
|
833
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.
|
|
834
834
|
* For an S3 repository, it can be the username or Amazon Web Services account ID.</p>
|
|
835
835
|
* @public
|
|
836
836
|
*/
|
|
837
|
-
Owner?: string;
|
|
837
|
+
Owner?: string | undefined;
|
|
838
838
|
/**
|
|
839
839
|
* <p>The type of repository that contains the reviewed code (for example, GitHub or
|
|
840
840
|
* Bitbucket).</p>
|
|
841
841
|
* @public
|
|
842
842
|
*/
|
|
843
|
-
ProviderType?: ProviderType;
|
|
843
|
+
ProviderType?: ProviderType | undefined;
|
|
844
844
|
/**
|
|
845
845
|
* <p>The valid code review states are:</p>
|
|
846
846
|
* <ul>
|
|
@@ -863,61 +863,61 @@ export interface CodeReview {
|
|
|
863
863
|
* </ul>
|
|
864
864
|
* @public
|
|
865
865
|
*/
|
|
866
|
-
State?: JobState;
|
|
866
|
+
State?: JobState | undefined;
|
|
867
867
|
/**
|
|
868
868
|
* <p>The reason for the state of the code review.</p>
|
|
869
869
|
* @public
|
|
870
870
|
*/
|
|
871
|
-
StateReason?: string;
|
|
871
|
+
StateReason?: string | undefined;
|
|
872
872
|
/**
|
|
873
873
|
* <p>The time, in milliseconds since the epoch, when the code review was created.</p>
|
|
874
874
|
* @public
|
|
875
875
|
*/
|
|
876
|
-
CreatedTimeStamp?: Date;
|
|
876
|
+
CreatedTimeStamp?: Date | undefined;
|
|
877
877
|
/**
|
|
878
878
|
* <p>The time, in milliseconds since the epoch, when the code review was last updated.</p>
|
|
879
879
|
* @public
|
|
880
880
|
*/
|
|
881
|
-
LastUpdatedTimeStamp?: Date;
|
|
881
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
882
882
|
/**
|
|
883
883
|
* <p>The type of code review.</p>
|
|
884
884
|
* @public
|
|
885
885
|
*/
|
|
886
|
-
Type?: Type;
|
|
886
|
+
Type?: Type | undefined;
|
|
887
887
|
/**
|
|
888
888
|
* <p>The pull request ID for the code review.</p>
|
|
889
889
|
* @public
|
|
890
890
|
*/
|
|
891
|
-
PullRequestId?: string;
|
|
891
|
+
PullRequestId?: string | undefined;
|
|
892
892
|
/**
|
|
893
893
|
* <p>The type of the source code for the code review.</p>
|
|
894
894
|
* @public
|
|
895
895
|
*/
|
|
896
|
-
SourceCodeType?: SourceCodeType;
|
|
896
|
+
SourceCodeType?: SourceCodeType | undefined;
|
|
897
897
|
/**
|
|
898
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
|
|
899
899
|
* associated repository ARNs by calling <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html">ListRepositoryAssociations</a>.</p>
|
|
900
900
|
* @public
|
|
901
901
|
*/
|
|
902
|
-
AssociationArn?: string;
|
|
902
|
+
AssociationArn?: string | undefined;
|
|
903
903
|
/**
|
|
904
904
|
* <p>The statistics from the code review.</p>
|
|
905
905
|
* @public
|
|
906
906
|
*/
|
|
907
|
-
Metrics?: Metrics;
|
|
907
|
+
Metrics?: Metrics | undefined;
|
|
908
908
|
/**
|
|
909
909
|
* <p>The types of analysis performed during a repository analysis or a pull request review.
|
|
910
910
|
* You can specify either <code>Security</code>, <code>CodeQuality</code>, or both.</p>
|
|
911
911
|
* @public
|
|
912
912
|
*/
|
|
913
|
-
AnalysisTypes?: AnalysisType[];
|
|
913
|
+
AnalysisTypes?: AnalysisType[] | undefined;
|
|
914
914
|
/**
|
|
915
915
|
* <p>The state of the <code>aws-codeguru-reviewer.yml</code> configuration file that allows
|
|
916
916
|
* the configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists
|
|
917
917
|
* with errors at the root directory of your repository.</p>
|
|
918
918
|
* @public
|
|
919
919
|
*/
|
|
920
|
-
ConfigFileState?: ConfigFileState;
|
|
920
|
+
ConfigFileState?: ConfigFileState | undefined;
|
|
921
921
|
}
|
|
922
922
|
/**
|
|
923
923
|
* @public
|
|
@@ -928,7 +928,7 @@ export interface CreateCodeReviewResponse {
|
|
|
928
928
|
* contains the reviewed code.</p>
|
|
929
929
|
* @public
|
|
930
930
|
*/
|
|
931
|
-
CodeReview?: CodeReview;
|
|
931
|
+
CodeReview?: CodeReview | undefined;
|
|
932
932
|
}
|
|
933
933
|
/**
|
|
934
934
|
* <p> The resource specified in the request was not found. </p>
|
|
@@ -937,7 +937,7 @@ export interface CreateCodeReviewResponse {
|
|
|
937
937
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
938
938
|
readonly name: "ResourceNotFoundException";
|
|
939
939
|
readonly $fault: "client";
|
|
940
|
-
Message?: string;
|
|
940
|
+
Message?: string | undefined;
|
|
941
941
|
/**
|
|
942
942
|
* @internal
|
|
943
943
|
*/
|
|
@@ -962,7 +962,7 @@ export interface DescribeCodeReviewResponse {
|
|
|
962
962
|
* <p>Information about the code review.</p>
|
|
963
963
|
* @public
|
|
964
964
|
*/
|
|
965
|
-
CodeReview?: CodeReview;
|
|
965
|
+
CodeReview?: CodeReview | undefined;
|
|
966
966
|
}
|
|
967
967
|
/**
|
|
968
968
|
* @public
|
|
@@ -989,7 +989,7 @@ export interface DescribeRecommendationFeedbackRequest {
|
|
|
989
989
|
* Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
990
990
|
* @public
|
|
991
991
|
*/
|
|
992
|
-
UserId?: string;
|
|
992
|
+
UserId?: string | undefined;
|
|
993
993
|
}
|
|
994
994
|
/**
|
|
995
995
|
* @public
|
|
@@ -1013,19 +1013,19 @@ export interface RecommendationFeedback {
|
|
|
1013
1013
|
* </p>
|
|
1014
1014
|
* @public
|
|
1015
1015
|
*/
|
|
1016
|
-
CodeReviewArn?: string;
|
|
1016
|
+
CodeReviewArn?: string | undefined;
|
|
1017
1017
|
/**
|
|
1018
1018
|
* <p>The recommendation ID that can be used to track the provided recommendations. Later on
|
|
1019
1019
|
* it can be used to collect the feedback.</p>
|
|
1020
1020
|
* @public
|
|
1021
1021
|
*/
|
|
1022
|
-
RecommendationId?: string;
|
|
1022
|
+
RecommendationId?: string | undefined;
|
|
1023
1023
|
/**
|
|
1024
1024
|
* <p>List for storing reactions. Reactions are utf-8 text code for emojis. You can send an
|
|
1025
1025
|
* empty list to clear off all your feedback.</p>
|
|
1026
1026
|
* @public
|
|
1027
1027
|
*/
|
|
1028
|
-
Reactions?: Reaction[];
|
|
1028
|
+
Reactions?: Reaction[] | undefined;
|
|
1029
1029
|
/**
|
|
1030
1030
|
* <p>The ID of the user that made the API call.</p>
|
|
1031
1031
|
* <p>
|
|
@@ -1034,17 +1034,17 @@ export interface RecommendationFeedback {
|
|
|
1034
1034
|
* Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
1035
1035
|
* @public
|
|
1036
1036
|
*/
|
|
1037
|
-
UserId?: string;
|
|
1037
|
+
UserId?: string | undefined;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* <p>The time at which the feedback was created.</p>
|
|
1040
1040
|
* @public
|
|
1041
1041
|
*/
|
|
1042
|
-
CreatedTimeStamp?: Date;
|
|
1042
|
+
CreatedTimeStamp?: Date | undefined;
|
|
1043
1043
|
/**
|
|
1044
1044
|
* <p>The time at which the feedback was last updated.</p>
|
|
1045
1045
|
* @public
|
|
1046
1046
|
*/
|
|
1047
|
-
LastUpdatedTimeStamp?: Date;
|
|
1047
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
1048
1048
|
}
|
|
1049
1049
|
/**
|
|
1050
1050
|
* @public
|
|
@@ -1054,7 +1054,7 @@ export interface DescribeRecommendationFeedbackResponse {
|
|
|
1054
1054
|
* <p>The recommendation feedback given by the user.</p>
|
|
1055
1055
|
* @public
|
|
1056
1056
|
*/
|
|
1057
|
-
RecommendationFeedback?: RecommendationFeedback;
|
|
1057
|
+
RecommendationFeedback?: RecommendationFeedback | undefined;
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
1060
|
* @public
|
|
@@ -1074,7 +1074,7 @@ export interface DescribeRepositoryAssociationResponse {
|
|
|
1074
1074
|
* <p>Information about the repository association.</p>
|
|
1075
1075
|
* @public
|
|
1076
1076
|
*/
|
|
1077
|
-
RepositoryAssociation?: RepositoryAssociation;
|
|
1077
|
+
RepositoryAssociation?: RepositoryAssociation | undefined;
|
|
1078
1078
|
/**
|
|
1079
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>
|
|
1080
1080
|
* <ul>
|
|
@@ -1092,7 +1092,7 @@ export interface DescribeRepositoryAssociationResponse {
|
|
|
1092
1092
|
* </ul>
|
|
1093
1093
|
* @public
|
|
1094
1094
|
*/
|
|
1095
|
-
Tags?: Record<string, string
|
|
1095
|
+
Tags?: Record<string, string> | undefined;
|
|
1096
1096
|
}
|
|
1097
1097
|
/**
|
|
1098
1098
|
* <p>The resource specified in the request was not found.</p>
|
|
@@ -1101,7 +1101,7 @@ export interface DescribeRepositoryAssociationResponse {
|
|
|
1101
1101
|
export declare class NotFoundException extends __BaseException {
|
|
1102
1102
|
readonly name: "NotFoundException";
|
|
1103
1103
|
readonly $fault: "client";
|
|
1104
|
-
Message?: string;
|
|
1104
|
+
Message?: string | undefined;
|
|
1105
1105
|
/**
|
|
1106
1106
|
* @internal
|
|
1107
1107
|
*/
|
|
@@ -1125,7 +1125,7 @@ export interface DisassociateRepositoryResponse {
|
|
|
1125
1125
|
* <p>Information about the disassociated repository.</p>
|
|
1126
1126
|
* @public
|
|
1127
1127
|
*/
|
|
1128
|
-
RepositoryAssociation?: RepositoryAssociation;
|
|
1128
|
+
RepositoryAssociation?: RepositoryAssociation | undefined;
|
|
1129
1129
|
/**
|
|
1130
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>
|
|
1131
1131
|
* <ul>
|
|
@@ -1143,7 +1143,7 @@ export interface DisassociateRepositoryResponse {
|
|
|
1143
1143
|
* </ul>
|
|
1144
1144
|
* @public
|
|
1145
1145
|
*/
|
|
1146
|
-
Tags?: Record<string, string
|
|
1146
|
+
Tags?: Record<string, string> | undefined;
|
|
1147
1147
|
}
|
|
1148
1148
|
/**
|
|
1149
1149
|
* @public
|
|
@@ -1155,7 +1155,7 @@ export interface ListCodeReviewsRequest {
|
|
|
1155
1155
|
* GitHub.</p>
|
|
1156
1156
|
* @public
|
|
1157
1157
|
*/
|
|
1158
|
-
ProviderTypes?: ProviderType[];
|
|
1158
|
+
ProviderTypes?: ProviderType[] | undefined;
|
|
1159
1159
|
/**
|
|
1160
1160
|
* <p>List of states for filtering that needs to be applied before displaying the result. For
|
|
1161
1161
|
* example, <code>states=[Pending]</code> lists code reviews in the Pending state.</p>
|
|
@@ -1180,13 +1180,13 @@ export interface ListCodeReviewsRequest {
|
|
|
1180
1180
|
* </ul>
|
|
1181
1181
|
* @public
|
|
1182
1182
|
*/
|
|
1183
|
-
States?: JobState[];
|
|
1183
|
+
States?: JobState[] | undefined;
|
|
1184
1184
|
/**
|
|
1185
1185
|
* <p>List of repository names for filtering that needs to be applied before displaying the
|
|
1186
1186
|
* result.</p>
|
|
1187
1187
|
* @public
|
|
1188
1188
|
*/
|
|
1189
|
-
RepositoryNames?: string[];
|
|
1189
|
+
RepositoryNames?: string[] | undefined;
|
|
1190
1190
|
/**
|
|
1191
1191
|
* <p>The type of code reviews to list in the response.</p>
|
|
1192
1192
|
* @public
|
|
@@ -1196,7 +1196,7 @@ export interface ListCodeReviewsRequest {
|
|
|
1196
1196
|
* <p>The maximum number of results that are returned per call. The default is 100.</p>
|
|
1197
1197
|
* @public
|
|
1198
1198
|
*/
|
|
1199
|
-
MaxResults?: number;
|
|
1199
|
+
MaxResults?: number | undefined;
|
|
1200
1200
|
/**
|
|
1201
1201
|
* <p>If <code>nextToken</code> is returned, there are more results available. The value of
|
|
1202
1202
|
* <code>nextToken</code> is a unique pagination token for each page. Make the call again
|
|
@@ -1204,7 +1204,7 @@ export interface ListCodeReviewsRequest {
|
|
|
1204
1204
|
* unchanged.</p>
|
|
1205
1205
|
* @public
|
|
1206
1206
|
*/
|
|
1207
|
-
NextToken?: string;
|
|
1207
|
+
NextToken?: string | undefined;
|
|
1208
1208
|
}
|
|
1209
1209
|
/**
|
|
1210
1210
|
* <p>Information about metrics summaries.</p>
|
|
@@ -1224,7 +1224,7 @@ export interface MetricsSummary {
|
|
|
1224
1224
|
* lines of code.</p>
|
|
1225
1225
|
* @public
|
|
1226
1226
|
*/
|
|
1227
|
-
MeteredLinesOfCodeCount?: number;
|
|
1227
|
+
MeteredLinesOfCodeCount?: number | undefined;
|
|
1228
1228
|
/**
|
|
1229
1229
|
* <p>Lines of code suppressed in the code review based on the <code>excludeFiles</code>
|
|
1230
1230
|
* element in the <code>aws-codeguru-reviewer.yml</code> file. For full repository analyses,
|
|
@@ -1242,12 +1242,12 @@ export interface MetricsSummary {
|
|
|
1242
1242
|
* lines of code suppressed.</p>
|
|
1243
1243
|
* @public
|
|
1244
1244
|
*/
|
|
1245
|
-
SuppressedLinesOfCodeCount?: number;
|
|
1245
|
+
SuppressedLinesOfCodeCount?: number | undefined;
|
|
1246
1246
|
/**
|
|
1247
1247
|
* <p>Total number of recommendations found in the code review.</p>
|
|
1248
1248
|
* @public
|
|
1249
1249
|
*/
|
|
1250
|
-
FindingsCount?: number;
|
|
1250
|
+
FindingsCount?: number | undefined;
|
|
1251
1251
|
}
|
|
1252
1252
|
/**
|
|
1253
1253
|
* <p>Information about the summary of the code review.</p>
|
|
@@ -1258,30 +1258,30 @@ export interface CodeReviewSummary {
|
|
|
1258
1258
|
* <p>The name of the code review.</p>
|
|
1259
1259
|
* @public
|
|
1260
1260
|
*/
|
|
1261
|
-
Name?: string;
|
|
1261
|
+
Name?: string | undefined;
|
|
1262
1262
|
/**
|
|
1263
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.
|
|
1264
1264
|
* </p>
|
|
1265
1265
|
* @public
|
|
1266
1266
|
*/
|
|
1267
|
-
CodeReviewArn?: string;
|
|
1267
|
+
CodeReviewArn?: string | undefined;
|
|
1268
1268
|
/**
|
|
1269
1269
|
* <p>The name of the repository.</p>
|
|
1270
1270
|
* @public
|
|
1271
1271
|
*/
|
|
1272
|
-
RepositoryName?: string;
|
|
1272
|
+
RepositoryName?: string | undefined;
|
|
1273
1273
|
/**
|
|
1274
1274
|
* <p>The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the
|
|
1275
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.
|
|
1276
1276
|
* For an S3 repository, it can be the username or Amazon Web Services account ID.</p>
|
|
1277
1277
|
* @public
|
|
1278
1278
|
*/
|
|
1279
|
-
Owner?: string;
|
|
1279
|
+
Owner?: string | undefined;
|
|
1280
1280
|
/**
|
|
1281
1281
|
* <p>The provider type of the repository association.</p>
|
|
1282
1282
|
* @public
|
|
1283
1283
|
*/
|
|
1284
|
-
ProviderType?: ProviderType;
|
|
1284
|
+
ProviderType?: ProviderType | undefined;
|
|
1285
1285
|
/**
|
|
1286
1286
|
* <p>The state of the code review.</p>
|
|
1287
1287
|
* <p>The valid code review states are:</p>
|
|
@@ -1305,37 +1305,37 @@ export interface CodeReviewSummary {
|
|
|
1305
1305
|
* </ul>
|
|
1306
1306
|
* @public
|
|
1307
1307
|
*/
|
|
1308
|
-
State?: JobState;
|
|
1308
|
+
State?: JobState | undefined;
|
|
1309
1309
|
/**
|
|
1310
1310
|
* <p>The time, in milliseconds since the epoch, when the code review was created.</p>
|
|
1311
1311
|
* @public
|
|
1312
1312
|
*/
|
|
1313
|
-
CreatedTimeStamp?: Date;
|
|
1313
|
+
CreatedTimeStamp?: Date | undefined;
|
|
1314
1314
|
/**
|
|
1315
1315
|
* <p>The time, in milliseconds since the epoch, when the code review was last updated.</p>
|
|
1316
1316
|
* @public
|
|
1317
1317
|
*/
|
|
1318
|
-
LastUpdatedTimeStamp?: Date;
|
|
1318
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
1319
1319
|
/**
|
|
1320
1320
|
* <p>The type of the code review.</p>
|
|
1321
1321
|
* @public
|
|
1322
1322
|
*/
|
|
1323
|
-
Type?: Type;
|
|
1323
|
+
Type?: Type | undefined;
|
|
1324
1324
|
/**
|
|
1325
1325
|
* <p>The pull request ID for the code review.</p>
|
|
1326
1326
|
* @public
|
|
1327
1327
|
*/
|
|
1328
|
-
PullRequestId?: string;
|
|
1328
|
+
PullRequestId?: string | undefined;
|
|
1329
1329
|
/**
|
|
1330
1330
|
* <p>The statistics from the code review.</p>
|
|
1331
1331
|
* @public
|
|
1332
1332
|
*/
|
|
1333
|
-
MetricsSummary?: MetricsSummary;
|
|
1333
|
+
MetricsSummary?: MetricsSummary | undefined;
|
|
1334
1334
|
/**
|
|
1335
1335
|
* <p>Specifies the source code that is analyzed in a code review.</p>
|
|
1336
1336
|
* @public
|
|
1337
1337
|
*/
|
|
1338
|
-
SourceCodeType?: SourceCodeType;
|
|
1338
|
+
SourceCodeType?: SourceCodeType | undefined;
|
|
1339
1339
|
}
|
|
1340
1340
|
/**
|
|
1341
1341
|
* @public
|
|
@@ -1345,12 +1345,12 @@ export interface ListCodeReviewsResponse {
|
|
|
1345
1345
|
* <p>A list of code reviews that meet the criteria of the request.</p>
|
|
1346
1346
|
* @public
|
|
1347
1347
|
*/
|
|
1348
|
-
CodeReviewSummaries?: CodeReviewSummary[];
|
|
1348
|
+
CodeReviewSummaries?: CodeReviewSummary[] | undefined;
|
|
1349
1349
|
/**
|
|
1350
1350
|
* <p>Pagination token.</p>
|
|
1351
1351
|
* @public
|
|
1352
1352
|
*/
|
|
1353
|
-
NextToken?: string;
|
|
1353
|
+
NextToken?: string | undefined;
|
|
1354
1354
|
}
|
|
1355
1355
|
/**
|
|
1356
1356
|
* @public
|
|
@@ -1363,12 +1363,12 @@ export interface ListRecommendationFeedbackRequest {
|
|
|
1363
1363
|
* unchanged.</p>
|
|
1364
1364
|
* @public
|
|
1365
1365
|
*/
|
|
1366
|
-
NextToken?: string;
|
|
1366
|
+
NextToken?: string | undefined;
|
|
1367
1367
|
/**
|
|
1368
1368
|
* <p>The maximum number of results that are returned per call. The default is 100.</p>
|
|
1369
1369
|
* @public
|
|
1370
1370
|
*/
|
|
1371
|
-
MaxResults?: number;
|
|
1371
|
+
MaxResults?: number | undefined;
|
|
1372
1372
|
/**
|
|
1373
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.
|
|
1374
1374
|
* </p>
|
|
@@ -1384,12 +1384,12 @@ export interface ListRecommendationFeedbackRequest {
|
|
|
1384
1384
|
* Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
1385
1385
|
* @public
|
|
1386
1386
|
*/
|
|
1387
|
-
UserIds?: string[];
|
|
1387
|
+
UserIds?: string[] | undefined;
|
|
1388
1388
|
/**
|
|
1389
1389
|
* <p>Used to query the recommendation feedback for a given recommendation.</p>
|
|
1390
1390
|
* @public
|
|
1391
1391
|
*/
|
|
1392
|
-
RecommendationIds?: string[];
|
|
1392
|
+
RecommendationIds?: string[] | undefined;
|
|
1393
1393
|
}
|
|
1394
1394
|
/**
|
|
1395
1395
|
* <p>Information about recommendation feedback summaries.</p>
|
|
@@ -1401,12 +1401,12 @@ export interface RecommendationFeedbackSummary {
|
|
|
1401
1401
|
* it can be used to collect the feedback.</p>
|
|
1402
1402
|
* @public
|
|
1403
1403
|
*/
|
|
1404
|
-
RecommendationId?: string;
|
|
1404
|
+
RecommendationId?: string | undefined;
|
|
1405
1405
|
/**
|
|
1406
1406
|
* <p>List for storing reactions. Reactions are utf-8 text code for emojis.</p>
|
|
1407
1407
|
* @public
|
|
1408
1408
|
*/
|
|
1409
|
-
Reactions?: Reaction[];
|
|
1409
|
+
Reactions?: Reaction[] | undefined;
|
|
1410
1410
|
/**
|
|
1411
1411
|
* <p>The ID of the user that gave the feedback.</p>
|
|
1412
1412
|
* <p>
|
|
@@ -1415,7 +1415,7 @@ export interface RecommendationFeedbackSummary {
|
|
|
1415
1415
|
* Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
1416
1416
|
* @public
|
|
1417
1417
|
*/
|
|
1418
|
-
UserId?: string;
|
|
1418
|
+
UserId?: string | undefined;
|
|
1419
1419
|
}
|
|
1420
1420
|
/**
|
|
1421
1421
|
* @public
|
|
@@ -1425,7 +1425,7 @@ export interface ListRecommendationFeedbackResponse {
|
|
|
1425
1425
|
* <p>Recommendation feedback summaries corresponding to the code review ARN.</p>
|
|
1426
1426
|
* @public
|
|
1427
1427
|
*/
|
|
1428
|
-
RecommendationFeedbackSummaries?: RecommendationFeedbackSummary[];
|
|
1428
|
+
RecommendationFeedbackSummaries?: RecommendationFeedbackSummary[] | undefined;
|
|
1429
1429
|
/**
|
|
1430
1430
|
* <p>If <code>nextToken</code> is returned, there are more results available. The value of
|
|
1431
1431
|
* <code>nextToken</code> is a unique pagination token for each page. Make the call again
|
|
@@ -1433,7 +1433,7 @@ export interface ListRecommendationFeedbackResponse {
|
|
|
1433
1433
|
* unchanged.</p>
|
|
1434
1434
|
* @public
|
|
1435
1435
|
*/
|
|
1436
|
-
NextToken?: string;
|
|
1436
|
+
NextToken?: string | undefined;
|
|
1437
1437
|
}
|
|
1438
1438
|
/**
|
|
1439
1439
|
* @public
|
|
@@ -1443,12 +1443,12 @@ export interface ListRecommendationsRequest {
|
|
|
1443
1443
|
* <p>Pagination token.</p>
|
|
1444
1444
|
* @public
|
|
1445
1445
|
*/
|
|
1446
|
-
NextToken?: string;
|
|
1446
|
+
NextToken?: string | undefined;
|
|
1447
1447
|
/**
|
|
1448
1448
|
* <p>The maximum number of results that are returned per call. The default is 100.</p>
|
|
1449
1449
|
* @public
|
|
1450
1450
|
*/
|
|
1451
|
-
MaxResults?: number;
|
|
1451
|
+
MaxResults?: number | undefined;
|
|
1452
1452
|
/**
|
|
1453
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.
|
|
1454
1454
|
* </p>
|
|
@@ -1486,27 +1486,27 @@ export interface RuleMetadata {
|
|
|
1486
1486
|
* <p>The ID of the rule.</p>
|
|
1487
1487
|
* @public
|
|
1488
1488
|
*/
|
|
1489
|
-
RuleId?: string;
|
|
1489
|
+
RuleId?: string | undefined;
|
|
1490
1490
|
/**
|
|
1491
1491
|
* <p>The name of the rule.</p>
|
|
1492
1492
|
* @public
|
|
1493
1493
|
*/
|
|
1494
|
-
RuleName?: string;
|
|
1494
|
+
RuleName?: string | undefined;
|
|
1495
1495
|
/**
|
|
1496
1496
|
* <p>A short description of the rule.</p>
|
|
1497
1497
|
* @public
|
|
1498
1498
|
*/
|
|
1499
|
-
ShortDescription?: string;
|
|
1499
|
+
ShortDescription?: string | undefined;
|
|
1500
1500
|
/**
|
|
1501
1501
|
* <p>A long description of the rule.</p>
|
|
1502
1502
|
* @public
|
|
1503
1503
|
*/
|
|
1504
|
-
LongDescription?: string;
|
|
1504
|
+
LongDescription?: string | undefined;
|
|
1505
1505
|
/**
|
|
1506
1506
|
* <p>Tags that are associated with the rule.</p>
|
|
1507
1507
|
* @public
|
|
1508
1508
|
*/
|
|
1509
|
-
RuleTags?: string[];
|
|
1509
|
+
RuleTags?: string[] | undefined;
|
|
1510
1510
|
}
|
|
1511
1511
|
/**
|
|
1512
1512
|
* @public
|
|
@@ -1532,46 +1532,46 @@ export interface RecommendationSummary {
|
|
|
1532
1532
|
* <p>Name of the file on which a recommendation is provided.</p>
|
|
1533
1533
|
* @public
|
|
1534
1534
|
*/
|
|
1535
|
-
FilePath?: string;
|
|
1535
|
+
FilePath?: string | undefined;
|
|
1536
1536
|
/**
|
|
1537
1537
|
* <p>The recommendation ID that can be used to track the provided recommendations. Later on
|
|
1538
1538
|
* it can be used to collect the feedback.</p>
|
|
1539
1539
|
* @public
|
|
1540
1540
|
*/
|
|
1541
|
-
RecommendationId?: string;
|
|
1541
|
+
RecommendationId?: string | undefined;
|
|
1542
1542
|
/**
|
|
1543
1543
|
* <p>Start line from where the recommendation is applicable in the source commit or source
|
|
1544
1544
|
* branch.</p>
|
|
1545
1545
|
* @public
|
|
1546
1546
|
*/
|
|
1547
|
-
StartLine?: number;
|
|
1547
|
+
StartLine?: number | undefined;
|
|
1548
1548
|
/**
|
|
1549
1549
|
* <p>Last line where the recommendation is applicable in the source commit or source branch.
|
|
1550
1550
|
* For a single line comment the start line and end line values are the same.</p>
|
|
1551
1551
|
* @public
|
|
1552
1552
|
*/
|
|
1553
|
-
EndLine?: number;
|
|
1553
|
+
EndLine?: number | undefined;
|
|
1554
1554
|
/**
|
|
1555
1555
|
* <p>A description of the recommendation generated by CodeGuru Reviewer for the lines of code between
|
|
1556
1556
|
* the start line and the end line.</p>
|
|
1557
1557
|
* @public
|
|
1558
1558
|
*/
|
|
1559
|
-
Description?: string;
|
|
1559
|
+
Description?: string | undefined;
|
|
1560
1560
|
/**
|
|
1561
1561
|
* <p>The type of a recommendation.</p>
|
|
1562
1562
|
* @public
|
|
1563
1563
|
*/
|
|
1564
|
-
RecommendationCategory?: RecommendationCategory;
|
|
1564
|
+
RecommendationCategory?: RecommendationCategory | undefined;
|
|
1565
1565
|
/**
|
|
1566
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
1567
|
* @public
|
|
1568
1568
|
*/
|
|
1569
|
-
RuleMetadata?: RuleMetadata;
|
|
1569
|
+
RuleMetadata?: RuleMetadata | undefined;
|
|
1570
1570
|
/**
|
|
1571
1571
|
* <p>The severity of the issue in the code that generated this recommendation.</p>
|
|
1572
1572
|
* @public
|
|
1573
1573
|
*/
|
|
1574
|
-
Severity?: Severity;
|
|
1574
|
+
Severity?: Severity | undefined;
|
|
1575
1575
|
}
|
|
1576
1576
|
/**
|
|
1577
1577
|
* @public
|
|
@@ -1581,12 +1581,12 @@ export interface ListRecommendationsResponse {
|
|
|
1581
1581
|
* <p>List of recommendations for the requested code review.</p>
|
|
1582
1582
|
* @public
|
|
1583
1583
|
*/
|
|
1584
|
-
RecommendationSummaries?: RecommendationSummary[];
|
|
1584
|
+
RecommendationSummaries?: RecommendationSummary[] | undefined;
|
|
1585
1585
|
/**
|
|
1586
1586
|
* <p>Pagination token.</p>
|
|
1587
1587
|
* @public
|
|
1588
1588
|
*/
|
|
1589
|
-
NextToken?: string;
|
|
1589
|
+
NextToken?: string | undefined;
|
|
1590
1590
|
}
|
|
1591
1591
|
/**
|
|
1592
1592
|
* @public
|
|
@@ -1596,7 +1596,7 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1596
1596
|
* <p>List of provider types to use as a filter.</p>
|
|
1597
1597
|
* @public
|
|
1598
1598
|
*/
|
|
1599
|
-
ProviderTypes?: ProviderType[];
|
|
1599
|
+
ProviderTypes?: ProviderType[] | undefined;
|
|
1600
1600
|
/**
|
|
1601
1601
|
* <p>List of repository association states to use as a filter.</p>
|
|
1602
1602
|
* <p>The valid repository association states are:</p>
|
|
@@ -1636,12 +1636,12 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1636
1636
|
* </ul>
|
|
1637
1637
|
* @public
|
|
1638
1638
|
*/
|
|
1639
|
-
States?: RepositoryAssociationState[];
|
|
1639
|
+
States?: RepositoryAssociationState[] | undefined;
|
|
1640
1640
|
/**
|
|
1641
1641
|
* <p>List of repository names to use as a filter.</p>
|
|
1642
1642
|
* @public
|
|
1643
1643
|
*/
|
|
1644
|
-
Names?: string[];
|
|
1644
|
+
Names?: string[] | undefined;
|
|
1645
1645
|
/**
|
|
1646
1646
|
* <p>List of owners to use as a filter. For Amazon Web Services CodeCommit, it is the name of the
|
|
1647
1647
|
* CodeCommit account that was used to associate the repository. For other repository source
|
|
@@ -1649,7 +1649,7 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1649
1649
|
* was used to associate the repository. </p>
|
|
1650
1650
|
* @public
|
|
1651
1651
|
*/
|
|
1652
|
-
Owners?: string[];
|
|
1652
|
+
Owners?: string[] | undefined;
|
|
1653
1653
|
/**
|
|
1654
1654
|
* <p>The maximum number of repository association results returned by
|
|
1655
1655
|
* <code>ListRepositoryAssociations</code> in paginated output. When this parameter is
|
|
@@ -1661,7 +1661,7 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1661
1661
|
* 100 results and a <code>nextToken</code> value if applicable. </p>
|
|
1662
1662
|
* @public
|
|
1663
1663
|
*/
|
|
1664
|
-
MaxResults?: number;
|
|
1664
|
+
MaxResults?: number | undefined;
|
|
1665
1665
|
/**
|
|
1666
1666
|
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1667
1667
|
* <code>ListRepositoryAssociations</code> request where <code>maxResults</code> was used
|
|
@@ -1673,7 +1673,7 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1673
1673
|
* </note>
|
|
1674
1674
|
* @public
|
|
1675
1675
|
*/
|
|
1676
|
-
NextToken?: string;
|
|
1676
|
+
NextToken?: string | undefined;
|
|
1677
1677
|
}
|
|
1678
1678
|
/**
|
|
1679
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
|
|
@@ -1685,40 +1685,40 @@ export interface RepositoryAssociationSummary {
|
|
|
1685
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
1686
|
* @public
|
|
1687
1687
|
*/
|
|
1688
|
-
AssociationArn?: string;
|
|
1688
|
+
AssociationArn?: string | undefined;
|
|
1689
1689
|
/**
|
|
1690
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
1691
|
* @public
|
|
1692
1692
|
*/
|
|
1693
|
-
ConnectionArn?: string;
|
|
1693
|
+
ConnectionArn?: string | undefined;
|
|
1694
1694
|
/**
|
|
1695
1695
|
* <p>The time, in milliseconds since the epoch, since the repository association was last
|
|
1696
1696
|
* updated.</p>
|
|
1697
1697
|
* @public
|
|
1698
1698
|
*/
|
|
1699
|
-
LastUpdatedTimeStamp?: Date;
|
|
1699
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
1700
1700
|
/**
|
|
1701
1701
|
* <p>The repository association ID.</p>
|
|
1702
1702
|
* @public
|
|
1703
1703
|
*/
|
|
1704
|
-
AssociationId?: string;
|
|
1704
|
+
AssociationId?: string | undefined;
|
|
1705
1705
|
/**
|
|
1706
1706
|
* <p>The name of the repository association.</p>
|
|
1707
1707
|
* @public
|
|
1708
1708
|
*/
|
|
1709
|
-
Name?: string;
|
|
1709
|
+
Name?: string | undefined;
|
|
1710
1710
|
/**
|
|
1711
1711
|
* <p>The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the
|
|
1712
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.
|
|
1713
1713
|
* For an S3 repository, it can be the username or Amazon Web Services account ID.</p>
|
|
1714
1714
|
* @public
|
|
1715
1715
|
*/
|
|
1716
|
-
Owner?: string;
|
|
1716
|
+
Owner?: string | undefined;
|
|
1717
1717
|
/**
|
|
1718
1718
|
* <p>The provider type of the repository association.</p>
|
|
1719
1719
|
* @public
|
|
1720
1720
|
*/
|
|
1721
|
-
ProviderType?: ProviderType;
|
|
1721
|
+
ProviderType?: ProviderType | undefined;
|
|
1722
1722
|
/**
|
|
1723
1723
|
* <p>The state of the repository association.</p>
|
|
1724
1724
|
* <p>The valid repository association states are:</p>
|
|
@@ -1758,7 +1758,7 @@ export interface RepositoryAssociationSummary {
|
|
|
1758
1758
|
* </ul>
|
|
1759
1759
|
* @public
|
|
1760
1760
|
*/
|
|
1761
|
-
State?: RepositoryAssociationState;
|
|
1761
|
+
State?: RepositoryAssociationState | undefined;
|
|
1762
1762
|
}
|
|
1763
1763
|
/**
|
|
1764
1764
|
* @public
|
|
@@ -1768,7 +1768,7 @@ export interface ListRepositoryAssociationsResponse {
|
|
|
1768
1768
|
* <p>A list of repository associations that meet the criteria of the request.</p>
|
|
1769
1769
|
* @public
|
|
1770
1770
|
*/
|
|
1771
|
-
RepositoryAssociationSummaries?: RepositoryAssociationSummary[];
|
|
1771
|
+
RepositoryAssociationSummaries?: RepositoryAssociationSummary[] | undefined;
|
|
1772
1772
|
/**
|
|
1773
1773
|
* <p>The <code>nextToken</code> value to include in a future <code>ListRecommendations</code>
|
|
1774
1774
|
* request. When the results of a <code>ListRecommendations</code> request exceed
|
|
@@ -1776,7 +1776,7 @@ export interface ListRepositoryAssociationsResponse {
|
|
|
1776
1776
|
* This value is <code>null</code> when there are no more results to return. </p>
|
|
1777
1777
|
* @public
|
|
1778
1778
|
*/
|
|
1779
|
-
NextToken?: string;
|
|
1779
|
+
NextToken?: string | undefined;
|
|
1780
1780
|
}
|
|
1781
1781
|
/**
|
|
1782
1782
|
* @public
|
|
@@ -1809,7 +1809,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1809
1809
|
* </ul>
|
|
1810
1810
|
* @public
|
|
1811
1811
|
*/
|
|
1812
|
-
Tags?: Record<string, string
|
|
1812
|
+
Tags?: Record<string, string> | undefined;
|
|
1813
1813
|
}
|
|
1814
1814
|
/**
|
|
1815
1815
|
* @public
|