@aws-sdk/client-codeguru-reviewer 3.325.0 → 3.327.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/commands/AssociateRepositoryCommand.d.ts +31 -0
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +61 -0
- package/dist-types/commands/DescribeCodeReviewCommand.d.ts +61 -0
- package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +15 -0
- package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +31 -0
- package/dist-types/commands/DisassociateRepositoryCommand.d.ts +31 -0
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +58 -0
- package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +15 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +26 -0
- package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +18 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/package.json +7 -7
|
@@ -79,6 +79,35 @@ export interface AssociateRepositoryCommandOutput extends AssociateRepositoryRes
|
|
|
79
79
|
* };
|
|
80
80
|
* const command = new AssociateRepositoryCommand(input);
|
|
81
81
|
* const response = await client.send(command);
|
|
82
|
+
* // { // AssociateRepositoryResponse
|
|
83
|
+
* // RepositoryAssociation: { // RepositoryAssociation
|
|
84
|
+
* // AssociationId: "STRING_VALUE",
|
|
85
|
+
* // AssociationArn: "STRING_VALUE",
|
|
86
|
+
* // ConnectionArn: "STRING_VALUE",
|
|
87
|
+
* // Name: "STRING_VALUE",
|
|
88
|
+
* // Owner: "STRING_VALUE",
|
|
89
|
+
* // ProviderType: "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
90
|
+
* // State: "Associated" || "Associating" || "Failed" || "Disassociating" || "Disassociated",
|
|
91
|
+
* // StateReason: "STRING_VALUE",
|
|
92
|
+
* // LastUpdatedTimeStamp: new Date("TIMESTAMP"),
|
|
93
|
+
* // CreatedTimeStamp: new Date("TIMESTAMP"),
|
|
94
|
+
* // KMSKeyDetails: { // KMSKeyDetails
|
|
95
|
+
* // KMSKeyId: "STRING_VALUE",
|
|
96
|
+
* // EncryptionOption: "AWS_OWNED_CMK" || "CUSTOMER_MANAGED_CMK",
|
|
97
|
+
* // },
|
|
98
|
+
* // S3RepositoryDetails: { // S3RepositoryDetails
|
|
99
|
+
* // BucketName: "STRING_VALUE",
|
|
100
|
+
* // CodeArtifacts: { // CodeArtifacts
|
|
101
|
+
* // SourceCodeArtifactsObjectKey: "STRING_VALUE", // required
|
|
102
|
+
* // BuildArtifactsObjectKey: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // Tags: { // TagMap
|
|
107
|
+
* // "<keys>": "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
82
111
|
* ```
|
|
83
112
|
*
|
|
84
113
|
* @param AssociateRepositoryCommandInput - {@link AssociateRepositoryCommandInput}
|
|
@@ -104,6 +133,8 @@ export interface AssociateRepositoryCommandOutput extends AssociateRepositoryRes
|
|
|
104
133
|
* @throws {@link ValidationException} (client fault)
|
|
105
134
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
106
135
|
*
|
|
136
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
107
138
|
*
|
|
108
139
|
*/
|
|
109
140
|
export declare class AssociateRepositoryCommand extends $Command<AssociateRepositoryCommandInput, AssociateRepositoryCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -79,6 +79,65 @@ export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse,
|
|
|
79
79
|
* };
|
|
80
80
|
* const command = new CreateCodeReviewCommand(input);
|
|
81
81
|
* const response = await client.send(command);
|
|
82
|
+
* // { // CreateCodeReviewResponse
|
|
83
|
+
* // CodeReview: { // CodeReview
|
|
84
|
+
* // Name: "STRING_VALUE",
|
|
85
|
+
* // CodeReviewArn: "STRING_VALUE",
|
|
86
|
+
* // RepositoryName: "STRING_VALUE",
|
|
87
|
+
* // Owner: "STRING_VALUE",
|
|
88
|
+
* // ProviderType: "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
89
|
+
* // State: "Completed" || "Pending" || "Failed" || "Deleting",
|
|
90
|
+
* // StateReason: "STRING_VALUE",
|
|
91
|
+
* // CreatedTimeStamp: new Date("TIMESTAMP"),
|
|
92
|
+
* // LastUpdatedTimeStamp: new Date("TIMESTAMP"),
|
|
93
|
+
* // Type: "PullRequest" || "RepositoryAnalysis",
|
|
94
|
+
* // PullRequestId: "STRING_VALUE",
|
|
95
|
+
* // SourceCodeType: { // SourceCodeType
|
|
96
|
+
* // CommitDiff: { // CommitDiffSourceCodeType
|
|
97
|
+
* // SourceCommit: "STRING_VALUE",
|
|
98
|
+
* // DestinationCommit: "STRING_VALUE",
|
|
99
|
+
* // MergeBaseCommit: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // RepositoryHead: { // RepositoryHeadSourceCodeType
|
|
102
|
+
* // BranchName: "STRING_VALUE", // required
|
|
103
|
+
* // },
|
|
104
|
+
* // BranchDiff: { // BranchDiffSourceCodeType
|
|
105
|
+
* // SourceBranchName: "STRING_VALUE", // required
|
|
106
|
+
* // DestinationBranchName: "STRING_VALUE", // required
|
|
107
|
+
* // },
|
|
108
|
+
* // S3BucketRepository: { // S3BucketRepository
|
|
109
|
+
* // Name: "STRING_VALUE", // required
|
|
110
|
+
* // Details: { // S3RepositoryDetails
|
|
111
|
+
* // BucketName: "STRING_VALUE",
|
|
112
|
+
* // CodeArtifacts: { // CodeArtifacts
|
|
113
|
+
* // SourceCodeArtifactsObjectKey: "STRING_VALUE", // required
|
|
114
|
+
* // BuildArtifactsObjectKey: "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // RequestMetadata: { // RequestMetadata
|
|
119
|
+
* // RequestId: "STRING_VALUE",
|
|
120
|
+
* // Requester: "STRING_VALUE",
|
|
121
|
+
* // EventInfo: { // EventInfo
|
|
122
|
+
* // Name: "STRING_VALUE",
|
|
123
|
+
* // State: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
125
|
+
* // VendorName: "GitHub" || "GitLab" || "NativeS3",
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // AssociationArn: "STRING_VALUE",
|
|
129
|
+
* // Metrics: { // Metrics
|
|
130
|
+
* // MeteredLinesOfCodeCount: Number("long"),
|
|
131
|
+
* // SuppressedLinesOfCodeCount: Number("long"),
|
|
132
|
+
* // FindingsCount: Number("long"),
|
|
133
|
+
* // },
|
|
134
|
+
* // AnalysisTypes: [ // AnalysisTypes
|
|
135
|
+
* // "Security" || "CodeQuality",
|
|
136
|
+
* // ],
|
|
137
|
+
* // ConfigFileState: "Present" || "Absent" || "PresentWithErrors",
|
|
138
|
+
* // },
|
|
139
|
+
* // };
|
|
140
|
+
*
|
|
82
141
|
* ```
|
|
83
142
|
*
|
|
84
143
|
* @param CreateCodeReviewCommandInput - {@link CreateCodeReviewCommandInput}
|
|
@@ -107,6 +166,8 @@ export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse,
|
|
|
107
166
|
* @throws {@link ValidationException} (client fault)
|
|
108
167
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
109
168
|
*
|
|
169
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
170
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
110
171
|
*
|
|
111
172
|
*/
|
|
112
173
|
export declare class CreateCodeReviewCommand extends $Command<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -31,6 +31,65 @@ export interface DescribeCodeReviewCommandOutput extends DescribeCodeReviewRespo
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeCodeReviewCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeCodeReviewResponse
|
|
35
|
+
* // CodeReview: { // CodeReview
|
|
36
|
+
* // Name: "STRING_VALUE",
|
|
37
|
+
* // CodeReviewArn: "STRING_VALUE",
|
|
38
|
+
* // RepositoryName: "STRING_VALUE",
|
|
39
|
+
* // Owner: "STRING_VALUE",
|
|
40
|
+
* // ProviderType: "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
41
|
+
* // State: "Completed" || "Pending" || "Failed" || "Deleting",
|
|
42
|
+
* // StateReason: "STRING_VALUE",
|
|
43
|
+
* // CreatedTimeStamp: new Date("TIMESTAMP"),
|
|
44
|
+
* // LastUpdatedTimeStamp: new Date("TIMESTAMP"),
|
|
45
|
+
* // Type: "PullRequest" || "RepositoryAnalysis",
|
|
46
|
+
* // PullRequestId: "STRING_VALUE",
|
|
47
|
+
* // SourceCodeType: { // SourceCodeType
|
|
48
|
+
* // CommitDiff: { // CommitDiffSourceCodeType
|
|
49
|
+
* // SourceCommit: "STRING_VALUE",
|
|
50
|
+
* // DestinationCommit: "STRING_VALUE",
|
|
51
|
+
* // MergeBaseCommit: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // RepositoryHead: { // RepositoryHeadSourceCodeType
|
|
54
|
+
* // BranchName: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // BranchDiff: { // BranchDiffSourceCodeType
|
|
57
|
+
* // SourceBranchName: "STRING_VALUE", // required
|
|
58
|
+
* // DestinationBranchName: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // S3BucketRepository: { // S3BucketRepository
|
|
61
|
+
* // Name: "STRING_VALUE", // required
|
|
62
|
+
* // Details: { // S3RepositoryDetails
|
|
63
|
+
* // BucketName: "STRING_VALUE",
|
|
64
|
+
* // CodeArtifacts: { // CodeArtifacts
|
|
65
|
+
* // SourceCodeArtifactsObjectKey: "STRING_VALUE", // required
|
|
66
|
+
* // BuildArtifactsObjectKey: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // RequestMetadata: { // RequestMetadata
|
|
71
|
+
* // RequestId: "STRING_VALUE",
|
|
72
|
+
* // Requester: "STRING_VALUE",
|
|
73
|
+
* // EventInfo: { // EventInfo
|
|
74
|
+
* // Name: "STRING_VALUE",
|
|
75
|
+
* // State: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // VendorName: "GitHub" || "GitLab" || "NativeS3",
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // AssociationArn: "STRING_VALUE",
|
|
81
|
+
* // Metrics: { // Metrics
|
|
82
|
+
* // MeteredLinesOfCodeCount: Number("long"),
|
|
83
|
+
* // SuppressedLinesOfCodeCount: Number("long"),
|
|
84
|
+
* // FindingsCount: Number("long"),
|
|
85
|
+
* // },
|
|
86
|
+
* // AnalysisTypes: [ // AnalysisTypes
|
|
87
|
+
* // "Security" || "CodeQuality",
|
|
88
|
+
* // ],
|
|
89
|
+
* // ConfigFileState: "Present" || "Absent" || "PresentWithErrors",
|
|
90
|
+
* // },
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
34
93
|
* ```
|
|
35
94
|
*
|
|
36
95
|
* @param DescribeCodeReviewCommandInput - {@link DescribeCodeReviewCommandInput}
|
|
@@ -54,6 +113,8 @@ export interface DescribeCodeReviewCommandOutput extends DescribeCodeReviewRespo
|
|
|
54
113
|
* @throws {@link ValidationException} (client fault)
|
|
55
114
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
56
115
|
*
|
|
116
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
57
118
|
*
|
|
58
119
|
*/
|
|
59
120
|
export declare class DescribeCodeReviewCommand extends $Command<DescribeCodeReviewCommandInput, DescribeCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -33,6 +33,19 @@ export interface DescribeRecommendationFeedbackCommandOutput extends DescribeRec
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DescribeRecommendationFeedbackCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // DescribeRecommendationFeedbackResponse
|
|
37
|
+
* // RecommendationFeedback: { // RecommendationFeedback
|
|
38
|
+
* // CodeReviewArn: "STRING_VALUE",
|
|
39
|
+
* // RecommendationId: "STRING_VALUE",
|
|
40
|
+
* // Reactions: [ // Reactions
|
|
41
|
+
* // "ThumbsUp" || "ThumbsDown",
|
|
42
|
+
* // ],
|
|
43
|
+
* // UserId: "STRING_VALUE",
|
|
44
|
+
* // CreatedTimeStamp: new Date("TIMESTAMP"),
|
|
45
|
+
* // LastUpdatedTimeStamp: new Date("TIMESTAMP"),
|
|
46
|
+
* // },
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
36
49
|
* ```
|
|
37
50
|
*
|
|
38
51
|
* @param DescribeRecommendationFeedbackCommandInput - {@link DescribeRecommendationFeedbackCommandInput}
|
|
@@ -56,6 +69,8 @@ export interface DescribeRecommendationFeedbackCommandOutput extends DescribeRec
|
|
|
56
69
|
* @throws {@link ValidationException} (client fault)
|
|
57
70
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
58
71
|
*
|
|
72
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
59
74
|
*
|
|
60
75
|
*/
|
|
61
76
|
export declare class DescribeRecommendationFeedbackCommand extends $Command<DescribeRecommendationFeedbackCommandInput, DescribeRecommendationFeedbackCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -32,6 +32,35 @@ export interface DescribeRepositoryAssociationCommandOutput extends DescribeRepo
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeRepositoryAssociationCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeRepositoryAssociationResponse
|
|
36
|
+
* // RepositoryAssociation: { // RepositoryAssociation
|
|
37
|
+
* // AssociationId: "STRING_VALUE",
|
|
38
|
+
* // AssociationArn: "STRING_VALUE",
|
|
39
|
+
* // ConnectionArn: "STRING_VALUE",
|
|
40
|
+
* // Name: "STRING_VALUE",
|
|
41
|
+
* // Owner: "STRING_VALUE",
|
|
42
|
+
* // ProviderType: "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
43
|
+
* // State: "Associated" || "Associating" || "Failed" || "Disassociating" || "Disassociated",
|
|
44
|
+
* // StateReason: "STRING_VALUE",
|
|
45
|
+
* // LastUpdatedTimeStamp: new Date("TIMESTAMP"),
|
|
46
|
+
* // CreatedTimeStamp: new Date("TIMESTAMP"),
|
|
47
|
+
* // KMSKeyDetails: { // KMSKeyDetails
|
|
48
|
+
* // KMSKeyId: "STRING_VALUE",
|
|
49
|
+
* // EncryptionOption: "AWS_OWNED_CMK" || "CUSTOMER_MANAGED_CMK",
|
|
50
|
+
* // },
|
|
51
|
+
* // S3RepositoryDetails: { // S3RepositoryDetails
|
|
52
|
+
* // BucketName: "STRING_VALUE",
|
|
53
|
+
* // CodeArtifacts: { // CodeArtifacts
|
|
54
|
+
* // SourceCodeArtifactsObjectKey: "STRING_VALUE", // required
|
|
55
|
+
* // BuildArtifactsObjectKey: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // Tags: { // TagMap
|
|
60
|
+
* // "<keys>": "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
35
64
|
* ```
|
|
36
65
|
*
|
|
37
66
|
* @param DescribeRepositoryAssociationCommandInput - {@link DescribeRepositoryAssociationCommandInput}
|
|
@@ -55,6 +84,8 @@ export interface DescribeRepositoryAssociationCommandOutput extends DescribeRepo
|
|
|
55
84
|
* @throws {@link ValidationException} (client fault)
|
|
56
85
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
57
86
|
*
|
|
87
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
58
89
|
*
|
|
59
90
|
*/
|
|
60
91
|
export declare class DescribeRepositoryAssociationCommand extends $Command<DescribeRepositoryAssociationCommandInput, DescribeRepositoryAssociationCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -31,6 +31,35 @@ export interface DisassociateRepositoryCommandOutput extends DisassociateReposit
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisassociateRepositoryCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DisassociateRepositoryResponse
|
|
35
|
+
* // RepositoryAssociation: { // RepositoryAssociation
|
|
36
|
+
* // AssociationId: "STRING_VALUE",
|
|
37
|
+
* // AssociationArn: "STRING_VALUE",
|
|
38
|
+
* // ConnectionArn: "STRING_VALUE",
|
|
39
|
+
* // Name: "STRING_VALUE",
|
|
40
|
+
* // Owner: "STRING_VALUE",
|
|
41
|
+
* // ProviderType: "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
42
|
+
* // State: "Associated" || "Associating" || "Failed" || "Disassociating" || "Disassociated",
|
|
43
|
+
* // StateReason: "STRING_VALUE",
|
|
44
|
+
* // LastUpdatedTimeStamp: new Date("TIMESTAMP"),
|
|
45
|
+
* // CreatedTimeStamp: new Date("TIMESTAMP"),
|
|
46
|
+
* // KMSKeyDetails: { // KMSKeyDetails
|
|
47
|
+
* // KMSKeyId: "STRING_VALUE",
|
|
48
|
+
* // EncryptionOption: "AWS_OWNED_CMK" || "CUSTOMER_MANAGED_CMK",
|
|
49
|
+
* // },
|
|
50
|
+
* // S3RepositoryDetails: { // S3RepositoryDetails
|
|
51
|
+
* // BucketName: "STRING_VALUE",
|
|
52
|
+
* // CodeArtifacts: { // CodeArtifacts
|
|
53
|
+
* // SourceCodeArtifactsObjectKey: "STRING_VALUE", // required
|
|
54
|
+
* // BuildArtifactsObjectKey: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // Tags: { // TagMap
|
|
59
|
+
* // "<keys>": "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
34
63
|
* ```
|
|
35
64
|
*
|
|
36
65
|
* @param DisassociateRepositoryCommandInput - {@link DisassociateRepositoryCommandInput}
|
|
@@ -59,6 +88,8 @@ export interface DisassociateRepositoryCommandOutput extends DisassociateReposit
|
|
|
59
88
|
* @throws {@link ValidationException} (client fault)
|
|
60
89
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
61
90
|
*
|
|
91
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
62
93
|
*
|
|
63
94
|
*/
|
|
64
95
|
export declare class DisassociateRepositoryCommand extends $Command<DisassociateRepositoryCommandInput, DisassociateRepositoryCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -42,6 +42,62 @@ export interface ListCodeReviewsCommandOutput extends ListCodeReviewsResponse, _
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new ListCodeReviewsCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // ListCodeReviewsResponse
|
|
46
|
+
* // CodeReviewSummaries: [ // CodeReviewSummaries
|
|
47
|
+
* // { // CodeReviewSummary
|
|
48
|
+
* // Name: "STRING_VALUE",
|
|
49
|
+
* // CodeReviewArn: "STRING_VALUE",
|
|
50
|
+
* // RepositoryName: "STRING_VALUE",
|
|
51
|
+
* // Owner: "STRING_VALUE",
|
|
52
|
+
* // ProviderType: "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
53
|
+
* // State: "Completed" || "Pending" || "Failed" || "Deleting",
|
|
54
|
+
* // CreatedTimeStamp: new Date("TIMESTAMP"),
|
|
55
|
+
* // LastUpdatedTimeStamp: new Date("TIMESTAMP"),
|
|
56
|
+
* // Type: "PullRequest" || "RepositoryAnalysis",
|
|
57
|
+
* // PullRequestId: "STRING_VALUE",
|
|
58
|
+
* // MetricsSummary: { // MetricsSummary
|
|
59
|
+
* // MeteredLinesOfCodeCount: Number("long"),
|
|
60
|
+
* // SuppressedLinesOfCodeCount: Number("long"),
|
|
61
|
+
* // FindingsCount: Number("long"),
|
|
62
|
+
* // },
|
|
63
|
+
* // SourceCodeType: { // SourceCodeType
|
|
64
|
+
* // CommitDiff: { // CommitDiffSourceCodeType
|
|
65
|
+
* // SourceCommit: "STRING_VALUE",
|
|
66
|
+
* // DestinationCommit: "STRING_VALUE",
|
|
67
|
+
* // MergeBaseCommit: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // RepositoryHead: { // RepositoryHeadSourceCodeType
|
|
70
|
+
* // BranchName: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // BranchDiff: { // BranchDiffSourceCodeType
|
|
73
|
+
* // SourceBranchName: "STRING_VALUE", // required
|
|
74
|
+
* // DestinationBranchName: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // S3BucketRepository: { // S3BucketRepository
|
|
77
|
+
* // Name: "STRING_VALUE", // required
|
|
78
|
+
* // Details: { // S3RepositoryDetails
|
|
79
|
+
* // BucketName: "STRING_VALUE",
|
|
80
|
+
* // CodeArtifacts: { // CodeArtifacts
|
|
81
|
+
* // SourceCodeArtifactsObjectKey: "STRING_VALUE", // required
|
|
82
|
+
* // BuildArtifactsObjectKey: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // RequestMetadata: { // RequestMetadata
|
|
87
|
+
* // RequestId: "STRING_VALUE",
|
|
88
|
+
* // Requester: "STRING_VALUE",
|
|
89
|
+
* // EventInfo: { // EventInfo
|
|
90
|
+
* // Name: "STRING_VALUE",
|
|
91
|
+
* // State: "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // VendorName: "GitHub" || "GitLab" || "NativeS3",
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // NextToken: "STRING_VALUE",
|
|
99
|
+
* // };
|
|
100
|
+
*
|
|
45
101
|
* ```
|
|
46
102
|
*
|
|
47
103
|
* @param ListCodeReviewsCommandInput - {@link ListCodeReviewsCommandInput}
|
|
@@ -62,6 +118,8 @@ export interface ListCodeReviewsCommandOutput extends ListCodeReviewsResponse, _
|
|
|
62
118
|
* @throws {@link ValidationException} (client fault)
|
|
63
119
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
64
120
|
*
|
|
121
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
65
123
|
*
|
|
66
124
|
*/
|
|
67
125
|
export declare class ListCodeReviewsCommand extends $Command<ListCodeReviewsCommandInput, ListCodeReviewsCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -40,6 +40,19 @@ export interface ListRecommendationFeedbackCommandOutput extends ListRecommendat
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ListRecommendationFeedbackCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // ListRecommendationFeedbackResponse
|
|
44
|
+
* // RecommendationFeedbackSummaries: [ // RecommendationFeedbackSummaries
|
|
45
|
+
* // { // RecommendationFeedbackSummary
|
|
46
|
+
* // RecommendationId: "STRING_VALUE",
|
|
47
|
+
* // Reactions: [ // Reactions
|
|
48
|
+
* // "ThumbsUp" || "ThumbsDown",
|
|
49
|
+
* // ],
|
|
50
|
+
* // UserId: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
43
56
|
* ```
|
|
44
57
|
*
|
|
45
58
|
* @param ListRecommendationFeedbackCommandInput - {@link ListRecommendationFeedbackCommandInput}
|
|
@@ -63,6 +76,8 @@ export interface ListRecommendationFeedbackCommandOutput extends ListRecommendat
|
|
|
63
76
|
* @throws {@link ValidationException} (client fault)
|
|
64
77
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
65
78
|
*
|
|
79
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
66
81
|
*
|
|
67
82
|
*/
|
|
68
83
|
export declare class ListRecommendationFeedbackCommand extends $Command<ListRecommendationFeedbackCommandInput, ListRecommendationFeedbackCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -33,6 +33,30 @@ export interface ListRecommendationsCommandOutput extends ListRecommendationsRes
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListRecommendationsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListRecommendationsResponse
|
|
37
|
+
* // RecommendationSummaries: [ // RecommendationSummaries
|
|
38
|
+
* // { // RecommendationSummary
|
|
39
|
+
* // FilePath: "STRING_VALUE",
|
|
40
|
+
* // RecommendationId: "STRING_VALUE",
|
|
41
|
+
* // StartLine: Number("int"),
|
|
42
|
+
* // EndLine: Number("int"),
|
|
43
|
+
* // Description: "STRING_VALUE",
|
|
44
|
+
* // RecommendationCategory: "AWSBestPractices" || "AWSCloudFormationIssues" || "DuplicateCode" || "CodeMaintenanceIssues" || "ConcurrencyIssues" || "InputValidations" || "PythonBestPractices" || "JavaBestPractices" || "ResourceLeaks" || "SecurityIssues" || "CodeInconsistencies",
|
|
45
|
+
* // RuleMetadata: { // RuleMetadata
|
|
46
|
+
* // RuleId: "STRING_VALUE",
|
|
47
|
+
* // RuleName: "STRING_VALUE",
|
|
48
|
+
* // ShortDescription: "STRING_VALUE",
|
|
49
|
+
* // LongDescription: "STRING_VALUE",
|
|
50
|
+
* // RuleTags: [ // RuleTags
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // },
|
|
54
|
+
* // Severity: "Info" || "Low" || "Medium" || "High" || "Critical",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // NextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
36
60
|
* ```
|
|
37
61
|
*
|
|
38
62
|
* @param ListRecommendationsCommandInput - {@link ListRecommendationsCommandInput}
|
|
@@ -56,6 +80,8 @@ export interface ListRecommendationsCommandOutput extends ListRecommendationsRes
|
|
|
56
80
|
* @throws {@link ValidationException} (client fault)
|
|
57
81
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
58
82
|
*
|
|
83
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
59
85
|
*
|
|
60
86
|
*/
|
|
61
87
|
export declare class ListRecommendationsCommand extends $Command<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -45,6 +45,22 @@ export interface ListRepositoryAssociationsCommandOutput extends ListRepositoryA
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new ListRepositoryAssociationsCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // { // ListRepositoryAssociationsResponse
|
|
49
|
+
* // RepositoryAssociationSummaries: [ // RepositoryAssociationSummaries
|
|
50
|
+
* // { // RepositoryAssociationSummary
|
|
51
|
+
* // AssociationArn: "STRING_VALUE",
|
|
52
|
+
* // ConnectionArn: "STRING_VALUE",
|
|
53
|
+
* // LastUpdatedTimeStamp: new Date("TIMESTAMP"),
|
|
54
|
+
* // AssociationId: "STRING_VALUE",
|
|
55
|
+
* // Name: "STRING_VALUE",
|
|
56
|
+
* // Owner: "STRING_VALUE",
|
|
57
|
+
* // ProviderType: "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
58
|
+
* // State: "Associated" || "Associating" || "Failed" || "Disassociating" || "Disassociated",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // NextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
48
64
|
* ```
|
|
49
65
|
*
|
|
50
66
|
* @param ListRepositoryAssociationsCommandInput - {@link ListRepositoryAssociationsCommandInput}
|
|
@@ -62,6 +78,8 @@ export interface ListRepositoryAssociationsCommandOutput extends ListRepositoryA
|
|
|
62
78
|
* @throws {@link ValidationException} (client fault)
|
|
63
79
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
64
80
|
*
|
|
81
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
65
83
|
*
|
|
66
84
|
*/
|
|
67
85
|
export declare class ListRepositoryAssociationsCommand extends $Command<ListRepositoryAssociationsCommandInput, ListRepositoryAssociationsCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // ListTagsForResourceResponse
|
|
35
|
+
* // Tags: { // TagMap
|
|
36
|
+
* // "<keys>": "STRING_VALUE",
|
|
37
|
+
* // },
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
34
40
|
* ```
|
|
35
41
|
*
|
|
36
42
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -48,6 +54,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
48
54
|
* @throws {@link ValidationException} (client fault)
|
|
49
55
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
50
56
|
*
|
|
57
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
51
59
|
*
|
|
52
60
|
*/
|
|
53
61
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -36,6 +36,8 @@ export interface PutRecommendationFeedbackCommandOutput extends PutRecommendatio
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new PutRecommendationFeedbackCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
39
41
|
* ```
|
|
40
42
|
*
|
|
41
43
|
* @param PutRecommendationFeedbackCommandInput - {@link PutRecommendationFeedbackCommandInput}
|
|
@@ -59,6 +61,8 @@ export interface PutRecommendationFeedbackCommandOutput extends PutRecommendatio
|
|
|
59
61
|
* @throws {@link ValidationException} (client fault)
|
|
60
62
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
61
63
|
*
|
|
64
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
62
66
|
*
|
|
63
67
|
*/
|
|
64
68
|
export declare class PutRecommendationFeedbackCommand extends $Command<PutRecommendationFeedbackCommandInput, PutRecommendationFeedbackCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new TagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -51,6 +53,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
51
53
|
* @throws {@link ValidationException} (client fault)
|
|
52
54
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
53
55
|
*
|
|
56
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
57
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
54
58
|
*
|
|
55
59
|
*/
|
|
56
60
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -51,6 +53,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
51
53
|
* @throws {@link ValidationException} (client fault)
|
|
52
54
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
53
55
|
*
|
|
56
|
+
* @throws {@link CodeGuruReviewerServiceException}
|
|
57
|
+
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
54
58
|
*
|
|
55
59
|
*/
|
|
56
60
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodeGuruReviewerClientResolvedConfig> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeguru-reviewer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeguru Reviewer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.327.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.327.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.327.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|