@aws-sdk/client-codeguru-reviewer 3.295.0 → 3.297.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/CodeGuruReviewer.d.ts +15 -0
- package/dist-types/CodeGuruReviewerClient.d.ts +24 -4
- package/dist-types/commands/AssociateRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCodeReviewCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +16 -0
- package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +16 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/models/CodeGuruReviewerServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +150 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListCodeReviewsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRecommendationFeedbackPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRepositoryAssociationsPaginator.d.ts +3 -0
- package/package.json +30 -30
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CodeGuruReviewerServiceException as __BaseException } from "./CodeGuruReviewerServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -12,15 +13,22 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
*/
|
|
13
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
15
19
|
export declare enum AnalysisType {
|
|
16
20
|
CODE_QUALITY = "CodeQuality",
|
|
17
21
|
SECURITY = "Security"
|
|
18
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
19
26
|
export declare enum EncryptionOption {
|
|
20
27
|
AoCmk = "AWS_OWNED_CMK",
|
|
21
28
|
CmCmk = "CUSTOMER_MANAGED_CMK"
|
|
22
29
|
}
|
|
23
30
|
/**
|
|
31
|
+
* @public
|
|
24
32
|
* <p>An object that contains:</p>
|
|
25
33
|
* <ul>
|
|
26
34
|
* <li>
|
|
@@ -47,6 +55,7 @@ export interface KMSKeyDetails {
|
|
|
47
55
|
EncryptionOption?: EncryptionOption | string;
|
|
48
56
|
}
|
|
49
57
|
/**
|
|
58
|
+
* @public
|
|
50
59
|
* <p>Information about a third-party source repository connected to CodeGuru Reviewer.</p>
|
|
51
60
|
*/
|
|
52
61
|
export interface ThirdPartySourceRepository {
|
|
@@ -66,6 +75,7 @@ export interface ThirdPartySourceRepository {
|
|
|
66
75
|
Owner: string | undefined;
|
|
67
76
|
}
|
|
68
77
|
/**
|
|
78
|
+
* @public
|
|
69
79
|
* <p>Information about an Amazon Web Services CodeCommit repository. The CodeCommit repository must be in
|
|
70
80
|
* the same Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are
|
|
71
81
|
* configured.</p>
|
|
@@ -78,6 +88,7 @@ export interface CodeCommitRepository {
|
|
|
78
88
|
Name: string | undefined;
|
|
79
89
|
}
|
|
80
90
|
/**
|
|
91
|
+
* @public
|
|
81
92
|
* <p>Information about a repository in an S3 bucket.</p>
|
|
82
93
|
*/
|
|
83
94
|
export interface S3Repository {
|
|
@@ -91,6 +102,7 @@ export interface S3Repository {
|
|
|
91
102
|
BucketName: string | undefined;
|
|
92
103
|
}
|
|
93
104
|
/**
|
|
105
|
+
* @public
|
|
94
106
|
* <p>Information about an associated Amazon Web Services CodeCommit repository or an associated repository
|
|
95
107
|
* that is managed by Amazon Web Services CodeStar Connections (for example, Bitbucket). This
|
|
96
108
|
* <code>Repository</code> object is not used if your source code is in an associated
|
|
@@ -114,6 +126,9 @@ export interface Repository {
|
|
|
114
126
|
*/
|
|
115
127
|
S3Bucket?: S3Repository;
|
|
116
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
117
132
|
export interface AssociateRepositoryRequest {
|
|
118
133
|
/**
|
|
119
134
|
* <p>The repository to associate.</p>
|
|
@@ -157,6 +172,9 @@ export interface AssociateRepositoryRequest {
|
|
|
157
172
|
*/
|
|
158
173
|
KMSKeyDetails?: KMSKeyDetails;
|
|
159
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
160
178
|
export declare enum ProviderType {
|
|
161
179
|
BITBUCKET = "Bitbucket",
|
|
162
180
|
CODE_COMMIT = "CodeCommit",
|
|
@@ -165,6 +183,7 @@ export declare enum ProviderType {
|
|
|
165
183
|
S3_BUCKET = "S3Bucket"
|
|
166
184
|
}
|
|
167
185
|
/**
|
|
186
|
+
* @public
|
|
168
187
|
* <p>Code artifacts are source code artifacts and build artifacts used in a repository
|
|
169
188
|
* analysis or a pull request review.</p>
|
|
170
189
|
* <ul>
|
|
@@ -193,6 +212,7 @@ export interface CodeArtifacts {
|
|
|
193
212
|
BuildArtifactsObjectKey?: string;
|
|
194
213
|
}
|
|
195
214
|
/**
|
|
215
|
+
* @public
|
|
196
216
|
* <p>Specifies the name of an S3 bucket and a <code>CodeArtifacts</code> object that contains
|
|
197
217
|
* the S3 object keys for a source code .zip file and for a build artifacts .zip file that
|
|
198
218
|
* contains .jar or .class files.</p>
|
|
@@ -209,6 +229,9 @@ export interface S3RepositoryDetails {
|
|
|
209
229
|
*/
|
|
210
230
|
CodeArtifacts?: CodeArtifacts;
|
|
211
231
|
}
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
212
235
|
export declare enum RepositoryAssociationState {
|
|
213
236
|
ASSOCIATED = "Associated",
|
|
214
237
|
ASSOCIATING = "Associating",
|
|
@@ -217,6 +240,7 @@ export declare enum RepositoryAssociationState {
|
|
|
217
240
|
FAILED = "Failed"
|
|
218
241
|
}
|
|
219
242
|
/**
|
|
243
|
+
* @public
|
|
220
244
|
* <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
|
|
221
245
|
* <code>RepositoryAssociation</code> object.</p>
|
|
222
246
|
*/
|
|
@@ -322,6 +346,9 @@ export interface RepositoryAssociation {
|
|
|
322
346
|
*/
|
|
323
347
|
S3RepositoryDetails?: S3RepositoryDetails;
|
|
324
348
|
}
|
|
349
|
+
/**
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
325
352
|
export interface AssociateRepositoryResponse {
|
|
326
353
|
/**
|
|
327
354
|
* <p>Information about the repository association.</p>
|
|
@@ -346,6 +373,7 @@ export interface AssociateRepositoryResponse {
|
|
|
346
373
|
Tags?: Record<string, string>;
|
|
347
374
|
}
|
|
348
375
|
/**
|
|
376
|
+
* @public
|
|
349
377
|
* <p>The requested operation would cause a conflict with the current state of a service
|
|
350
378
|
* resource associated with the request. Resolve the conflict before retrying this request.
|
|
351
379
|
* </p>
|
|
@@ -360,6 +388,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
360
388
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
361
389
|
}
|
|
362
390
|
/**
|
|
391
|
+
* @public
|
|
363
392
|
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
364
393
|
*/
|
|
365
394
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -372,6 +401,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
372
401
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
373
402
|
}
|
|
374
403
|
/**
|
|
404
|
+
* @public
|
|
375
405
|
* <p>The request was denied due to request throttling.</p>
|
|
376
406
|
*/
|
|
377
407
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -384,6 +414,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
384
414
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
385
415
|
}
|
|
386
416
|
/**
|
|
417
|
+
* @public
|
|
387
418
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
388
419
|
*/
|
|
389
420
|
export declare class ValidationException extends __BaseException {
|
|
@@ -396,6 +427,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
396
427
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
397
428
|
}
|
|
398
429
|
/**
|
|
430
|
+
* @public
|
|
399
431
|
* <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
|
|
400
432
|
* repository.</p>
|
|
401
433
|
*/
|
|
@@ -407,6 +439,7 @@ export interface RepositoryHeadSourceCodeType {
|
|
|
407
439
|
BranchName: string | undefined;
|
|
408
440
|
}
|
|
409
441
|
/**
|
|
442
|
+
* @public
|
|
410
443
|
* <p>A type of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that
|
|
411
444
|
* specifies a code diff between a source and destination branch in an associated
|
|
412
445
|
* repository.</p>
|
|
@@ -422,6 +455,7 @@ export interface BranchDiffSourceCodeType {
|
|
|
422
455
|
DestinationBranchName: string | undefined;
|
|
423
456
|
}
|
|
424
457
|
/**
|
|
458
|
+
* @public
|
|
425
459
|
* <p>A type of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> that
|
|
426
460
|
* specifies the commit diff for a pull request on an associated repository. The
|
|
427
461
|
* <code>SourceCommit</code> and <code>DestinationCommit</code> fields are required to do a
|
|
@@ -444,6 +478,7 @@ export interface CommitDiffSourceCodeType {
|
|
|
444
478
|
MergeBaseCommit?: string;
|
|
445
479
|
}
|
|
446
480
|
/**
|
|
481
|
+
* @public
|
|
447
482
|
* <p>Information about an event. The event might be a push, pull request, scheduled request,
|
|
448
483
|
* or another type of event.</p>
|
|
449
484
|
*/
|
|
@@ -459,12 +494,16 @@ export interface EventInfo {
|
|
|
459
494
|
*/
|
|
460
495
|
State?: string;
|
|
461
496
|
}
|
|
497
|
+
/**
|
|
498
|
+
* @public
|
|
499
|
+
*/
|
|
462
500
|
export declare enum VendorName {
|
|
463
501
|
GITHUB = "GitHub",
|
|
464
502
|
GITLAB = "GitLab",
|
|
465
503
|
NATIVE_S3 = "NativeS3"
|
|
466
504
|
}
|
|
467
505
|
/**
|
|
506
|
+
* @public
|
|
468
507
|
* <p>Metadata that is associated with a code review. This applies to both pull request and
|
|
469
508
|
* repository analysis code reviews.</p>
|
|
470
509
|
*/
|
|
@@ -493,6 +532,7 @@ export interface RequestMetadata {
|
|
|
493
532
|
VendorName?: VendorName | string;
|
|
494
533
|
}
|
|
495
534
|
/**
|
|
535
|
+
* @public
|
|
496
536
|
* <p>Information about an associated repository in an S3 bucket. The associated repository
|
|
497
537
|
* contains a source code .zip file and a build artifacts .zip file that contains .jar or
|
|
498
538
|
* .class files.</p>
|
|
@@ -509,6 +549,7 @@ export interface S3BucketRepository {
|
|
|
509
549
|
Details?: S3RepositoryDetails;
|
|
510
550
|
}
|
|
511
551
|
/**
|
|
552
|
+
* @public
|
|
512
553
|
* <p>Specifies the source code that is analyzed in a code review.</p>
|
|
513
554
|
*/
|
|
514
555
|
export interface SourceCodeType {
|
|
@@ -541,6 +582,7 @@ export interface SourceCodeType {
|
|
|
541
582
|
RequestMetadata?: RequestMetadata;
|
|
542
583
|
}
|
|
543
584
|
/**
|
|
585
|
+
* @public
|
|
544
586
|
* <p>A code review type that analyzes all code under a specified branch in an associated
|
|
545
587
|
* 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>
|
|
546
588
|
*/
|
|
@@ -556,6 +598,7 @@ export interface RepositoryAnalysis {
|
|
|
556
598
|
SourceCodeType?: SourceCodeType;
|
|
557
599
|
}
|
|
558
600
|
/**
|
|
601
|
+
* @public
|
|
559
602
|
* <p>The type of a code review. There are two code review types:</p>
|
|
560
603
|
* <ul>
|
|
561
604
|
* <li>
|
|
@@ -583,6 +626,9 @@ export interface CodeReviewType {
|
|
|
583
626
|
*/
|
|
584
627
|
AnalysisTypes?: (AnalysisType | string)[];
|
|
585
628
|
}
|
|
629
|
+
/**
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
586
632
|
export interface CreateCodeReviewRequest {
|
|
587
633
|
/**
|
|
588
634
|
* <p>The name of the code review. The name of each code review in your Amazon Web Services account must be
|
|
@@ -606,12 +652,16 @@ export interface CreateCodeReviewRequest {
|
|
|
606
652
|
*/
|
|
607
653
|
ClientRequestToken?: string;
|
|
608
654
|
}
|
|
655
|
+
/**
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
609
658
|
export declare enum ConfigFileState {
|
|
610
659
|
ABSENT = "Absent",
|
|
611
660
|
PRESENT = "Present",
|
|
612
661
|
PRESENT_WITH_ERRORS = "PresentWithErrors"
|
|
613
662
|
}
|
|
614
663
|
/**
|
|
664
|
+
* @public
|
|
615
665
|
* <p>Information about the statistics from the code review.</p>
|
|
616
666
|
*/
|
|
617
667
|
export interface Metrics {
|
|
@@ -636,17 +686,24 @@ export interface Metrics {
|
|
|
636
686
|
*/
|
|
637
687
|
FindingsCount?: number;
|
|
638
688
|
}
|
|
689
|
+
/**
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
639
692
|
export declare enum JobState {
|
|
640
693
|
COMPLETED = "Completed",
|
|
641
694
|
DELETING = "Deleting",
|
|
642
695
|
FAILED = "Failed",
|
|
643
696
|
PENDING = "Pending"
|
|
644
697
|
}
|
|
698
|
+
/**
|
|
699
|
+
* @public
|
|
700
|
+
*/
|
|
645
701
|
export declare enum Type {
|
|
646
702
|
PULL_REQUEST = "PullRequest",
|
|
647
703
|
REPOSITORY_ANALYSIS = "RepositoryAnalysis"
|
|
648
704
|
}
|
|
649
705
|
/**
|
|
706
|
+
* @public
|
|
650
707
|
* <p>Information about a code review. A code review belongs to the associated repository that
|
|
651
708
|
* contains the reviewed code.</p>
|
|
652
709
|
*/
|
|
@@ -742,6 +799,9 @@ export interface CodeReview {
|
|
|
742
799
|
*/
|
|
743
800
|
ConfigFileState?: ConfigFileState | string;
|
|
744
801
|
}
|
|
802
|
+
/**
|
|
803
|
+
* @public
|
|
804
|
+
*/
|
|
745
805
|
export interface CreateCodeReviewResponse {
|
|
746
806
|
/**
|
|
747
807
|
* <p>Information about a code review. A code review belongs to the associated repository that
|
|
@@ -750,6 +810,7 @@ export interface CreateCodeReviewResponse {
|
|
|
750
810
|
CodeReview?: CodeReview;
|
|
751
811
|
}
|
|
752
812
|
/**
|
|
813
|
+
* @public
|
|
753
814
|
* <p> The resource specified in the request was not found. </p>
|
|
754
815
|
*/
|
|
755
816
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -761,6 +822,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
761
822
|
*/
|
|
762
823
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
763
824
|
}
|
|
825
|
+
/**
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
764
828
|
export interface DescribeCodeReviewRequest {
|
|
765
829
|
/**
|
|
766
830
|
* <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.
|
|
@@ -768,12 +832,18 @@ export interface DescribeCodeReviewRequest {
|
|
|
768
832
|
*/
|
|
769
833
|
CodeReviewArn: string | undefined;
|
|
770
834
|
}
|
|
835
|
+
/**
|
|
836
|
+
* @public
|
|
837
|
+
*/
|
|
771
838
|
export interface DescribeCodeReviewResponse {
|
|
772
839
|
/**
|
|
773
840
|
* <p>Information about the code review.</p>
|
|
774
841
|
*/
|
|
775
842
|
CodeReview?: CodeReview;
|
|
776
843
|
}
|
|
844
|
+
/**
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
777
847
|
export interface DescribeRecommendationFeedbackRequest {
|
|
778
848
|
/**
|
|
779
849
|
* <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.
|
|
@@ -795,11 +865,15 @@ export interface DescribeRecommendationFeedbackRequest {
|
|
|
795
865
|
*/
|
|
796
866
|
UserId?: string;
|
|
797
867
|
}
|
|
868
|
+
/**
|
|
869
|
+
* @public
|
|
870
|
+
*/
|
|
798
871
|
export declare enum Reaction {
|
|
799
872
|
THUMBS_DOWN = "ThumbsDown",
|
|
800
873
|
THUMBS_UP = "ThumbsUp"
|
|
801
874
|
}
|
|
802
875
|
/**
|
|
876
|
+
* @public
|
|
803
877
|
* <p>Information about the recommendation feedback.</p>
|
|
804
878
|
*/
|
|
805
879
|
export interface RecommendationFeedback {
|
|
@@ -835,18 +909,27 @@ export interface RecommendationFeedback {
|
|
|
835
909
|
*/
|
|
836
910
|
LastUpdatedTimeStamp?: Date;
|
|
837
911
|
}
|
|
912
|
+
/**
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
838
915
|
export interface DescribeRecommendationFeedbackResponse {
|
|
839
916
|
/**
|
|
840
917
|
* <p>The recommendation feedback given by the user.</p>
|
|
841
918
|
*/
|
|
842
919
|
RecommendationFeedback?: RecommendationFeedback;
|
|
843
920
|
}
|
|
921
|
+
/**
|
|
922
|
+
* @public
|
|
923
|
+
*/
|
|
844
924
|
export interface DescribeRepositoryAssociationRequest {
|
|
845
925
|
/**
|
|
846
926
|
* <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>
|
|
847
927
|
*/
|
|
848
928
|
AssociationArn: string | undefined;
|
|
849
929
|
}
|
|
930
|
+
/**
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
850
933
|
export interface DescribeRepositoryAssociationResponse {
|
|
851
934
|
/**
|
|
852
935
|
* <p>Information about the repository association.</p>
|
|
@@ -871,6 +954,7 @@ export interface DescribeRepositoryAssociationResponse {
|
|
|
871
954
|
Tags?: Record<string, string>;
|
|
872
955
|
}
|
|
873
956
|
/**
|
|
957
|
+
* @public
|
|
874
958
|
* <p>The resource specified in the request was not found.</p>
|
|
875
959
|
*/
|
|
876
960
|
export declare class NotFoundException extends __BaseException {
|
|
@@ -882,12 +966,18 @@ export declare class NotFoundException extends __BaseException {
|
|
|
882
966
|
*/
|
|
883
967
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
884
968
|
}
|
|
969
|
+
/**
|
|
970
|
+
* @public
|
|
971
|
+
*/
|
|
885
972
|
export interface DisassociateRepositoryRequest {
|
|
886
973
|
/**
|
|
887
974
|
* <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>
|
|
888
975
|
*/
|
|
889
976
|
AssociationArn: string | undefined;
|
|
890
977
|
}
|
|
978
|
+
/**
|
|
979
|
+
* @public
|
|
980
|
+
*/
|
|
891
981
|
export interface DisassociateRepositoryResponse {
|
|
892
982
|
/**
|
|
893
983
|
* <p>Information about the disassociated repository.</p>
|
|
@@ -911,6 +1001,9 @@ export interface DisassociateRepositoryResponse {
|
|
|
911
1001
|
*/
|
|
912
1002
|
Tags?: Record<string, string>;
|
|
913
1003
|
}
|
|
1004
|
+
/**
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
914
1007
|
export interface ListCodeReviewsRequest {
|
|
915
1008
|
/**
|
|
916
1009
|
* <p>List of provider types for filtering that needs to be applied before displaying the
|
|
@@ -964,6 +1057,7 @@ export interface ListCodeReviewsRequest {
|
|
|
964
1057
|
NextToken?: string;
|
|
965
1058
|
}
|
|
966
1059
|
/**
|
|
1060
|
+
* @public
|
|
967
1061
|
* <p>Information about metrics summaries.</p>
|
|
968
1062
|
*/
|
|
969
1063
|
export interface MetricsSummary {
|
|
@@ -1003,6 +1097,7 @@ export interface MetricsSummary {
|
|
|
1003
1097
|
FindingsCount?: number;
|
|
1004
1098
|
}
|
|
1005
1099
|
/**
|
|
1100
|
+
* @public
|
|
1006
1101
|
* <p>Information about the summary of the code review.</p>
|
|
1007
1102
|
*/
|
|
1008
1103
|
export interface CodeReviewSummary {
|
|
@@ -1077,6 +1172,9 @@ export interface CodeReviewSummary {
|
|
|
1077
1172
|
*/
|
|
1078
1173
|
SourceCodeType?: SourceCodeType;
|
|
1079
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
* @public
|
|
1177
|
+
*/
|
|
1080
1178
|
export interface ListCodeReviewsResponse {
|
|
1081
1179
|
/**
|
|
1082
1180
|
* <p>A list of code reviews that meet the criteria of the request.</p>
|
|
@@ -1087,6 +1185,9 @@ export interface ListCodeReviewsResponse {
|
|
|
1087
1185
|
*/
|
|
1088
1186
|
NextToken?: string;
|
|
1089
1187
|
}
|
|
1188
|
+
/**
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1090
1191
|
export interface ListRecommendationFeedbackRequest {
|
|
1091
1192
|
/**
|
|
1092
1193
|
* <p>If <code>nextToken</code> is returned, there are more results available. The value of
|
|
@@ -1119,6 +1220,7 @@ export interface ListRecommendationFeedbackRequest {
|
|
|
1119
1220
|
RecommendationIds?: string[];
|
|
1120
1221
|
}
|
|
1121
1222
|
/**
|
|
1223
|
+
* @public
|
|
1122
1224
|
* <p>Information about recommendation feedback summaries.</p>
|
|
1123
1225
|
*/
|
|
1124
1226
|
export interface RecommendationFeedbackSummary {
|
|
@@ -1140,6 +1242,9 @@ export interface RecommendationFeedbackSummary {
|
|
|
1140
1242
|
*/
|
|
1141
1243
|
UserId?: string;
|
|
1142
1244
|
}
|
|
1245
|
+
/**
|
|
1246
|
+
* @public
|
|
1247
|
+
*/
|
|
1143
1248
|
export interface ListRecommendationFeedbackResponse {
|
|
1144
1249
|
/**
|
|
1145
1250
|
* <p>Recommendation feedback summaries corresponding to the code review ARN.</p>
|
|
@@ -1153,6 +1258,9 @@ export interface ListRecommendationFeedbackResponse {
|
|
|
1153
1258
|
*/
|
|
1154
1259
|
NextToken?: string;
|
|
1155
1260
|
}
|
|
1261
|
+
/**
|
|
1262
|
+
* @public
|
|
1263
|
+
*/
|
|
1156
1264
|
export interface ListRecommendationsRequest {
|
|
1157
1265
|
/**
|
|
1158
1266
|
* <p>Pagination token.</p>
|
|
@@ -1168,6 +1276,9 @@ export interface ListRecommendationsRequest {
|
|
|
1168
1276
|
*/
|
|
1169
1277
|
CodeReviewArn: string | undefined;
|
|
1170
1278
|
}
|
|
1279
|
+
/**
|
|
1280
|
+
* @public
|
|
1281
|
+
*/
|
|
1171
1282
|
export declare enum RecommendationCategory {
|
|
1172
1283
|
AWS_BEST_PRACTICES = "AWSBestPractices",
|
|
1173
1284
|
AWS_CLOUDFORMATION_ISSUES = "AWSCloudFormationIssues",
|
|
@@ -1182,6 +1293,7 @@ export declare enum RecommendationCategory {
|
|
|
1182
1293
|
SECURITY_ISSUES = "SecurityIssues"
|
|
1183
1294
|
}
|
|
1184
1295
|
/**
|
|
1296
|
+
* @public
|
|
1185
1297
|
* <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>
|
|
1186
1298
|
*/
|
|
1187
1299
|
export interface RuleMetadata {
|
|
@@ -1206,6 +1318,9 @@ export interface RuleMetadata {
|
|
|
1206
1318
|
*/
|
|
1207
1319
|
RuleTags?: string[];
|
|
1208
1320
|
}
|
|
1321
|
+
/**
|
|
1322
|
+
* @public
|
|
1323
|
+
*/
|
|
1209
1324
|
export declare enum Severity {
|
|
1210
1325
|
CRITICAL = "Critical",
|
|
1211
1326
|
HIGH = "High",
|
|
@@ -1214,6 +1329,7 @@ export declare enum Severity {
|
|
|
1214
1329
|
MEDIUM = "Medium"
|
|
1215
1330
|
}
|
|
1216
1331
|
/**
|
|
1332
|
+
* @public
|
|
1217
1333
|
* <p>Information about recommendations.</p>
|
|
1218
1334
|
*/
|
|
1219
1335
|
export interface RecommendationSummary {
|
|
@@ -1254,6 +1370,9 @@ export interface RecommendationSummary {
|
|
|
1254
1370
|
*/
|
|
1255
1371
|
Severity?: Severity | string;
|
|
1256
1372
|
}
|
|
1373
|
+
/**
|
|
1374
|
+
* @public
|
|
1375
|
+
*/
|
|
1257
1376
|
export interface ListRecommendationsResponse {
|
|
1258
1377
|
/**
|
|
1259
1378
|
* <p>List of recommendations for the requested code review.</p>
|
|
@@ -1264,6 +1383,9 @@ export interface ListRecommendationsResponse {
|
|
|
1264
1383
|
*/
|
|
1265
1384
|
NextToken?: string;
|
|
1266
1385
|
}
|
|
1386
|
+
/**
|
|
1387
|
+
* @public
|
|
1388
|
+
*/
|
|
1267
1389
|
export interface ListRepositoryAssociationsRequest {
|
|
1268
1390
|
/**
|
|
1269
1391
|
* <p>List of provider types to use as a filter.</p>
|
|
@@ -1343,6 +1465,7 @@ export interface ListRepositoryAssociationsRequest {
|
|
|
1343
1465
|
NextToken?: string;
|
|
1344
1466
|
}
|
|
1345
1467
|
/**
|
|
1468
|
+
* @public
|
|
1346
1469
|
* <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
|
|
1347
1470
|
* <code>RepositoryAssociationSummary</code> objects.</p>
|
|
1348
1471
|
*/
|
|
@@ -1418,6 +1541,9 @@ export interface RepositoryAssociationSummary {
|
|
|
1418
1541
|
*/
|
|
1419
1542
|
State?: RepositoryAssociationState | string;
|
|
1420
1543
|
}
|
|
1544
|
+
/**
|
|
1545
|
+
* @public
|
|
1546
|
+
*/
|
|
1421
1547
|
export interface ListRepositoryAssociationsResponse {
|
|
1422
1548
|
/**
|
|
1423
1549
|
* <p>A list of repository associations that meet the criteria of the request.</p>
|
|
@@ -1431,12 +1557,18 @@ export interface ListRepositoryAssociationsResponse {
|
|
|
1431
1557
|
*/
|
|
1432
1558
|
NextToken?: string;
|
|
1433
1559
|
}
|
|
1560
|
+
/**
|
|
1561
|
+
* @public
|
|
1562
|
+
*/
|
|
1434
1563
|
export interface ListTagsForResourceRequest {
|
|
1435
1564
|
/**
|
|
1436
1565
|
* <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>
|
|
1437
1566
|
*/
|
|
1438
1567
|
resourceArn: string | undefined;
|
|
1439
1568
|
}
|
|
1569
|
+
/**
|
|
1570
|
+
* @public
|
|
1571
|
+
*/
|
|
1440
1572
|
export interface ListTagsForResourceResponse {
|
|
1441
1573
|
/**
|
|
1442
1574
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
@@ -1456,6 +1588,9 @@ export interface ListTagsForResourceResponse {
|
|
|
1456
1588
|
*/
|
|
1457
1589
|
Tags?: Record<string, string>;
|
|
1458
1590
|
}
|
|
1591
|
+
/**
|
|
1592
|
+
* @public
|
|
1593
|
+
*/
|
|
1459
1594
|
export interface PutRecommendationFeedbackRequest {
|
|
1460
1595
|
/**
|
|
1461
1596
|
* <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.
|
|
@@ -1473,8 +1608,14 @@ export interface PutRecommendationFeedbackRequest {
|
|
|
1473
1608
|
*/
|
|
1474
1609
|
Reactions: (Reaction | string)[] | undefined;
|
|
1475
1610
|
}
|
|
1611
|
+
/**
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1476
1614
|
export interface PutRecommendationFeedbackResponse {
|
|
1477
1615
|
}
|
|
1616
|
+
/**
|
|
1617
|
+
* @public
|
|
1618
|
+
*/
|
|
1478
1619
|
export interface TagResourceRequest {
|
|
1479
1620
|
/**
|
|
1480
1621
|
* <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>
|
|
@@ -1498,8 +1639,14 @@ export interface TagResourceRequest {
|
|
|
1498
1639
|
*/
|
|
1499
1640
|
Tags: Record<string, string> | undefined;
|
|
1500
1641
|
}
|
|
1642
|
+
/**
|
|
1643
|
+
* @public
|
|
1644
|
+
*/
|
|
1501
1645
|
export interface TagResourceResponse {
|
|
1502
1646
|
}
|
|
1647
|
+
/**
|
|
1648
|
+
* @public
|
|
1649
|
+
*/
|
|
1503
1650
|
export interface UntagResourceRequest {
|
|
1504
1651
|
/**
|
|
1505
1652
|
* <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>
|
|
@@ -1510,6 +1657,9 @@ export interface UntagResourceRequest {
|
|
|
1510
1657
|
*/
|
|
1511
1658
|
TagKeys: string[] | undefined;
|
|
1512
1659
|
}
|
|
1660
|
+
/**
|
|
1661
|
+
* @public
|
|
1662
|
+
*/
|
|
1513
1663
|
export interface UntagResourceResponse {
|
|
1514
1664
|
}
|
|
1515
1665
|
/**
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface CodeGuruReviewerPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: CodeGuruReviewerClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListCodeReviewsCommandInput, ListCodeReviewsCommandOutput } from "../commands/ListCodeReviewsCommand";
|
|
3
3
|
import { CodeGuruReviewerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListCodeReviews(config: CodeGuruReviewerPaginationConfiguration, input: ListCodeReviewsCommandInput, ...additionalArguments: any): Paginator<ListCodeReviewsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListRecommendationFeedbackCommandInput, ListRecommendationFeedbackCommandOutput } from "../commands/ListRecommendationFeedbackCommand";
|
|
3
3
|
import { CodeGuruReviewerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListRecommendationFeedback(config: CodeGuruReviewerPaginationConfiguration, input: ListRecommendationFeedbackCommandInput, ...additionalArguments: any): Paginator<ListRecommendationFeedbackCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "../commands/ListRecommendationsCommand";
|
|
3
3
|
import { CodeGuruReviewerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListRecommendations(config: CodeGuruReviewerPaginationConfiguration, input: ListRecommendationsCommandInput, ...additionalArguments: any): Paginator<ListRecommendationsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListRepositoryAssociationsCommandInput, ListRepositoryAssociationsCommandOutput } from "../commands/ListRepositoryAssociationsCommand";
|
|
3
3
|
import { CodeGuruReviewerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListRepositoryAssociations(config: CodeGuruReviewerPaginationConfiguration, input: ListRepositoryAssociationsCommandInput, ...additionalArguments: any): Paginator<ListRepositoryAssociationsCommandOutput>;
|