@aws-sdk/client-codeguru-reviewer 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/CodeGuruReviewer.js +65 -58
- package/dist-es/CodeGuruReviewerClient.js +28 -22
- package/dist-es/commands/AssociateRepositoryCommand.js +28 -21
- package/dist-es/commands/CreateCodeReviewCommand.js +28 -21
- package/dist-es/commands/DescribeCodeReviewCommand.js +28 -21
- package/dist-es/commands/DescribeRecommendationFeedbackCommand.js +28 -21
- package/dist-es/commands/DescribeRepositoryAssociationCommand.js +28 -21
- package/dist-es/commands/DisassociateRepositoryCommand.js +28 -21
- package/dist-es/commands/ListCodeReviewsCommand.js +28 -21
- package/dist-es/commands/ListRecommendationFeedbackCommand.js +28 -21
- package/dist-es/commands/ListRecommendationsCommand.js +28 -21
- package/dist-es/commands/ListRepositoryAssociationsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutRecommendationFeedbackCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CodeGuruReviewerServiceException.js +10 -5
- package/dist-es/models/models_0.js +139 -246
- package/dist-es/pagination/ListCodeReviewsPaginator.js +68 -25
- package/dist-es/pagination/ListRecommendationFeedbackPaginator.js +68 -25
- package/dist-es/pagination/ListRecommendationsPaginator.js +68 -25
- package/dist-es/pagination/ListRepositoryAssociationsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +1577 -1180
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForCodeReviewCompleted.js +65 -45
- package/dist-es/waiters/waitForRepositoryAssociationSucceeded.js +65 -45
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
|
@@ -1506,10 +1506,10 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
1506
1506
|
}, {});
|
|
1507
1507
|
};
|
|
1508
1508
|
const deserializeMetadata = (output) => {
|
|
1509
|
-
var _a;
|
|
1509
|
+
var _a, _b;
|
|
1510
1510
|
return ({
|
|
1511
1511
|
httpStatusCode: output.statusCode,
|
|
1512
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
1512
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
1513
1513
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1514
1514
|
cfId: output.headers["x-amz-cf-id"],
|
|
1515
1515
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { CodeGuruReviewerClient } from "./CodeGuruReviewerClient";
|
|
2
3
|
import { AssociateRepositoryCommand, } from "./commands/AssociateRepositoryCommand";
|
|
3
4
|
import { CreateCodeReviewCommand, } from "./commands/CreateCodeReviewCommand";
|
|
@@ -13,201 +14,207 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
13
14
|
import { PutRecommendationFeedbackCommand, } from "./commands/PutRecommendationFeedbackCommand";
|
|
14
15
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
15
16
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
var CodeGuruReviewer = (function (_super) {
|
|
18
|
+
__extends(CodeGuruReviewer, _super);
|
|
19
|
+
function CodeGuruReviewer() {
|
|
20
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
21
|
+
}
|
|
22
|
+
CodeGuruReviewer.prototype.associateRepository = function (args, optionsOrCb, cb) {
|
|
23
|
+
var command = new AssociateRepositoryCommand(args);
|
|
19
24
|
if (typeof optionsOrCb === "function") {
|
|
20
25
|
this.send(command, optionsOrCb);
|
|
21
26
|
}
|
|
22
27
|
else if (typeof cb === "function") {
|
|
23
28
|
if (typeof optionsOrCb !== "object")
|
|
24
|
-
throw new Error(
|
|
29
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
25
30
|
this.send(command, optionsOrCb || {}, cb);
|
|
26
31
|
}
|
|
27
32
|
else {
|
|
28
33
|
return this.send(command, optionsOrCb);
|
|
29
34
|
}
|
|
30
|
-
}
|
|
31
|
-
createCodeReview(args, optionsOrCb, cb) {
|
|
32
|
-
|
|
35
|
+
};
|
|
36
|
+
CodeGuruReviewer.prototype.createCodeReview = function (args, optionsOrCb, cb) {
|
|
37
|
+
var command = new CreateCodeReviewCommand(args);
|
|
33
38
|
if (typeof optionsOrCb === "function") {
|
|
34
39
|
this.send(command, optionsOrCb);
|
|
35
40
|
}
|
|
36
41
|
else if (typeof cb === "function") {
|
|
37
42
|
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(
|
|
43
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
39
44
|
this.send(command, optionsOrCb || {}, cb);
|
|
40
45
|
}
|
|
41
46
|
else {
|
|
42
47
|
return this.send(command, optionsOrCb);
|
|
43
48
|
}
|
|
44
|
-
}
|
|
45
|
-
describeCodeReview(args, optionsOrCb, cb) {
|
|
46
|
-
|
|
49
|
+
};
|
|
50
|
+
CodeGuruReviewer.prototype.describeCodeReview = function (args, optionsOrCb, cb) {
|
|
51
|
+
var command = new DescribeCodeReviewCommand(args);
|
|
47
52
|
if (typeof optionsOrCb === "function") {
|
|
48
53
|
this.send(command, optionsOrCb);
|
|
49
54
|
}
|
|
50
55
|
else if (typeof cb === "function") {
|
|
51
56
|
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(
|
|
57
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
53
58
|
this.send(command, optionsOrCb || {}, cb);
|
|
54
59
|
}
|
|
55
60
|
else {
|
|
56
61
|
return this.send(command, optionsOrCb);
|
|
57
62
|
}
|
|
58
|
-
}
|
|
59
|
-
describeRecommendationFeedback(args, optionsOrCb, cb) {
|
|
60
|
-
|
|
63
|
+
};
|
|
64
|
+
CodeGuruReviewer.prototype.describeRecommendationFeedback = function (args, optionsOrCb, cb) {
|
|
65
|
+
var command = new DescribeRecommendationFeedbackCommand(args);
|
|
61
66
|
if (typeof optionsOrCb === "function") {
|
|
62
67
|
this.send(command, optionsOrCb);
|
|
63
68
|
}
|
|
64
69
|
else if (typeof cb === "function") {
|
|
65
70
|
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(
|
|
71
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
67
72
|
this.send(command, optionsOrCb || {}, cb);
|
|
68
73
|
}
|
|
69
74
|
else {
|
|
70
75
|
return this.send(command, optionsOrCb);
|
|
71
76
|
}
|
|
72
|
-
}
|
|
73
|
-
describeRepositoryAssociation(args, optionsOrCb, cb) {
|
|
74
|
-
|
|
77
|
+
};
|
|
78
|
+
CodeGuruReviewer.prototype.describeRepositoryAssociation = function (args, optionsOrCb, cb) {
|
|
79
|
+
var command = new DescribeRepositoryAssociationCommand(args);
|
|
75
80
|
if (typeof optionsOrCb === "function") {
|
|
76
81
|
this.send(command, optionsOrCb);
|
|
77
82
|
}
|
|
78
83
|
else if (typeof cb === "function") {
|
|
79
84
|
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(
|
|
85
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
81
86
|
this.send(command, optionsOrCb || {}, cb);
|
|
82
87
|
}
|
|
83
88
|
else {
|
|
84
89
|
return this.send(command, optionsOrCb);
|
|
85
90
|
}
|
|
86
|
-
}
|
|
87
|
-
disassociateRepository(args, optionsOrCb, cb) {
|
|
88
|
-
|
|
91
|
+
};
|
|
92
|
+
CodeGuruReviewer.prototype.disassociateRepository = function (args, optionsOrCb, cb) {
|
|
93
|
+
var command = new DisassociateRepositoryCommand(args);
|
|
89
94
|
if (typeof optionsOrCb === "function") {
|
|
90
95
|
this.send(command, optionsOrCb);
|
|
91
96
|
}
|
|
92
97
|
else if (typeof cb === "function") {
|
|
93
98
|
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(
|
|
99
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
95
100
|
this.send(command, optionsOrCb || {}, cb);
|
|
96
101
|
}
|
|
97
102
|
else {
|
|
98
103
|
return this.send(command, optionsOrCb);
|
|
99
104
|
}
|
|
100
|
-
}
|
|
101
|
-
listCodeReviews(args, optionsOrCb, cb) {
|
|
102
|
-
|
|
105
|
+
};
|
|
106
|
+
CodeGuruReviewer.prototype.listCodeReviews = function (args, optionsOrCb, cb) {
|
|
107
|
+
var command = new ListCodeReviewsCommand(args);
|
|
103
108
|
if (typeof optionsOrCb === "function") {
|
|
104
109
|
this.send(command, optionsOrCb);
|
|
105
110
|
}
|
|
106
111
|
else if (typeof cb === "function") {
|
|
107
112
|
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(
|
|
113
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
114
|
this.send(command, optionsOrCb || {}, cb);
|
|
110
115
|
}
|
|
111
116
|
else {
|
|
112
117
|
return this.send(command, optionsOrCb);
|
|
113
118
|
}
|
|
114
|
-
}
|
|
115
|
-
listRecommendationFeedback(args, optionsOrCb, cb) {
|
|
116
|
-
|
|
119
|
+
};
|
|
120
|
+
CodeGuruReviewer.prototype.listRecommendationFeedback = function (args, optionsOrCb, cb) {
|
|
121
|
+
var command = new ListRecommendationFeedbackCommand(args);
|
|
117
122
|
if (typeof optionsOrCb === "function") {
|
|
118
123
|
this.send(command, optionsOrCb);
|
|
119
124
|
}
|
|
120
125
|
else if (typeof cb === "function") {
|
|
121
126
|
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(
|
|
127
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
128
|
this.send(command, optionsOrCb || {}, cb);
|
|
124
129
|
}
|
|
125
130
|
else {
|
|
126
131
|
return this.send(command, optionsOrCb);
|
|
127
132
|
}
|
|
128
|
-
}
|
|
129
|
-
listRecommendations(args, optionsOrCb, cb) {
|
|
130
|
-
|
|
133
|
+
};
|
|
134
|
+
CodeGuruReviewer.prototype.listRecommendations = function (args, optionsOrCb, cb) {
|
|
135
|
+
var command = new ListRecommendationsCommand(args);
|
|
131
136
|
if (typeof optionsOrCb === "function") {
|
|
132
137
|
this.send(command, optionsOrCb);
|
|
133
138
|
}
|
|
134
139
|
else if (typeof cb === "function") {
|
|
135
140
|
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(
|
|
141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
142
|
this.send(command, optionsOrCb || {}, cb);
|
|
138
143
|
}
|
|
139
144
|
else {
|
|
140
145
|
return this.send(command, optionsOrCb);
|
|
141
146
|
}
|
|
142
|
-
}
|
|
143
|
-
listRepositoryAssociations(args, optionsOrCb, cb) {
|
|
144
|
-
|
|
147
|
+
};
|
|
148
|
+
CodeGuruReviewer.prototype.listRepositoryAssociations = function (args, optionsOrCb, cb) {
|
|
149
|
+
var command = new ListRepositoryAssociationsCommand(args);
|
|
145
150
|
if (typeof optionsOrCb === "function") {
|
|
146
151
|
this.send(command, optionsOrCb);
|
|
147
152
|
}
|
|
148
153
|
else if (typeof cb === "function") {
|
|
149
154
|
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(
|
|
155
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
151
156
|
this.send(command, optionsOrCb || {}, cb);
|
|
152
157
|
}
|
|
153
158
|
else {
|
|
154
159
|
return this.send(command, optionsOrCb);
|
|
155
160
|
}
|
|
156
|
-
}
|
|
157
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
158
|
-
|
|
161
|
+
};
|
|
162
|
+
CodeGuruReviewer.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
163
|
+
var command = new ListTagsForResourceCommand(args);
|
|
159
164
|
if (typeof optionsOrCb === "function") {
|
|
160
165
|
this.send(command, optionsOrCb);
|
|
161
166
|
}
|
|
162
167
|
else if (typeof cb === "function") {
|
|
163
168
|
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(
|
|
169
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
165
170
|
this.send(command, optionsOrCb || {}, cb);
|
|
166
171
|
}
|
|
167
172
|
else {
|
|
168
173
|
return this.send(command, optionsOrCb);
|
|
169
174
|
}
|
|
170
|
-
}
|
|
171
|
-
putRecommendationFeedback(args, optionsOrCb, cb) {
|
|
172
|
-
|
|
175
|
+
};
|
|
176
|
+
CodeGuruReviewer.prototype.putRecommendationFeedback = function (args, optionsOrCb, cb) {
|
|
177
|
+
var command = new PutRecommendationFeedbackCommand(args);
|
|
173
178
|
if (typeof optionsOrCb === "function") {
|
|
174
179
|
this.send(command, optionsOrCb);
|
|
175
180
|
}
|
|
176
181
|
else if (typeof cb === "function") {
|
|
177
182
|
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(
|
|
183
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
179
184
|
this.send(command, optionsOrCb || {}, cb);
|
|
180
185
|
}
|
|
181
186
|
else {
|
|
182
187
|
return this.send(command, optionsOrCb);
|
|
183
188
|
}
|
|
184
|
-
}
|
|
185
|
-
tagResource(args, optionsOrCb, cb) {
|
|
186
|
-
|
|
189
|
+
};
|
|
190
|
+
CodeGuruReviewer.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
191
|
+
var command = new TagResourceCommand(args);
|
|
187
192
|
if (typeof optionsOrCb === "function") {
|
|
188
193
|
this.send(command, optionsOrCb);
|
|
189
194
|
}
|
|
190
195
|
else if (typeof cb === "function") {
|
|
191
196
|
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(
|
|
197
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
193
198
|
this.send(command, optionsOrCb || {}, cb);
|
|
194
199
|
}
|
|
195
200
|
else {
|
|
196
201
|
return this.send(command, optionsOrCb);
|
|
197
202
|
}
|
|
198
|
-
}
|
|
199
|
-
untagResource(args, optionsOrCb, cb) {
|
|
200
|
-
|
|
203
|
+
};
|
|
204
|
+
CodeGuruReviewer.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
205
|
+
var command = new UntagResourceCommand(args);
|
|
201
206
|
if (typeof optionsOrCb === "function") {
|
|
202
207
|
this.send(command, optionsOrCb);
|
|
203
208
|
}
|
|
204
209
|
else if (typeof cb === "function") {
|
|
205
210
|
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(
|
|
211
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
207
212
|
this.send(command, optionsOrCb || {}, cb);
|
|
208
213
|
}
|
|
209
214
|
else {
|
|
210
215
|
return this.send(command, optionsOrCb);
|
|
211
216
|
}
|
|
212
|
-
}
|
|
213
|
-
|
|
217
|
+
};
|
|
218
|
+
return CodeGuruReviewer;
|
|
219
|
+
}(CodeGuruReviewerClient));
|
|
220
|
+
export { CodeGuruReviewer };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var CodeGuruReviewerClient = (function (_super) {
|
|
13
|
+
__extends(CodeGuruReviewerClient, _super);
|
|
14
|
+
function CodeGuruReviewerClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
CodeGuruReviewerClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return CodeGuruReviewerClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { CodeGuruReviewerClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateRepositoryRequestFilterSensitiveLog, AssociateRepositoryResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateRepositoryCommand, serializeAws_restJson1AssociateRepositoryCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateRepositoryCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateRepositoryCommand, _super);
|
|
8
|
+
function AssociateRepositoryCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateRepositoryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CodeGuruReviewerClient";
|
|
18
|
+
var commandName = "AssociateRepositoryCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateRepositoryRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateRepositoryResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateRepositoryCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateRepositoryCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateRepositoryCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateRepositoryCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateRepositoryCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateRepositoryCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateCodeReviewRequestFilterSensitiveLog, CreateCodeReviewResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateCodeReviewCommand, serializeAws_restJson1CreateCodeReviewCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateCodeReviewCommand = (function (_super) {
|
|
7
|
+
__extends(CreateCodeReviewCommand, _super);
|
|
8
|
+
function CreateCodeReviewCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateCodeReviewCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CodeGuruReviewerClient";
|
|
18
|
+
var commandName = "CreateCodeReviewCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateCodeReviewRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateCodeReviewResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateCodeReviewCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateCodeReviewCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateCodeReviewCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateCodeReviewCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateCodeReviewCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateCodeReviewCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeCodeReviewRequestFilterSensitiveLog, DescribeCodeReviewResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DescribeCodeReviewCommand, serializeAws_restJson1DescribeCodeReviewCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeCodeReviewCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeCodeReviewCommand, _super);
|
|
8
|
+
function DescribeCodeReviewCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeCodeReviewCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CodeGuruReviewerClient";
|
|
18
|
+
var commandName = "DescribeCodeReviewCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeCodeReviewRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeCodeReviewResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeCodeReviewCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DescribeCodeReviewCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeCodeReviewCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DescribeCodeReviewCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeCodeReviewCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeCodeReviewCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeRecommendationFeedbackRequestFilterSensitiveLog, DescribeRecommendationFeedbackResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DescribeRecommendationFeedbackCommand, serializeAws_restJson1DescribeRecommendationFeedbackCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeRecommendationFeedbackCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeRecommendationFeedbackCommand, _super);
|
|
8
|
+
function DescribeRecommendationFeedbackCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeRecommendationFeedbackCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CodeGuruReviewerClient";
|
|
18
|
+
var commandName = "DescribeRecommendationFeedbackCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeRecommendationFeedbackRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeRecommendationFeedbackResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeRecommendationFeedbackCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DescribeRecommendationFeedbackCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeRecommendationFeedbackCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DescribeRecommendationFeedbackCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeRecommendationFeedbackCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeRecommendationFeedbackCommand };
|