@aws-sdk/client-codeguru-reviewer 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CodeGuruReviewerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +101 -2
- package/dist-cjs/protocols/Aws_restJson1.js +177 -574
- package/dist-es/index.js +1 -0
- package/dist-es/models/CodeGuruReviewerServiceException.js +12 -0
- package/dist-es/models/models_0.js +93 -1
- package/dist-es/protocols/Aws_restJson1.js +339 -638
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CodeGuruReviewerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -22
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CodeGuruReviewerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -22
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeGuruReviewerServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./CodeGuruReviewer"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CodeGuruReviewerClient"), exports);
|
|
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
|
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./waiters"), exports);
|
|
11
|
+
var CodeGuruReviewerServiceException_1 = require("./models/CodeGuruReviewerServiceException");
|
|
12
|
+
Object.defineProperty(exports, "CodeGuruReviewerServiceException", { enumerable: true, get: function () { return CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeGuruReviewerServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CodeGuruReviewerServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CodeGuruReviewerServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CodeGuruReviewerServiceException = CodeGuruReviewerServiceException;
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutRecommendationFeedbackResponse = exports.PutRecommendationFeedbackRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRepositoryAssociationsResponse = exports.RepositoryAssociationSummary = exports.ListRepositoryAssociationsRequest = exports.ListRecommendationsResponse = exports.RecommendationSummary = exports.Severity = void 0;
|
|
3
|
+
exports.CodeReviewSummary = exports.MetricsSummary = exports.ListCodeReviewsRequest = exports.DisassociateRepositoryResponse = exports.DisassociateRepositoryRequest = exports.NotFoundException = exports.DescribeRepositoryAssociationResponse = exports.DescribeRepositoryAssociationRequest = exports.DescribeRecommendationFeedbackResponse = exports.RecommendationFeedback = exports.Reaction = exports.DescribeRecommendationFeedbackRequest = exports.DescribeCodeReviewResponse = exports.DescribeCodeReviewRequest = exports.ResourceNotFoundException = exports.CreateCodeReviewResponse = exports.CodeReview = exports.Type = exports.JobState = exports.Metrics = exports.CreateCodeReviewRequest = exports.CodeReviewType = exports.RepositoryAnalysis = exports.SourceCodeType = exports.S3BucketRepository = exports.RequestMetadata = exports.VendorName = exports.EventInfo = exports.CommitDiffSourceCodeType = exports.BranchDiffSourceCodeType = exports.RepositoryHeadSourceCodeType = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.AssociateRepositoryResponse = exports.RepositoryAssociation = exports.RepositoryAssociationState = exports.S3RepositoryDetails = exports.CodeArtifacts = exports.ProviderType = exports.AssociateRepositoryRequest = exports.Repository = exports.S3Repository = exports.CodeCommitRepository = exports.ThirdPartySourceRepository = exports.KMSKeyDetails = exports.EncryptionOption = exports.AnalysisType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutRecommendationFeedbackResponse = exports.PutRecommendationFeedbackRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRepositoryAssociationsResponse = exports.RepositoryAssociationSummary = exports.ListRepositoryAssociationsRequest = exports.ListRecommendationsResponse = exports.RecommendationSummary = exports.Severity = exports.RuleMetadata = exports.RecommendationCategory = exports.ListRecommendationsRequest = exports.ListRecommendationFeedbackResponse = exports.RecommendationFeedbackSummary = exports.ListRecommendationFeedbackRequest = exports.ListCodeReviewsResponse = void 0;
|
|
5
|
+
const CodeGuruReviewerServiceException_1 = require("./CodeGuruReviewerServiceException");
|
|
6
|
+
class AccessDeniedException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
5
20
|
var AnalysisType;
|
|
6
21
|
(function (AnalysisType) {
|
|
7
22
|
AnalysisType["CODE_QUALITY"] = "CodeQuality";
|
|
@@ -88,6 +103,62 @@ var AssociateRepositoryResponse;
|
|
|
88
103
|
...obj,
|
|
89
104
|
});
|
|
90
105
|
})(AssociateRepositoryResponse = exports.AssociateRepositoryResponse || (exports.AssociateRepositoryResponse = {}));
|
|
106
|
+
class ConflictException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
107
|
+
constructor(opts) {
|
|
108
|
+
super({
|
|
109
|
+
name: "ConflictException",
|
|
110
|
+
$fault: "client",
|
|
111
|
+
...opts,
|
|
112
|
+
});
|
|
113
|
+
this.name = "ConflictException";
|
|
114
|
+
this.$fault = "client";
|
|
115
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
116
|
+
this.Message = opts.Message;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.ConflictException = ConflictException;
|
|
120
|
+
class InternalServerException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
121
|
+
constructor(opts) {
|
|
122
|
+
super({
|
|
123
|
+
name: "InternalServerException",
|
|
124
|
+
$fault: "server",
|
|
125
|
+
...opts,
|
|
126
|
+
});
|
|
127
|
+
this.name = "InternalServerException";
|
|
128
|
+
this.$fault = "server";
|
|
129
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
130
|
+
this.Message = opts.Message;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
exports.InternalServerException = InternalServerException;
|
|
134
|
+
class ThrottlingException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ThrottlingException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
this.name = "ThrottlingException";
|
|
142
|
+
this.$fault = "client";
|
|
143
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
144
|
+
this.Message = opts.Message;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.ThrottlingException = ThrottlingException;
|
|
148
|
+
class ValidationException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "ValidationException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
this.name = "ValidationException";
|
|
156
|
+
this.$fault = "client";
|
|
157
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
158
|
+
this.Message = opts.Message;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.ValidationException = ValidationException;
|
|
91
162
|
var RepositoryHeadSourceCodeType;
|
|
92
163
|
(function (RepositoryHeadSourceCodeType) {
|
|
93
164
|
RepositoryHeadSourceCodeType.filterSensitiveLog = (obj) => ({
|
|
@@ -184,6 +255,20 @@ var CreateCodeReviewResponse;
|
|
|
184
255
|
...obj,
|
|
185
256
|
});
|
|
186
257
|
})(CreateCodeReviewResponse = exports.CreateCodeReviewResponse || (exports.CreateCodeReviewResponse = {}));
|
|
258
|
+
class ResourceNotFoundException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
259
|
+
constructor(opts) {
|
|
260
|
+
super({
|
|
261
|
+
name: "ResourceNotFoundException",
|
|
262
|
+
$fault: "client",
|
|
263
|
+
...opts,
|
|
264
|
+
});
|
|
265
|
+
this.name = "ResourceNotFoundException";
|
|
266
|
+
this.$fault = "client";
|
|
267
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
268
|
+
this.Message = opts.Message;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
187
272
|
var DescribeCodeReviewRequest;
|
|
188
273
|
(function (DescribeCodeReviewRequest) {
|
|
189
274
|
DescribeCodeReviewRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -231,6 +316,20 @@ var DescribeRepositoryAssociationResponse;
|
|
|
231
316
|
...obj,
|
|
232
317
|
});
|
|
233
318
|
})(DescribeRepositoryAssociationResponse = exports.DescribeRepositoryAssociationResponse || (exports.DescribeRepositoryAssociationResponse = {}));
|
|
319
|
+
class NotFoundException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
320
|
+
constructor(opts) {
|
|
321
|
+
super({
|
|
322
|
+
name: "NotFoundException",
|
|
323
|
+
$fault: "client",
|
|
324
|
+
...opts,
|
|
325
|
+
});
|
|
326
|
+
this.name = "NotFoundException";
|
|
327
|
+
this.$fault = "client";
|
|
328
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
329
|
+
this.Message = opts.Message;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
exports.NotFoundException = NotFoundException;
|
|
234
333
|
var DisassociateRepositoryRequest;
|
|
235
334
|
(function (DisassociateRepositoryRequest) {
|
|
236
335
|
DisassociateRepositoryRequest.filterSensitiveLog = (obj) => ({
|