@aws-sdk/client-codeguru-reviewer 3.933.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +67 -66
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +66 -0
- package/dist-es/models/errors.js +99 -0
- package/dist-es/models/models_0.js +1 -165
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +154 -0
- package/dist-types/models/errors.d.ts +95 -0
- package/dist-types/models/models_0.d.ts +1 -249
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +81 -0
- package/dist-types/ts3.4/models/errors.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -135
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
|
|
16
|
-
export declare const EncryptionOption: {
|
|
17
|
-
readonly AoCmk: "AWS_OWNED_CMK";
|
|
18
|
-
readonly CmCmk: "CUSTOMER_MANAGED_CMK";
|
|
19
|
-
};
|
|
20
|
-
export type EncryptionOption =
|
|
21
|
-
(typeof EncryptionOption)[keyof typeof EncryptionOption];
|
|
1
|
+
import {
|
|
2
|
+
AnalysisType,
|
|
3
|
+
ConfigFileState,
|
|
4
|
+
EncryptionOption,
|
|
5
|
+
JobState,
|
|
6
|
+
ProviderType,
|
|
7
|
+
Reaction,
|
|
8
|
+
RecommendationCategory,
|
|
9
|
+
RepositoryAssociationState,
|
|
10
|
+
Severity,
|
|
11
|
+
Type,
|
|
12
|
+
VendorName,
|
|
13
|
+
} from "./enums";
|
|
22
14
|
export interface KMSKeyDetails {
|
|
23
15
|
KMSKeyId?: string | undefined;
|
|
24
16
|
EncryptionOption?: EncryptionOption | undefined;
|
|
@@ -47,14 +39,6 @@ export interface AssociateRepositoryRequest {
|
|
|
47
39
|
Tags?: Record<string, string> | undefined;
|
|
48
40
|
KMSKeyDetails?: KMSKeyDetails | undefined;
|
|
49
41
|
}
|
|
50
|
-
export declare const ProviderType: {
|
|
51
|
-
readonly BITBUCKET: "Bitbucket";
|
|
52
|
-
readonly CODE_COMMIT: "CodeCommit";
|
|
53
|
-
readonly GIT_HUB: "GitHub";
|
|
54
|
-
readonly GIT_HUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
|
|
55
|
-
readonly S3_BUCKET: "S3Bucket";
|
|
56
|
-
};
|
|
57
|
-
export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
|
|
58
42
|
export interface CodeArtifacts {
|
|
59
43
|
SourceCodeArtifactsObjectKey: string | undefined;
|
|
60
44
|
BuildArtifactsObjectKey?: string | undefined;
|
|
@@ -63,15 +47,6 @@ export interface S3RepositoryDetails {
|
|
|
63
47
|
BucketName?: string | undefined;
|
|
64
48
|
CodeArtifacts?: CodeArtifacts | undefined;
|
|
65
49
|
}
|
|
66
|
-
export declare const RepositoryAssociationState: {
|
|
67
|
-
readonly ASSOCIATED: "Associated";
|
|
68
|
-
readonly ASSOCIATING: "Associating";
|
|
69
|
-
readonly DISASSOCIATED: "Disassociated";
|
|
70
|
-
readonly DISASSOCIATING: "Disassociating";
|
|
71
|
-
readonly FAILED: "Failed";
|
|
72
|
-
};
|
|
73
|
-
export type RepositoryAssociationState =
|
|
74
|
-
(typeof RepositoryAssociationState)[keyof typeof RepositoryAssociationState];
|
|
75
50
|
export interface RepositoryAssociation {
|
|
76
51
|
AssociationId?: string | undefined;
|
|
77
52
|
AssociationArn?: string | undefined;
|
|
@@ -90,36 +65,6 @@ export interface AssociateRepositoryResponse {
|
|
|
90
65
|
RepositoryAssociation?: RepositoryAssociation | undefined;
|
|
91
66
|
Tags?: Record<string, string> | undefined;
|
|
92
67
|
}
|
|
93
|
-
export declare class ConflictException extends __BaseException {
|
|
94
|
-
readonly name: "ConflictException";
|
|
95
|
-
readonly $fault: "client";
|
|
96
|
-
Message?: string | undefined;
|
|
97
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
98
|
-
}
|
|
99
|
-
export declare class InternalServerException extends __BaseException {
|
|
100
|
-
readonly name: "InternalServerException";
|
|
101
|
-
readonly $fault: "server";
|
|
102
|
-
Message?: string | undefined;
|
|
103
|
-
constructor(
|
|
104
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
export declare class ThrottlingException extends __BaseException {
|
|
108
|
-
readonly name: "ThrottlingException";
|
|
109
|
-
readonly $fault: "client";
|
|
110
|
-
Message?: string | undefined;
|
|
111
|
-
constructor(
|
|
112
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
export declare class ValidationException extends __BaseException {
|
|
116
|
-
readonly name: "ValidationException";
|
|
117
|
-
readonly $fault: "client";
|
|
118
|
-
Message?: string | undefined;
|
|
119
|
-
constructor(
|
|
120
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
68
|
export interface RepositoryHeadSourceCodeType {
|
|
124
69
|
BranchName: string | undefined;
|
|
125
70
|
}
|
|
@@ -136,12 +81,6 @@ export interface EventInfo {
|
|
|
136
81
|
Name?: string | undefined;
|
|
137
82
|
State?: string | undefined;
|
|
138
83
|
}
|
|
139
|
-
export declare const VendorName: {
|
|
140
|
-
readonly GITHUB: "GitHub";
|
|
141
|
-
readonly GITLAB: "GitLab";
|
|
142
|
-
readonly NATIVE_S3: "NativeS3";
|
|
143
|
-
};
|
|
144
|
-
export type VendorName = (typeof VendorName)[keyof typeof VendorName];
|
|
145
84
|
export interface RequestMetadata {
|
|
146
85
|
RequestId?: string | undefined;
|
|
147
86
|
Requester?: string | undefined;
|
|
@@ -173,30 +112,11 @@ export interface CreateCodeReviewRequest {
|
|
|
173
112
|
Type: CodeReviewType | undefined;
|
|
174
113
|
ClientRequestToken?: string | undefined;
|
|
175
114
|
}
|
|
176
|
-
export declare const ConfigFileState: {
|
|
177
|
-
readonly ABSENT: "Absent";
|
|
178
|
-
readonly PRESENT: "Present";
|
|
179
|
-
readonly PRESENT_WITH_ERRORS: "PresentWithErrors";
|
|
180
|
-
};
|
|
181
|
-
export type ConfigFileState =
|
|
182
|
-
(typeof ConfigFileState)[keyof typeof ConfigFileState];
|
|
183
115
|
export interface Metrics {
|
|
184
116
|
MeteredLinesOfCodeCount?: number | undefined;
|
|
185
117
|
SuppressedLinesOfCodeCount?: number | undefined;
|
|
186
118
|
FindingsCount?: number | undefined;
|
|
187
119
|
}
|
|
188
|
-
export declare const JobState: {
|
|
189
|
-
readonly COMPLETED: "Completed";
|
|
190
|
-
readonly DELETING: "Deleting";
|
|
191
|
-
readonly FAILED: "Failed";
|
|
192
|
-
readonly PENDING: "Pending";
|
|
193
|
-
};
|
|
194
|
-
export type JobState = (typeof JobState)[keyof typeof JobState];
|
|
195
|
-
export declare const Type: {
|
|
196
|
-
readonly PULL_REQUEST: "PullRequest";
|
|
197
|
-
readonly REPOSITORY_ANALYSIS: "RepositoryAnalysis";
|
|
198
|
-
};
|
|
199
|
-
export type Type = (typeof Type)[keyof typeof Type];
|
|
200
120
|
export interface CodeReview {
|
|
201
121
|
Name?: string | undefined;
|
|
202
122
|
CodeReviewArn?: string | undefined;
|
|
@@ -218,14 +138,6 @@ export interface CodeReview {
|
|
|
218
138
|
export interface CreateCodeReviewResponse {
|
|
219
139
|
CodeReview?: CodeReview | undefined;
|
|
220
140
|
}
|
|
221
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
222
|
-
readonly name: "ResourceNotFoundException";
|
|
223
|
-
readonly $fault: "client";
|
|
224
|
-
Message?: string | undefined;
|
|
225
|
-
constructor(
|
|
226
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
227
|
-
);
|
|
228
|
-
}
|
|
229
141
|
export interface DescribeCodeReviewRequest {
|
|
230
142
|
CodeReviewArn: string | undefined;
|
|
231
143
|
}
|
|
@@ -237,11 +149,6 @@ export interface DescribeRecommendationFeedbackRequest {
|
|
|
237
149
|
RecommendationId: string | undefined;
|
|
238
150
|
UserId?: string | undefined;
|
|
239
151
|
}
|
|
240
|
-
export declare const Reaction: {
|
|
241
|
-
readonly THUMBS_DOWN: "ThumbsDown";
|
|
242
|
-
readonly THUMBS_UP: "ThumbsUp";
|
|
243
|
-
};
|
|
244
|
-
export type Reaction = (typeof Reaction)[keyof typeof Reaction];
|
|
245
152
|
export interface RecommendationFeedback {
|
|
246
153
|
CodeReviewArn?: string | undefined;
|
|
247
154
|
RecommendationId?: string | undefined;
|
|
@@ -260,12 +167,6 @@ export interface DescribeRepositoryAssociationResponse {
|
|
|
260
167
|
RepositoryAssociation?: RepositoryAssociation | undefined;
|
|
261
168
|
Tags?: Record<string, string> | undefined;
|
|
262
169
|
}
|
|
263
|
-
export declare class NotFoundException extends __BaseException {
|
|
264
|
-
readonly name: "NotFoundException";
|
|
265
|
-
readonly $fault: "client";
|
|
266
|
-
Message?: string | undefined;
|
|
267
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
268
|
-
}
|
|
269
170
|
export interface DisassociateRepositoryRequest {
|
|
270
171
|
AssociationArn: string | undefined;
|
|
271
172
|
}
|
|
@@ -325,21 +226,6 @@ export interface ListRecommendationsRequest {
|
|
|
325
226
|
MaxResults?: number | undefined;
|
|
326
227
|
CodeReviewArn: string | undefined;
|
|
327
228
|
}
|
|
328
|
-
export declare const RecommendationCategory: {
|
|
329
|
-
readonly AWS_BEST_PRACTICES: "AWSBestPractices";
|
|
330
|
-
readonly AWS_CLOUDFORMATION_ISSUES: "AWSCloudFormationIssues";
|
|
331
|
-
readonly CODE_INCONSISTENCIES: "CodeInconsistencies";
|
|
332
|
-
readonly CODE_MAINTENANCE_ISSUES: "CodeMaintenanceIssues";
|
|
333
|
-
readonly CONCURRENCY_ISSUES: "ConcurrencyIssues";
|
|
334
|
-
readonly DUPLICATE_CODE: "DuplicateCode";
|
|
335
|
-
readonly INPUT_VALIDATIONS: "InputValidations";
|
|
336
|
-
readonly JAVA_BEST_PRACTICES: "JavaBestPractices";
|
|
337
|
-
readonly PYTHON_BEST_PRACTICES: "PythonBestPractices";
|
|
338
|
-
readonly RESOURCE_LEAKS: "ResourceLeaks";
|
|
339
|
-
readonly SECURITY_ISSUES: "SecurityIssues";
|
|
340
|
-
};
|
|
341
|
-
export type RecommendationCategory =
|
|
342
|
-
(typeof RecommendationCategory)[keyof typeof RecommendationCategory];
|
|
343
229
|
export interface RuleMetadata {
|
|
344
230
|
RuleId?: string | undefined;
|
|
345
231
|
RuleName?: string | undefined;
|
|
@@ -347,14 +233,6 @@ export interface RuleMetadata {
|
|
|
347
233
|
LongDescription?: string | undefined;
|
|
348
234
|
RuleTags?: string[] | undefined;
|
|
349
235
|
}
|
|
350
|
-
export declare const Severity: {
|
|
351
|
-
readonly CRITICAL: "Critical";
|
|
352
|
-
readonly HIGH: "High";
|
|
353
|
-
readonly INFO: "Info";
|
|
354
|
-
readonly LOW: "Low";
|
|
355
|
-
readonly MEDIUM: "Medium";
|
|
356
|
-
};
|
|
357
|
-
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
358
236
|
export interface RecommendationSummary {
|
|
359
237
|
FilePath?: string | undefined;
|
|
360
238
|
RecommendationId?: 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.935.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,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|