@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
|
@@ -3,7 +3,7 @@ import { CodeGuruReviewerServiceException as __BaseException } from "./CodeGuruR
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
Message?: string;
|
|
6
|
+
Message?: string | undefined;
|
|
7
7
|
constructor(
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
@@ -20,8 +20,8 @@ export declare const EncryptionOption: {
|
|
|
20
20
|
export type EncryptionOption =
|
|
21
21
|
(typeof EncryptionOption)[keyof typeof EncryptionOption];
|
|
22
22
|
export interface KMSKeyDetails {
|
|
23
|
-
KMSKeyId?: string;
|
|
24
|
-
EncryptionOption?: EncryptionOption;
|
|
23
|
+
KMSKeyId?: string | undefined;
|
|
24
|
+
EncryptionOption?: EncryptionOption | undefined;
|
|
25
25
|
}
|
|
26
26
|
export interface ThirdPartySourceRepository {
|
|
27
27
|
Name: string | undefined;
|
|
@@ -36,16 +36,16 @@ export interface S3Repository {
|
|
|
36
36
|
BucketName: string | undefined;
|
|
37
37
|
}
|
|
38
38
|
export interface Repository {
|
|
39
|
-
CodeCommit?: CodeCommitRepository;
|
|
40
|
-
Bitbucket?: ThirdPartySourceRepository;
|
|
41
|
-
GitHubEnterpriseServer?: ThirdPartySourceRepository;
|
|
42
|
-
S3Bucket?: S3Repository;
|
|
39
|
+
CodeCommit?: CodeCommitRepository | undefined;
|
|
40
|
+
Bitbucket?: ThirdPartySourceRepository | undefined;
|
|
41
|
+
GitHubEnterpriseServer?: ThirdPartySourceRepository | undefined;
|
|
42
|
+
S3Bucket?: S3Repository | undefined;
|
|
43
43
|
}
|
|
44
44
|
export interface AssociateRepositoryRequest {
|
|
45
45
|
Repository: Repository | undefined;
|
|
46
|
-
ClientRequestToken?: string;
|
|
47
|
-
Tags?: Record<string, string
|
|
48
|
-
KMSKeyDetails?: KMSKeyDetails;
|
|
46
|
+
ClientRequestToken?: string | undefined;
|
|
47
|
+
Tags?: Record<string, string> | undefined;
|
|
48
|
+
KMSKeyDetails?: KMSKeyDetails | undefined;
|
|
49
49
|
}
|
|
50
50
|
export declare const ProviderType: {
|
|
51
51
|
readonly BITBUCKET: "Bitbucket";
|
|
@@ -57,11 +57,11 @@ export declare const ProviderType: {
|
|
|
57
57
|
export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
|
|
58
58
|
export interface CodeArtifacts {
|
|
59
59
|
SourceCodeArtifactsObjectKey: string | undefined;
|
|
60
|
-
BuildArtifactsObjectKey?: string;
|
|
60
|
+
BuildArtifactsObjectKey?: string | undefined;
|
|
61
61
|
}
|
|
62
62
|
export interface S3RepositoryDetails {
|
|
63
|
-
BucketName?: string;
|
|
64
|
-
CodeArtifacts?: CodeArtifacts;
|
|
63
|
+
BucketName?: string | undefined;
|
|
64
|
+
CodeArtifacts?: CodeArtifacts | undefined;
|
|
65
65
|
}
|
|
66
66
|
export declare const RepositoryAssociationState: {
|
|
67
67
|
readonly ASSOCIATED: "Associated";
|
|
@@ -73,33 +73,33 @@ export declare const RepositoryAssociationState: {
|
|
|
73
73
|
export type RepositoryAssociationState =
|
|
74
74
|
(typeof RepositoryAssociationState)[keyof typeof RepositoryAssociationState];
|
|
75
75
|
export interface RepositoryAssociation {
|
|
76
|
-
AssociationId?: string;
|
|
77
|
-
AssociationArn?: string;
|
|
78
|
-
ConnectionArn?: string;
|
|
79
|
-
Name?: string;
|
|
80
|
-
Owner?: string;
|
|
81
|
-
ProviderType?: ProviderType;
|
|
82
|
-
State?: RepositoryAssociationState;
|
|
83
|
-
StateReason?: string;
|
|
84
|
-
LastUpdatedTimeStamp?: Date;
|
|
85
|
-
CreatedTimeStamp?: Date;
|
|
86
|
-
KMSKeyDetails?: KMSKeyDetails;
|
|
87
|
-
S3RepositoryDetails?: S3RepositoryDetails;
|
|
76
|
+
AssociationId?: string | undefined;
|
|
77
|
+
AssociationArn?: string | undefined;
|
|
78
|
+
ConnectionArn?: string | undefined;
|
|
79
|
+
Name?: string | undefined;
|
|
80
|
+
Owner?: string | undefined;
|
|
81
|
+
ProviderType?: ProviderType | undefined;
|
|
82
|
+
State?: RepositoryAssociationState | undefined;
|
|
83
|
+
StateReason?: string | undefined;
|
|
84
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
85
|
+
CreatedTimeStamp?: Date | undefined;
|
|
86
|
+
KMSKeyDetails?: KMSKeyDetails | undefined;
|
|
87
|
+
S3RepositoryDetails?: S3RepositoryDetails | undefined;
|
|
88
88
|
}
|
|
89
89
|
export interface AssociateRepositoryResponse {
|
|
90
|
-
RepositoryAssociation?: RepositoryAssociation;
|
|
91
|
-
Tags?: Record<string, string
|
|
90
|
+
RepositoryAssociation?: RepositoryAssociation | undefined;
|
|
91
|
+
Tags?: Record<string, string> | undefined;
|
|
92
92
|
}
|
|
93
93
|
export declare class ConflictException extends __BaseException {
|
|
94
94
|
readonly name: "ConflictException";
|
|
95
95
|
readonly $fault: "client";
|
|
96
|
-
Message?: string;
|
|
96
|
+
Message?: string | undefined;
|
|
97
97
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
98
98
|
}
|
|
99
99
|
export declare class InternalServerException extends __BaseException {
|
|
100
100
|
readonly name: "InternalServerException";
|
|
101
101
|
readonly $fault: "server";
|
|
102
|
-
Message?: string;
|
|
102
|
+
Message?: string | undefined;
|
|
103
103
|
constructor(
|
|
104
104
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
105
105
|
);
|
|
@@ -107,7 +107,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
107
107
|
export declare class ThrottlingException extends __BaseException {
|
|
108
108
|
readonly name: "ThrottlingException";
|
|
109
109
|
readonly $fault: "client";
|
|
110
|
-
Message?: string;
|
|
110
|
+
Message?: string | undefined;
|
|
111
111
|
constructor(
|
|
112
112
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
113
113
|
);
|
|
@@ -115,7 +115,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
115
115
|
export declare class ValidationException extends __BaseException {
|
|
116
116
|
readonly name: "ValidationException";
|
|
117
117
|
readonly $fault: "client";
|
|
118
|
-
Message?: string;
|
|
118
|
+
Message?: string | undefined;
|
|
119
119
|
constructor(
|
|
120
120
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
121
121
|
);
|
|
@@ -128,13 +128,13 @@ export interface BranchDiffSourceCodeType {
|
|
|
128
128
|
DestinationBranchName: string | undefined;
|
|
129
129
|
}
|
|
130
130
|
export interface CommitDiffSourceCodeType {
|
|
131
|
-
SourceCommit?: string;
|
|
132
|
-
DestinationCommit?: string;
|
|
133
|
-
MergeBaseCommit?: string;
|
|
131
|
+
SourceCommit?: string | undefined;
|
|
132
|
+
DestinationCommit?: string | undefined;
|
|
133
|
+
MergeBaseCommit?: string | undefined;
|
|
134
134
|
}
|
|
135
135
|
export interface EventInfo {
|
|
136
|
-
Name?: string;
|
|
137
|
-
State?: string;
|
|
136
|
+
Name?: string | undefined;
|
|
137
|
+
State?: string | undefined;
|
|
138
138
|
}
|
|
139
139
|
export declare const VendorName: {
|
|
140
140
|
readonly GITHUB: "GitHub";
|
|
@@ -143,35 +143,35 @@ export declare const VendorName: {
|
|
|
143
143
|
};
|
|
144
144
|
export type VendorName = (typeof VendorName)[keyof typeof VendorName];
|
|
145
145
|
export interface RequestMetadata {
|
|
146
|
-
RequestId?: string;
|
|
147
|
-
Requester?: string;
|
|
148
|
-
EventInfo?: EventInfo;
|
|
149
|
-
VendorName?: VendorName;
|
|
146
|
+
RequestId?: string | undefined;
|
|
147
|
+
Requester?: string | undefined;
|
|
148
|
+
EventInfo?: EventInfo | undefined;
|
|
149
|
+
VendorName?: VendorName | undefined;
|
|
150
150
|
}
|
|
151
151
|
export interface S3BucketRepository {
|
|
152
152
|
Name: string | undefined;
|
|
153
|
-
Details?: S3RepositoryDetails;
|
|
153
|
+
Details?: S3RepositoryDetails | undefined;
|
|
154
154
|
}
|
|
155
155
|
export interface SourceCodeType {
|
|
156
|
-
CommitDiff?: CommitDiffSourceCodeType;
|
|
157
|
-
RepositoryHead?: RepositoryHeadSourceCodeType;
|
|
158
|
-
BranchDiff?: BranchDiffSourceCodeType;
|
|
159
|
-
S3BucketRepository?: S3BucketRepository;
|
|
160
|
-
RequestMetadata?: RequestMetadata;
|
|
156
|
+
CommitDiff?: CommitDiffSourceCodeType | undefined;
|
|
157
|
+
RepositoryHead?: RepositoryHeadSourceCodeType | undefined;
|
|
158
|
+
BranchDiff?: BranchDiffSourceCodeType | undefined;
|
|
159
|
+
S3BucketRepository?: S3BucketRepository | undefined;
|
|
160
|
+
RequestMetadata?: RequestMetadata | undefined;
|
|
161
161
|
}
|
|
162
162
|
export interface RepositoryAnalysis {
|
|
163
|
-
RepositoryHead?: RepositoryHeadSourceCodeType;
|
|
164
|
-
SourceCodeType?: SourceCodeType;
|
|
163
|
+
RepositoryHead?: RepositoryHeadSourceCodeType | undefined;
|
|
164
|
+
SourceCodeType?: SourceCodeType | undefined;
|
|
165
165
|
}
|
|
166
166
|
export interface CodeReviewType {
|
|
167
167
|
RepositoryAnalysis: RepositoryAnalysis | undefined;
|
|
168
|
-
AnalysisTypes?: AnalysisType[];
|
|
168
|
+
AnalysisTypes?: AnalysisType[] | undefined;
|
|
169
169
|
}
|
|
170
170
|
export interface CreateCodeReviewRequest {
|
|
171
171
|
Name: string | undefined;
|
|
172
172
|
RepositoryAssociationArn: string | undefined;
|
|
173
173
|
Type: CodeReviewType | undefined;
|
|
174
|
-
ClientRequestToken?: string;
|
|
174
|
+
ClientRequestToken?: string | undefined;
|
|
175
175
|
}
|
|
176
176
|
export declare const ConfigFileState: {
|
|
177
177
|
readonly ABSENT: "Absent";
|
|
@@ -181,9 +181,9 @@ export declare const ConfigFileState: {
|
|
|
181
181
|
export type ConfigFileState =
|
|
182
182
|
(typeof ConfigFileState)[keyof typeof ConfigFileState];
|
|
183
183
|
export interface Metrics {
|
|
184
|
-
MeteredLinesOfCodeCount?: number;
|
|
185
|
-
SuppressedLinesOfCodeCount?: number;
|
|
186
|
-
FindingsCount?: number;
|
|
184
|
+
MeteredLinesOfCodeCount?: number | undefined;
|
|
185
|
+
SuppressedLinesOfCodeCount?: number | undefined;
|
|
186
|
+
FindingsCount?: number | undefined;
|
|
187
187
|
}
|
|
188
188
|
export declare const JobState: {
|
|
189
189
|
readonly COMPLETED: "Completed";
|
|
@@ -198,30 +198,30 @@ export declare const Type: {
|
|
|
198
198
|
};
|
|
199
199
|
export type Type = (typeof Type)[keyof typeof Type];
|
|
200
200
|
export interface CodeReview {
|
|
201
|
-
Name?: string;
|
|
202
|
-
CodeReviewArn?: string;
|
|
203
|
-
RepositoryName?: string;
|
|
204
|
-
Owner?: string;
|
|
205
|
-
ProviderType?: ProviderType;
|
|
206
|
-
State?: JobState;
|
|
207
|
-
StateReason?: string;
|
|
208
|
-
CreatedTimeStamp?: Date;
|
|
209
|
-
LastUpdatedTimeStamp?: Date;
|
|
210
|
-
Type?: Type;
|
|
211
|
-
PullRequestId?: string;
|
|
212
|
-
SourceCodeType?: SourceCodeType;
|
|
213
|
-
AssociationArn?: string;
|
|
214
|
-
Metrics?: Metrics;
|
|
215
|
-
AnalysisTypes?: AnalysisType[];
|
|
216
|
-
ConfigFileState?: ConfigFileState;
|
|
201
|
+
Name?: string | undefined;
|
|
202
|
+
CodeReviewArn?: string | undefined;
|
|
203
|
+
RepositoryName?: string | undefined;
|
|
204
|
+
Owner?: string | undefined;
|
|
205
|
+
ProviderType?: ProviderType | undefined;
|
|
206
|
+
State?: JobState | undefined;
|
|
207
|
+
StateReason?: string | undefined;
|
|
208
|
+
CreatedTimeStamp?: Date | undefined;
|
|
209
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
210
|
+
Type?: Type | undefined;
|
|
211
|
+
PullRequestId?: string | undefined;
|
|
212
|
+
SourceCodeType?: SourceCodeType | undefined;
|
|
213
|
+
AssociationArn?: string | undefined;
|
|
214
|
+
Metrics?: Metrics | undefined;
|
|
215
|
+
AnalysisTypes?: AnalysisType[] | undefined;
|
|
216
|
+
ConfigFileState?: ConfigFileState | undefined;
|
|
217
217
|
}
|
|
218
218
|
export interface CreateCodeReviewResponse {
|
|
219
|
-
CodeReview?: CodeReview;
|
|
219
|
+
CodeReview?: CodeReview | undefined;
|
|
220
220
|
}
|
|
221
221
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
222
222
|
readonly name: "ResourceNotFoundException";
|
|
223
223
|
readonly $fault: "client";
|
|
224
|
-
Message?: string;
|
|
224
|
+
Message?: string | undefined;
|
|
225
225
|
constructor(
|
|
226
226
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
227
227
|
);
|
|
@@ -230,12 +230,12 @@ export interface DescribeCodeReviewRequest {
|
|
|
230
230
|
CodeReviewArn: string | undefined;
|
|
231
231
|
}
|
|
232
232
|
export interface DescribeCodeReviewResponse {
|
|
233
|
-
CodeReview?: CodeReview;
|
|
233
|
+
CodeReview?: CodeReview | undefined;
|
|
234
234
|
}
|
|
235
235
|
export interface DescribeRecommendationFeedbackRequest {
|
|
236
236
|
CodeReviewArn: string | undefined;
|
|
237
237
|
RecommendationId: string | undefined;
|
|
238
|
-
UserId?: string;
|
|
238
|
+
UserId?: string | undefined;
|
|
239
239
|
}
|
|
240
240
|
export declare const Reaction: {
|
|
241
241
|
readonly THUMBS_DOWN: "ThumbsDown";
|
|
@@ -243,86 +243,86 @@ export declare const Reaction: {
|
|
|
243
243
|
};
|
|
244
244
|
export type Reaction = (typeof Reaction)[keyof typeof Reaction];
|
|
245
245
|
export interface RecommendationFeedback {
|
|
246
|
-
CodeReviewArn?: string;
|
|
247
|
-
RecommendationId?: string;
|
|
248
|
-
Reactions?: Reaction[];
|
|
249
|
-
UserId?: string;
|
|
250
|
-
CreatedTimeStamp?: Date;
|
|
251
|
-
LastUpdatedTimeStamp?: Date;
|
|
246
|
+
CodeReviewArn?: string | undefined;
|
|
247
|
+
RecommendationId?: string | undefined;
|
|
248
|
+
Reactions?: Reaction[] | undefined;
|
|
249
|
+
UserId?: string | undefined;
|
|
250
|
+
CreatedTimeStamp?: Date | undefined;
|
|
251
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
252
252
|
}
|
|
253
253
|
export interface DescribeRecommendationFeedbackResponse {
|
|
254
|
-
RecommendationFeedback?: RecommendationFeedback;
|
|
254
|
+
RecommendationFeedback?: RecommendationFeedback | undefined;
|
|
255
255
|
}
|
|
256
256
|
export interface DescribeRepositoryAssociationRequest {
|
|
257
257
|
AssociationArn: string | undefined;
|
|
258
258
|
}
|
|
259
259
|
export interface DescribeRepositoryAssociationResponse {
|
|
260
|
-
RepositoryAssociation?: RepositoryAssociation;
|
|
261
|
-
Tags?: Record<string, string
|
|
260
|
+
RepositoryAssociation?: RepositoryAssociation | undefined;
|
|
261
|
+
Tags?: Record<string, string> | undefined;
|
|
262
262
|
}
|
|
263
263
|
export declare class NotFoundException extends __BaseException {
|
|
264
264
|
readonly name: "NotFoundException";
|
|
265
265
|
readonly $fault: "client";
|
|
266
|
-
Message?: string;
|
|
266
|
+
Message?: string | undefined;
|
|
267
267
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
268
268
|
}
|
|
269
269
|
export interface DisassociateRepositoryRequest {
|
|
270
270
|
AssociationArn: string | undefined;
|
|
271
271
|
}
|
|
272
272
|
export interface DisassociateRepositoryResponse {
|
|
273
|
-
RepositoryAssociation?: RepositoryAssociation;
|
|
274
|
-
Tags?: Record<string, string
|
|
273
|
+
RepositoryAssociation?: RepositoryAssociation | undefined;
|
|
274
|
+
Tags?: Record<string, string> | undefined;
|
|
275
275
|
}
|
|
276
276
|
export interface ListCodeReviewsRequest {
|
|
277
|
-
ProviderTypes?: ProviderType[];
|
|
278
|
-
States?: JobState[];
|
|
279
|
-
RepositoryNames?: string[];
|
|
277
|
+
ProviderTypes?: ProviderType[] | undefined;
|
|
278
|
+
States?: JobState[] | undefined;
|
|
279
|
+
RepositoryNames?: string[] | undefined;
|
|
280
280
|
Type: Type | undefined;
|
|
281
|
-
MaxResults?: number;
|
|
282
|
-
NextToken?: string;
|
|
281
|
+
MaxResults?: number | undefined;
|
|
282
|
+
NextToken?: string | undefined;
|
|
283
283
|
}
|
|
284
284
|
export interface MetricsSummary {
|
|
285
|
-
MeteredLinesOfCodeCount?: number;
|
|
286
|
-
SuppressedLinesOfCodeCount?: number;
|
|
287
|
-
FindingsCount?: number;
|
|
285
|
+
MeteredLinesOfCodeCount?: number | undefined;
|
|
286
|
+
SuppressedLinesOfCodeCount?: number | undefined;
|
|
287
|
+
FindingsCount?: number | undefined;
|
|
288
288
|
}
|
|
289
289
|
export interface CodeReviewSummary {
|
|
290
|
-
Name?: string;
|
|
291
|
-
CodeReviewArn?: string;
|
|
292
|
-
RepositoryName?: string;
|
|
293
|
-
Owner?: string;
|
|
294
|
-
ProviderType?: ProviderType;
|
|
295
|
-
State?: JobState;
|
|
296
|
-
CreatedTimeStamp?: Date;
|
|
297
|
-
LastUpdatedTimeStamp?: Date;
|
|
298
|
-
Type?: Type;
|
|
299
|
-
PullRequestId?: string;
|
|
300
|
-
MetricsSummary?: MetricsSummary;
|
|
301
|
-
SourceCodeType?: SourceCodeType;
|
|
290
|
+
Name?: string | undefined;
|
|
291
|
+
CodeReviewArn?: string | undefined;
|
|
292
|
+
RepositoryName?: string | undefined;
|
|
293
|
+
Owner?: string | undefined;
|
|
294
|
+
ProviderType?: ProviderType | undefined;
|
|
295
|
+
State?: JobState | undefined;
|
|
296
|
+
CreatedTimeStamp?: Date | undefined;
|
|
297
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
298
|
+
Type?: Type | undefined;
|
|
299
|
+
PullRequestId?: string | undefined;
|
|
300
|
+
MetricsSummary?: MetricsSummary | undefined;
|
|
301
|
+
SourceCodeType?: SourceCodeType | undefined;
|
|
302
302
|
}
|
|
303
303
|
export interface ListCodeReviewsResponse {
|
|
304
|
-
CodeReviewSummaries?: CodeReviewSummary[];
|
|
305
|
-
NextToken?: string;
|
|
304
|
+
CodeReviewSummaries?: CodeReviewSummary[] | undefined;
|
|
305
|
+
NextToken?: string | undefined;
|
|
306
306
|
}
|
|
307
307
|
export interface ListRecommendationFeedbackRequest {
|
|
308
|
-
NextToken?: string;
|
|
309
|
-
MaxResults?: number;
|
|
308
|
+
NextToken?: string | undefined;
|
|
309
|
+
MaxResults?: number | undefined;
|
|
310
310
|
CodeReviewArn: string | undefined;
|
|
311
|
-
UserIds?: string[];
|
|
312
|
-
RecommendationIds?: string[];
|
|
311
|
+
UserIds?: string[] | undefined;
|
|
312
|
+
RecommendationIds?: string[] | undefined;
|
|
313
313
|
}
|
|
314
314
|
export interface RecommendationFeedbackSummary {
|
|
315
|
-
RecommendationId?: string;
|
|
316
|
-
Reactions?: Reaction[];
|
|
317
|
-
UserId?: string;
|
|
315
|
+
RecommendationId?: string | undefined;
|
|
316
|
+
Reactions?: Reaction[] | undefined;
|
|
317
|
+
UserId?: string | undefined;
|
|
318
318
|
}
|
|
319
319
|
export interface ListRecommendationFeedbackResponse {
|
|
320
|
-
RecommendationFeedbackSummaries?: RecommendationFeedbackSummary[];
|
|
321
|
-
NextToken?: string;
|
|
320
|
+
RecommendationFeedbackSummaries?: RecommendationFeedbackSummary[] | undefined;
|
|
321
|
+
NextToken?: string | undefined;
|
|
322
322
|
}
|
|
323
323
|
export interface ListRecommendationsRequest {
|
|
324
|
-
NextToken?: string;
|
|
325
|
-
MaxResults?: number;
|
|
324
|
+
NextToken?: string | undefined;
|
|
325
|
+
MaxResults?: number | undefined;
|
|
326
326
|
CodeReviewArn: string | undefined;
|
|
327
327
|
}
|
|
328
328
|
export declare const RecommendationCategory: {
|
|
@@ -341,11 +341,11 @@ export declare const RecommendationCategory: {
|
|
|
341
341
|
export type RecommendationCategory =
|
|
342
342
|
(typeof RecommendationCategory)[keyof typeof RecommendationCategory];
|
|
343
343
|
export interface RuleMetadata {
|
|
344
|
-
RuleId?: string;
|
|
345
|
-
RuleName?: string;
|
|
346
|
-
ShortDescription?: string;
|
|
347
|
-
LongDescription?: string;
|
|
348
|
-
RuleTags?: string[];
|
|
344
|
+
RuleId?: string | undefined;
|
|
345
|
+
RuleName?: string | undefined;
|
|
346
|
+
ShortDescription?: string | undefined;
|
|
347
|
+
LongDescription?: string | undefined;
|
|
348
|
+
RuleTags?: string[] | undefined;
|
|
349
349
|
}
|
|
350
350
|
export declare const Severity: {
|
|
351
351
|
readonly CRITICAL: "Critical";
|
|
@@ -356,46 +356,46 @@ export declare const Severity: {
|
|
|
356
356
|
};
|
|
357
357
|
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
358
358
|
export interface RecommendationSummary {
|
|
359
|
-
FilePath?: string;
|
|
360
|
-
RecommendationId?: string;
|
|
361
|
-
StartLine?: number;
|
|
362
|
-
EndLine?: number;
|
|
363
|
-
Description?: string;
|
|
364
|
-
RecommendationCategory?: RecommendationCategory;
|
|
365
|
-
RuleMetadata?: RuleMetadata;
|
|
366
|
-
Severity?: Severity;
|
|
359
|
+
FilePath?: string | undefined;
|
|
360
|
+
RecommendationId?: string | undefined;
|
|
361
|
+
StartLine?: number | undefined;
|
|
362
|
+
EndLine?: number | undefined;
|
|
363
|
+
Description?: string | undefined;
|
|
364
|
+
RecommendationCategory?: RecommendationCategory | undefined;
|
|
365
|
+
RuleMetadata?: RuleMetadata | undefined;
|
|
366
|
+
Severity?: Severity | undefined;
|
|
367
367
|
}
|
|
368
368
|
export interface ListRecommendationsResponse {
|
|
369
|
-
RecommendationSummaries?: RecommendationSummary[];
|
|
370
|
-
NextToken?: string;
|
|
369
|
+
RecommendationSummaries?: RecommendationSummary[] | undefined;
|
|
370
|
+
NextToken?: string | undefined;
|
|
371
371
|
}
|
|
372
372
|
export interface ListRepositoryAssociationsRequest {
|
|
373
|
-
ProviderTypes?: ProviderType[];
|
|
374
|
-
States?: RepositoryAssociationState[];
|
|
375
|
-
Names?: string[];
|
|
376
|
-
Owners?: string[];
|
|
377
|
-
MaxResults?: number;
|
|
378
|
-
NextToken?: string;
|
|
373
|
+
ProviderTypes?: ProviderType[] | undefined;
|
|
374
|
+
States?: RepositoryAssociationState[] | undefined;
|
|
375
|
+
Names?: string[] | undefined;
|
|
376
|
+
Owners?: string[] | undefined;
|
|
377
|
+
MaxResults?: number | undefined;
|
|
378
|
+
NextToken?: string | undefined;
|
|
379
379
|
}
|
|
380
380
|
export interface RepositoryAssociationSummary {
|
|
381
|
-
AssociationArn?: string;
|
|
382
|
-
ConnectionArn?: string;
|
|
383
|
-
LastUpdatedTimeStamp?: Date;
|
|
384
|
-
AssociationId?: string;
|
|
385
|
-
Name?: string;
|
|
386
|
-
Owner?: string;
|
|
387
|
-
ProviderType?: ProviderType;
|
|
388
|
-
State?: RepositoryAssociationState;
|
|
381
|
+
AssociationArn?: string | undefined;
|
|
382
|
+
ConnectionArn?: string | undefined;
|
|
383
|
+
LastUpdatedTimeStamp?: Date | undefined;
|
|
384
|
+
AssociationId?: string | undefined;
|
|
385
|
+
Name?: string | undefined;
|
|
386
|
+
Owner?: string | undefined;
|
|
387
|
+
ProviderType?: ProviderType | undefined;
|
|
388
|
+
State?: RepositoryAssociationState | undefined;
|
|
389
389
|
}
|
|
390
390
|
export interface ListRepositoryAssociationsResponse {
|
|
391
|
-
RepositoryAssociationSummaries?: RepositoryAssociationSummary[];
|
|
392
|
-
NextToken?: string;
|
|
391
|
+
RepositoryAssociationSummaries?: RepositoryAssociationSummary[] | undefined;
|
|
392
|
+
NextToken?: string | undefined;
|
|
393
393
|
}
|
|
394
394
|
export interface ListTagsForResourceRequest {
|
|
395
395
|
resourceArn: string | undefined;
|
|
396
396
|
}
|
|
397
397
|
export interface ListTagsForResourceResponse {
|
|
398
|
-
Tags?: Record<string, string
|
|
398
|
+
Tags?: Record<string, string> | undefined;
|
|
399
399
|
}
|
|
400
400
|
export interface PutRecommendationFeedbackRequest {
|
|
401
401
|
CodeReviewArn: string | undefined;
|
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.692.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codeguru-reviewer",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.692.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.692.0",
|
|
25
|
+
"@aws-sdk/core": "3.692.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.692.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.692.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.692.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.692.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.692.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.692.0",
|
|
32
|
+
"@aws-sdk/types": "3.692.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.692.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.692.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.692.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.11",
|
|
37
|
+
"@smithy/core": "^2.5.2",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.9",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.9",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.11",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.2",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.26",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.9",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.9",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.10",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.3",
|
|
50
|
+
"@smithy/types": "^3.7.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.9",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.26",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.26",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.5",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.9",
|
|
59
|
+
"@smithy/util-retry": "^3.0.9",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
|
61
|
+
"@smithy/util-waiter": "^3.1.8",
|
|
62
62
|
"@types/uuid": "^9.0.1",
|
|
63
63
|
"tslib": "^2.6.2",
|
|
64
64
|
"uuid": "^9.0.1"
|