@aws-sdk/client-codeguru-reviewer 3.956.0 → 3.958.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/README.md +1 -19
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +291 -347
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +281 -337
- package/dist-es/waiters/waitForCodeReviewCompleted.js +3 -3
- package/dist-es/waiters/waitForRepositoryAssociationSucceeded.js +3 -3
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -23,10 +23,8 @@ endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Review
|
|
|
23
23
|
Guide</i>.</p>
|
|
24
24
|
|
|
25
25
|
## Installing
|
|
26
|
-
|
|
27
26
|
To install this package, simply type add or install @aws-sdk/client-codeguru-reviewer
|
|
28
27
|
using your favorite package manager:
|
|
29
|
-
|
|
30
28
|
- `npm install @aws-sdk/client-codeguru-reviewer`
|
|
31
29
|
- `yarn add @aws-sdk/client-codeguru-reviewer`
|
|
32
30
|
- `pnpm add @aws-sdk/client-codeguru-reviewer`
|
|
@@ -62,9 +60,7 @@ To send a request, you:
|
|
|
62
60
|
// a client can be shared by different commands.
|
|
63
61
|
const client = new CodeGuruReviewerClient({ region: "REGION" });
|
|
64
62
|
|
|
65
|
-
const params = {
|
|
66
|
-
/** input parameters */
|
|
67
|
-
};
|
|
63
|
+
const params = { /** input parameters */ };
|
|
68
64
|
const command = new ListCodeReviewsCommand(params);
|
|
69
65
|
```
|
|
70
66
|
|
|
@@ -223,7 +219,6 @@ AssociateRepository
|
|
|
223
219
|
</summary>
|
|
224
220
|
|
|
225
221
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/AssociateRepositoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/AssociateRepositoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/AssociateRepositoryCommandOutput/)
|
|
226
|
-
|
|
227
222
|
</details>
|
|
228
223
|
<details>
|
|
229
224
|
<summary>
|
|
@@ -231,7 +226,6 @@ CreateCodeReview
|
|
|
231
226
|
</summary>
|
|
232
227
|
|
|
233
228
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/CreateCodeReviewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/CreateCodeReviewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/CreateCodeReviewCommandOutput/)
|
|
234
|
-
|
|
235
229
|
</details>
|
|
236
230
|
<details>
|
|
237
231
|
<summary>
|
|
@@ -239,7 +233,6 @@ DescribeCodeReview
|
|
|
239
233
|
</summary>
|
|
240
234
|
|
|
241
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/DescribeCodeReviewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/DescribeCodeReviewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/DescribeCodeReviewCommandOutput/)
|
|
242
|
-
|
|
243
236
|
</details>
|
|
244
237
|
<details>
|
|
245
238
|
<summary>
|
|
@@ -247,7 +240,6 @@ DescribeRecommendationFeedback
|
|
|
247
240
|
</summary>
|
|
248
241
|
|
|
249
242
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/DescribeRecommendationFeedbackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/DescribeRecommendationFeedbackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/DescribeRecommendationFeedbackCommandOutput/)
|
|
250
|
-
|
|
251
243
|
</details>
|
|
252
244
|
<details>
|
|
253
245
|
<summary>
|
|
@@ -255,7 +247,6 @@ DescribeRepositoryAssociation
|
|
|
255
247
|
</summary>
|
|
256
248
|
|
|
257
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/DescribeRepositoryAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/DescribeRepositoryAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/DescribeRepositoryAssociationCommandOutput/)
|
|
258
|
-
|
|
259
250
|
</details>
|
|
260
251
|
<details>
|
|
261
252
|
<summary>
|
|
@@ -263,7 +254,6 @@ DisassociateRepository
|
|
|
263
254
|
</summary>
|
|
264
255
|
|
|
265
256
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/DisassociateRepositoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/DisassociateRepositoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/DisassociateRepositoryCommandOutput/)
|
|
266
|
-
|
|
267
257
|
</details>
|
|
268
258
|
<details>
|
|
269
259
|
<summary>
|
|
@@ -271,7 +261,6 @@ ListCodeReviews
|
|
|
271
261
|
</summary>
|
|
272
262
|
|
|
273
263
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/ListCodeReviewsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListCodeReviewsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListCodeReviewsCommandOutput/)
|
|
274
|
-
|
|
275
264
|
</details>
|
|
276
265
|
<details>
|
|
277
266
|
<summary>
|
|
@@ -279,7 +268,6 @@ ListRecommendationFeedback
|
|
|
279
268
|
</summary>
|
|
280
269
|
|
|
281
270
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/ListRecommendationFeedbackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListRecommendationFeedbackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListRecommendationFeedbackCommandOutput/)
|
|
282
|
-
|
|
283
271
|
</details>
|
|
284
272
|
<details>
|
|
285
273
|
<summary>
|
|
@@ -287,7 +275,6 @@ ListRecommendations
|
|
|
287
275
|
</summary>
|
|
288
276
|
|
|
289
277
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/ListRecommendationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListRecommendationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListRecommendationsCommandOutput/)
|
|
290
|
-
|
|
291
278
|
</details>
|
|
292
279
|
<details>
|
|
293
280
|
<summary>
|
|
@@ -295,7 +282,6 @@ ListRepositoryAssociations
|
|
|
295
282
|
</summary>
|
|
296
283
|
|
|
297
284
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/ListRepositoryAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListRepositoryAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListRepositoryAssociationsCommandOutput/)
|
|
298
|
-
|
|
299
285
|
</details>
|
|
300
286
|
<details>
|
|
301
287
|
<summary>
|
|
@@ -303,7 +289,6 @@ ListTagsForResource
|
|
|
303
289
|
</summary>
|
|
304
290
|
|
|
305
291
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/ListTagsForResourceCommandOutput/)
|
|
306
|
-
|
|
307
292
|
</details>
|
|
308
293
|
<details>
|
|
309
294
|
<summary>
|
|
@@ -311,7 +296,6 @@ PutRecommendationFeedback
|
|
|
311
296
|
</summary>
|
|
312
297
|
|
|
313
298
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/PutRecommendationFeedbackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/PutRecommendationFeedbackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/PutRecommendationFeedbackCommandOutput/)
|
|
314
|
-
|
|
315
299
|
</details>
|
|
316
300
|
<details>
|
|
317
301
|
<summary>
|
|
@@ -319,7 +303,6 @@ TagResource
|
|
|
319
303
|
</summary>
|
|
320
304
|
|
|
321
305
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/TagResourceCommandOutput/)
|
|
322
|
-
|
|
323
306
|
</details>
|
|
324
307
|
<details>
|
|
325
308
|
<summary>
|
|
@@ -327,5 +310,4 @@ UntagResource
|
|
|
327
310
|
</summary>
|
|
328
311
|
|
|
329
312
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeguru-reviewer/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeguru-reviewer/Interface/UntagResourceCommandOutput/)
|
|
330
|
-
|
|
331
313
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultCodeGuruReviewerHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultCodeGuruReviewerHttpAuthSchemeParametersProvider = defaultCodeGuruReviewerHttpAuthSchemeParametersProvider;
|