@aws-sdk/client-codeguru-reviewer 3.489.0 → 3.495.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/CodeGuruReviewer.js +1 -39
- package/dist-cjs/CodeGuruReviewerClient.js +1 -43
- package/dist-cjs/commands/AssociateRepositoryCommand.js +1 -28
- package/dist-cjs/commands/CreateCodeReviewCommand.js +1 -28
- package/dist-cjs/commands/DescribeCodeReviewCommand.js +1 -28
- package/dist-cjs/commands/DescribeRecommendationFeedbackCommand.js +1 -28
- package/dist-cjs/commands/DescribeRepositoryAssociationCommand.js +1 -28
- package/dist-cjs/commands/DisassociateRepositoryCommand.js +1 -28
- package/dist-cjs/commands/ListCodeReviewsCommand.js +1 -28
- package/dist-cjs/commands/ListRecommendationFeedbackCommand.js +1 -28
- package/dist-cjs/commands/ListRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/ListRepositoryAssociationsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutRecommendationFeedbackCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -17
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1838 -12
- package/dist-cjs/models/CodeGuruReviewerServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -168
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListCodeReviewsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRecommendationFeedbackPaginator.js +1 -7
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRepositoryAssociationsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1077
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -5
- package/dist-cjs/waiters/waitForCodeReviewCompleted.js +1 -54
- package/dist-cjs/waiters/waitForRepositoryAssociationSucceeded.js +1 -54
- package/package.json +41 -41
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CodeGuruReviewerServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class CodeGuruReviewerServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, CodeGuruReviewerServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.CodeGuruReviewerServiceException = CodeGuruReviewerServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,168 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Severity = exports.RecommendationCategory = exports.NotFoundException = exports.Reaction = exports.ResourceNotFoundException = exports.Type = exports.JobState = exports.ConfigFileState = exports.VendorName = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.RepositoryAssociationState = exports.ProviderType = exports.EncryptionOption = exports.AnalysisType = exports.AccessDeniedException = void 0;
|
|
4
|
-
const CodeGuruReviewerServiceException_1 = require("./CodeGuruReviewerServiceException");
|
|
5
|
-
class AccessDeniedException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "AccessDeniedException";
|
|
13
|
-
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
-
this.Message = opts.Message;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
exports.AnalysisType = {
|
|
20
|
-
CODE_QUALITY: "CodeQuality",
|
|
21
|
-
SECURITY: "Security",
|
|
22
|
-
};
|
|
23
|
-
exports.EncryptionOption = {
|
|
24
|
-
AoCmk: "AWS_OWNED_CMK",
|
|
25
|
-
CmCmk: "CUSTOMER_MANAGED_CMK",
|
|
26
|
-
};
|
|
27
|
-
exports.ProviderType = {
|
|
28
|
-
BITBUCKET: "Bitbucket",
|
|
29
|
-
CODE_COMMIT: "CodeCommit",
|
|
30
|
-
GIT_HUB: "GitHub",
|
|
31
|
-
GIT_HUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
|
|
32
|
-
S3_BUCKET: "S3Bucket",
|
|
33
|
-
};
|
|
34
|
-
exports.RepositoryAssociationState = {
|
|
35
|
-
ASSOCIATED: "Associated",
|
|
36
|
-
ASSOCIATING: "Associating",
|
|
37
|
-
DISASSOCIATED: "Disassociated",
|
|
38
|
-
DISASSOCIATING: "Disassociating",
|
|
39
|
-
FAILED: "Failed",
|
|
40
|
-
};
|
|
41
|
-
class ConflictException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
42
|
-
constructor(opts) {
|
|
43
|
-
super({
|
|
44
|
-
name: "ConflictException",
|
|
45
|
-
$fault: "client",
|
|
46
|
-
...opts,
|
|
47
|
-
});
|
|
48
|
-
this.name = "ConflictException";
|
|
49
|
-
this.$fault = "client";
|
|
50
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
51
|
-
this.Message = opts.Message;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.ConflictException = ConflictException;
|
|
55
|
-
class InternalServerException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
56
|
-
constructor(opts) {
|
|
57
|
-
super({
|
|
58
|
-
name: "InternalServerException",
|
|
59
|
-
$fault: "server",
|
|
60
|
-
...opts,
|
|
61
|
-
});
|
|
62
|
-
this.name = "InternalServerException";
|
|
63
|
-
this.$fault = "server";
|
|
64
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
65
|
-
this.Message = opts.Message;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
exports.InternalServerException = InternalServerException;
|
|
69
|
-
class ThrottlingException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "ThrottlingException",
|
|
73
|
-
$fault: "client",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
this.name = "ThrottlingException";
|
|
77
|
-
this.$fault = "client";
|
|
78
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
79
|
-
this.Message = opts.Message;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.ThrottlingException = ThrottlingException;
|
|
83
|
-
class ValidationException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "ValidationException",
|
|
87
|
-
$fault: "client",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
this.name = "ValidationException";
|
|
91
|
-
this.$fault = "client";
|
|
92
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
93
|
-
this.Message = opts.Message;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
exports.ValidationException = ValidationException;
|
|
97
|
-
exports.VendorName = {
|
|
98
|
-
GITHUB: "GitHub",
|
|
99
|
-
GITLAB: "GitLab",
|
|
100
|
-
NATIVE_S3: "NativeS3",
|
|
101
|
-
};
|
|
102
|
-
exports.ConfigFileState = {
|
|
103
|
-
ABSENT: "Absent",
|
|
104
|
-
PRESENT: "Present",
|
|
105
|
-
PRESENT_WITH_ERRORS: "PresentWithErrors",
|
|
106
|
-
};
|
|
107
|
-
exports.JobState = {
|
|
108
|
-
COMPLETED: "Completed",
|
|
109
|
-
DELETING: "Deleting",
|
|
110
|
-
FAILED: "Failed",
|
|
111
|
-
PENDING: "Pending",
|
|
112
|
-
};
|
|
113
|
-
exports.Type = {
|
|
114
|
-
PULL_REQUEST: "PullRequest",
|
|
115
|
-
REPOSITORY_ANALYSIS: "RepositoryAnalysis",
|
|
116
|
-
};
|
|
117
|
-
class ResourceNotFoundException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
118
|
-
constructor(opts) {
|
|
119
|
-
super({
|
|
120
|
-
name: "ResourceNotFoundException",
|
|
121
|
-
$fault: "client",
|
|
122
|
-
...opts,
|
|
123
|
-
});
|
|
124
|
-
this.name = "ResourceNotFoundException";
|
|
125
|
-
this.$fault = "client";
|
|
126
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
127
|
-
this.Message = opts.Message;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
131
|
-
exports.Reaction = {
|
|
132
|
-
THUMBS_DOWN: "ThumbsDown",
|
|
133
|
-
THUMBS_UP: "ThumbsUp",
|
|
134
|
-
};
|
|
135
|
-
class NotFoundException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
136
|
-
constructor(opts) {
|
|
137
|
-
super({
|
|
138
|
-
name: "NotFoundException",
|
|
139
|
-
$fault: "client",
|
|
140
|
-
...opts,
|
|
141
|
-
});
|
|
142
|
-
this.name = "NotFoundException";
|
|
143
|
-
this.$fault = "client";
|
|
144
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
145
|
-
this.Message = opts.Message;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
exports.NotFoundException = NotFoundException;
|
|
149
|
-
exports.RecommendationCategory = {
|
|
150
|
-
AWS_BEST_PRACTICES: "AWSBestPractices",
|
|
151
|
-
AWS_CLOUDFORMATION_ISSUES: "AWSCloudFormationIssues",
|
|
152
|
-
CODE_INCONSISTENCIES: "CodeInconsistencies",
|
|
153
|
-
CODE_MAINTENANCE_ISSUES: "CodeMaintenanceIssues",
|
|
154
|
-
CONCURRENCY_ISSUES: "ConcurrencyIssues",
|
|
155
|
-
DUPLICATE_CODE: "DuplicateCode",
|
|
156
|
-
INPUT_VALIDATIONS: "InputValidations",
|
|
157
|
-
JAVA_BEST_PRACTICES: "JavaBestPractices",
|
|
158
|
-
PYTHON_BEST_PRACTICES: "PythonBestPractices",
|
|
159
|
-
RESOURCE_LEAKS: "ResourceLeaks",
|
|
160
|
-
SECURITY_ISSUES: "SecurityIssues",
|
|
161
|
-
};
|
|
162
|
-
exports.Severity = {
|
|
163
|
-
CRITICAL: "Critical",
|
|
164
|
-
HIGH: "High",
|
|
165
|
-
INFO: "Info",
|
|
166
|
-
LOW: "Low",
|
|
167
|
-
MEDIUM: "Medium",
|
|
168
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListCodeReviews = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeGuruReviewerClient_1 = require("../CodeGuruReviewerClient");
|
|
6
|
-
const ListCodeReviewsCommand_1 = require("../commands/ListCodeReviewsCommand");
|
|
7
|
-
exports.paginateListCodeReviews = (0, core_1.createPaginator)(CodeGuruReviewerClient_1.CodeGuruReviewerClient, ListCodeReviewsCommand_1.ListCodeReviewsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListRecommendationFeedback = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeGuruReviewerClient_1 = require("../CodeGuruReviewerClient");
|
|
6
|
-
const ListRecommendationFeedbackCommand_1 = require("../commands/ListRecommendationFeedbackCommand");
|
|
7
|
-
exports.paginateListRecommendationFeedback = (0, core_1.createPaginator)(CodeGuruReviewerClient_1.CodeGuruReviewerClient, ListRecommendationFeedbackCommand_1.ListRecommendationFeedbackCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListRecommendations = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeGuruReviewerClient_1 = require("../CodeGuruReviewerClient");
|
|
6
|
-
const ListRecommendationsCommand_1 = require("../commands/ListRecommendationsCommand");
|
|
7
|
-
exports.paginateListRecommendations = (0, core_1.createPaginator)(CodeGuruReviewerClient_1.CodeGuruReviewerClient, ListRecommendationsCommand_1.ListRecommendationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListRepositoryAssociations = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const CodeGuruReviewerClient_1 = require("../CodeGuruReviewerClient");
|
|
6
|
-
const ListRepositoryAssociationsCommand_1 = require("../commands/ListRepositoryAssociationsCommand");
|
|
7
|
-
exports.paginateListRepositoryAssociations = (0, core_1.createPaginator)(CodeGuruReviewerClient_1.CodeGuruReviewerClient, ListRepositoryAssociationsCommand_1.ListRepositoryAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListCodeReviewsPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListRecommendationFeedbackPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListRecommendationsPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListRepositoryAssociationsPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|