@aws-sdk/client-codeguru-reviewer 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/CodeGuruReviewer.js +0 -19
- package/dist-cjs/CodeGuruReviewerClient.js +35 -0
- package/dist-cjs/commands/AssociateRepositoryCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CreateCodeReviewCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/DescribeCodeReviewCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeRecommendationFeedbackCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeRepositoryAssociationCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/DisassociateRepositoryCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListCodeReviewsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/ListRecommendationFeedbackCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/ListRecommendationsCommand.js +2 -29
- package/dist-cjs/commands/ListRepositoryAssociationsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutRecommendationFeedbackCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -184
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListCodeReviewsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListRecommendationFeedbackPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListRecommendationsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListRepositoryAssociationsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +5 -11
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/cjs → dist-cjs}/waiters/waitForCodeReviewCompleted.js +4 -14
- package/{dist/cjs → dist-cjs}/waiters/waitForRepositoryAssociationSucceeded.js +4 -14
- package/{dist/es → dist-es}/CodeGuruReviewer.js +0 -1
- package/{dist/es → dist-es}/CodeGuruReviewerClient.js +1 -2
- package/{dist/es → dist-es}/commands/AssociateRepositoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateCodeReviewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeCodeReviewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRecommendationFeedbackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRepositoryAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisassociateRepositoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListCodeReviewsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRecommendationFeedbackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRecommendationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRepositoryAssociationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutRecommendationFeedbackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListCodeReviewsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListRecommendationFeedbackPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListRecommendationsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListRepositoryAssociationsPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForCodeReviewCompleted.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForRepositoryAssociationSucceeded.js +1 -2
- package/{dist/types → dist-types}/CodeGuruReviewer.d.ts +1 -1
- package/{dist/types → dist-types}/CodeGuruReviewerClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AssociateRepositoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCodeReviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCodeReviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRecommendationFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRepositoryAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisassociateRepositoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCodeReviewsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRecommendationFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRecommendationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRepositoryAssociationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutRecommendationFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCodeReviewsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRecommendationFeedbackPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRepositoryAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CodeGuruReviewer.d.ts +16 -127
- package/{dist/types → dist-types}/ts3.4/CodeGuruReviewerClient.d.ts +32 -112
- package/dist-types/ts3.4/commands/AssociateRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRecommendationFeedbackCommand.d.ts +4 -24
- package/dist-types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateRepositoryCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +838 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCodeReviewsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRecommendationFeedbackPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRepositoryAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/waiters/waitForCodeReviewCompleted.d.ts +3 -10
- package/{dist/types → dist-types}/ts3.4/waiters/waitForRepositoryAssociationSucceeded.d.ts +3 -10
- package/{dist/types → dist-types}/waiters/waitForCodeReviewCompleted.d.ts +1 -1
- package/{dist/types → dist-types}/waiters/waitForRepositoryAssociationSucceeded.d.ts +1 -1
- package/package.json +46 -43
- package/CodeGuruReviewer.ts +0 -596
- package/CodeGuruReviewerClient.ts +0 -319
- package/commands/AssociateRepositoryCommand.ts +0 -118
- package/commands/CreateCodeReviewCommand.ts +0 -100
- package/commands/DescribeCodeReviewCommand.ts +0 -94
- package/commands/DescribeRecommendationFeedbackCommand.ts +0 -104
- package/commands/DescribeRepositoryAssociationCommand.ts +0 -104
- package/commands/DisassociateRepositoryCommand.ts +0 -94
- package/commands/ListCodeReviewsCommand.ts +0 -96
- package/commands/ListRecommendationFeedbackCommand.ts +0 -103
- package/commands/ListRecommendationsCommand.ts +0 -96
- package/commands/ListRepositoryAssociationsCommand.ts +0 -114
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PutRecommendationFeedbackCommand.ts +0 -99
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/dist/cjs/CodeGuruReviewer.js.map +0 -1
- package/dist/cjs/CodeGuruReviewerClient.js +0 -59
- package/dist/cjs/CodeGuruReviewerClient.js.map +0 -1
- package/dist/cjs/commands/AssociateRepositoryCommand.js +0 -85
- package/dist/cjs/commands/AssociateRepositoryCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCodeReviewCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCodeReviewCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRecommendationFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRepositoryAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateRepositoryCommand.js.map +0 -1
- package/dist/cjs/commands/ListCodeReviewsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRecommendationFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/ListRecommendationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRepositoryAssociationsCommand.js +0 -78
- package/dist/cjs/commands/ListRepositoryAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutRecommendationFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -94
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListCodeReviewsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRecommendationFeedbackPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRecommendationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRepositoryAssociationsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForCodeReviewCompleted.js.map +0 -1
- package/dist/cjs/waiters/waitForRepositoryAssociationSucceeded.js.map +0 -1
- package/dist/es/CodeGuruReviewer.js.map +0 -1
- package/dist/es/CodeGuruReviewerClient.js.map +0 -1
- package/dist/es/commands/AssociateRepositoryCommand.js.map +0 -1
- package/dist/es/commands/CreateCodeReviewCommand.js.map +0 -1
- package/dist/es/commands/DescribeCodeReviewCommand.js.map +0 -1
- package/dist/es/commands/DescribeRecommendationFeedbackCommand.js.map +0 -1
- package/dist/es/commands/DescribeRepositoryAssociationCommand.js.map +0 -1
- package/dist/es/commands/DisassociateRepositoryCommand.js.map +0 -1
- package/dist/es/commands/ListCodeReviewsCommand.js.map +0 -1
- package/dist/es/commands/ListRecommendationFeedbackCommand.js.map +0 -1
- package/dist/es/commands/ListRecommendationsCommand.js.map +0 -1
- package/dist/es/commands/ListRepositoryAssociationsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutRecommendationFeedbackCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -25
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -94
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListCodeReviewsPaginator.js.map +0 -1
- package/dist/es/pagination/ListRecommendationFeedbackPaginator.js.map +0 -1
- package/dist/es/pagination/ListRecommendationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListRepositoryAssociationsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForCodeReviewCompleted.js.map +0 -1
- package/dist/es/waiters/waitForRepositoryAssociationSucceeded.js.map +0 -1
- package/dist/types/ts3.4/commands/AssociateRepositoryCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/CreateCodeReviewCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/ListCodeReviewsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListRecommendationsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2210
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2570
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListCodeReviewsPaginator.ts +0 -58
- package/pagination/ListRecommendationFeedbackPaginator.ts +0 -58
- package/pagination/ListRecommendationsPaginator.ts +0 -58
- package/pagination/ListRepositoryAssociationsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -2525
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
- package/waiters/waitForCodeReviewCompleted.ts +0 -57
- package/waiters/waitForRepositoryAssociationSucceeded.ts +0 -60
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { DescribeRecommendationFeedbackRequest, DescribeRecommendationFeedbackResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeRecommendationFeedbackCommand,
|
|
5
|
-
serializeAws_restJson1DescribeRecommendationFeedbackCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DescribeRecommendationFeedbackCommandInput extends DescribeRecommendationFeedbackRequest {}
|
|
21
|
-
export interface DescribeRecommendationFeedbackCommandOutput
|
|
22
|
-
extends DescribeRecommendationFeedbackResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>
|
|
27
|
-
* Describes the customer feedback for a CodeGuru Reviewer recommendation.
|
|
28
|
-
* </p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { CodeGuruReviewerClient, DescribeRecommendationFeedbackCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
33
|
-
* // const { CodeGuruReviewerClient, DescribeRecommendationFeedbackCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
34
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
35
|
-
* const command = new DescribeRecommendationFeedbackCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link DescribeRecommendationFeedbackCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link DescribeRecommendationFeedbackCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class DescribeRecommendationFeedbackCommand extends $Command<
|
|
45
|
-
DescribeRecommendationFeedbackCommandInput,
|
|
46
|
-
DescribeRecommendationFeedbackCommandOutput,
|
|
47
|
-
CodeGuruReviewerClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: DescribeRecommendationFeedbackCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: CodeGuruReviewerClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<DescribeRecommendationFeedbackCommandInput, DescribeRecommendationFeedbackCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "CodeGuruReviewerClient";
|
|
72
|
-
const commandName = "DescribeRecommendationFeedbackCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: DescribeRecommendationFeedbackRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: DescribeRecommendationFeedbackResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(
|
|
89
|
-
input: DescribeRecommendationFeedbackCommandInput,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1DescribeRecommendationFeedbackCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<DescribeRecommendationFeedbackCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1DescribeRecommendationFeedbackCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { DescribeRepositoryAssociationRequest, DescribeRepositoryAssociationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeRepositoryAssociationCommand,
|
|
5
|
-
serializeAws_restJson1DescribeRepositoryAssociationCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DescribeRepositoryAssociationCommandInput extends DescribeRepositoryAssociationRequest {}
|
|
21
|
-
export interface DescribeRepositoryAssociationCommandOutput
|
|
22
|
-
extends DescribeRepositoryAssociationResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>
|
|
27
|
-
* Returns a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">
|
|
28
|
-
* <code>RepositoryAssociation</code>
|
|
29
|
-
* </a> object
|
|
30
|
-
* that contains information about the requested repository association.
|
|
31
|
-
* </p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CodeGuruReviewerClient, DescribeRepositoryAssociationCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
36
|
-
* // const { CodeGuruReviewerClient, DescribeRepositoryAssociationCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
37
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
38
|
-
* const command = new DescribeRepositoryAssociationCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DescribeRepositoryAssociationCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DescribeRepositoryAssociationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DescribeRepositoryAssociationCommand extends $Command<
|
|
48
|
-
DescribeRepositoryAssociationCommandInput,
|
|
49
|
-
DescribeRepositoryAssociationCommandOutput,
|
|
50
|
-
CodeGuruReviewerClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DescribeRepositoryAssociationCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CodeGuruReviewerClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<DescribeRepositoryAssociationCommandInput, DescribeRepositoryAssociationCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "CodeGuruReviewerClient";
|
|
75
|
-
const commandName = "DescribeRepositoryAssociationCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DescribeRepositoryAssociationRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: DescribeRepositoryAssociationResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: DescribeRepositoryAssociationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1DescribeRepositoryAssociationCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<DescribeRepositoryAssociationCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1DescribeRepositoryAssociationCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { DisassociateRepositoryRequest, DisassociateRepositoryResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DisassociateRepositoryCommand,
|
|
5
|
-
serializeAws_restJson1DisassociateRepositoryCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DisassociateRepositoryCommandInput extends DisassociateRepositoryRequest {}
|
|
21
|
-
export interface DisassociateRepositoryCommandOutput extends DisassociateRepositoryResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Removes the association between Amazon CodeGuru Reviewer and a repository.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodeGuruReviewerClient, DisassociateRepositoryCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
29
|
-
* // const { CodeGuruReviewerClient, DisassociateRepositoryCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
30
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
31
|
-
* const command = new DisassociateRepositoryCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DisassociateRepositoryCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DisassociateRepositoryCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DisassociateRepositoryCommand extends $Command<
|
|
41
|
-
DisassociateRepositoryCommandInput,
|
|
42
|
-
DisassociateRepositoryCommandOutput,
|
|
43
|
-
CodeGuruReviewerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DisassociateRepositoryCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: CodeGuruReviewerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DisassociateRepositoryCommandInput, DisassociateRepositoryCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "CodeGuruReviewerClient";
|
|
68
|
-
const commandName = "DisassociateRepositoryCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DisassociateRepositoryRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DisassociateRepositoryResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DisassociateRepositoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DisassociateRepositoryCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisassociateRepositoryCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DisassociateRepositoryCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { ListCodeReviewsRequest, ListCodeReviewsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListCodeReviewsCommand,
|
|
5
|
-
serializeAws_restJson1ListCodeReviewsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListCodeReviewsCommandInput extends ListCodeReviewsRequest {}
|
|
21
|
-
export interface ListCodeReviewsCommandOutput extends ListCodeReviewsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Lists all the code reviews that the customer has created in the past 90 days.
|
|
26
|
-
* </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CodeGuruReviewerClient, ListCodeReviewsCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
31
|
-
* // const { CodeGuruReviewerClient, ListCodeReviewsCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
32
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
33
|
-
* const command = new ListCodeReviewsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListCodeReviewsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListCodeReviewsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListCodeReviewsCommand extends $Command<
|
|
43
|
-
ListCodeReviewsCommandInput,
|
|
44
|
-
ListCodeReviewsCommandOutput,
|
|
45
|
-
CodeGuruReviewerClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListCodeReviewsCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CodeGuruReviewerClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListCodeReviewsCommandInput, ListCodeReviewsCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CodeGuruReviewerClient";
|
|
70
|
-
const commandName = "ListCodeReviewsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListCodeReviewsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListCodeReviewsResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListCodeReviewsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1ListCodeReviewsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListCodeReviewsCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1ListCodeReviewsCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { ListRecommendationFeedbackRequest, ListRecommendationFeedbackResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListRecommendationFeedbackCommand,
|
|
5
|
-
serializeAws_restJson1ListRecommendationFeedbackCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListRecommendationFeedbackCommandInput extends ListRecommendationFeedbackRequest {}
|
|
21
|
-
export interface ListRecommendationFeedbackCommandOutput extends ListRecommendationFeedbackResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Returns a list of
|
|
26
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RecommendationFeedbackSummary.html">
|
|
27
|
-
* <code>RecommendationFeedbackSummary</code>
|
|
28
|
-
* </a>
|
|
29
|
-
* objects that contain customer recommendation feedback for all CodeGuru Reviewer users.
|
|
30
|
-
* </p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CodeGuruReviewerClient, ListRecommendationFeedbackCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
35
|
-
* // const { CodeGuruReviewerClient, ListRecommendationFeedbackCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
36
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
37
|
-
* const command = new ListRecommendationFeedbackCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListRecommendationFeedbackCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListRecommendationFeedbackCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListRecommendationFeedbackCommand extends $Command<
|
|
47
|
-
ListRecommendationFeedbackCommandInput,
|
|
48
|
-
ListRecommendationFeedbackCommandOutput,
|
|
49
|
-
CodeGuruReviewerClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListRecommendationFeedbackCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: CodeGuruReviewerClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<ListRecommendationFeedbackCommandInput, ListRecommendationFeedbackCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "CodeGuruReviewerClient";
|
|
74
|
-
const commandName = "ListRecommendationFeedbackCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListRecommendationFeedbackRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListRecommendationFeedbackResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: ListRecommendationFeedbackCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1ListRecommendationFeedbackCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<ListRecommendationFeedbackCommandOutput> {
|
|
98
|
-
return deserializeAws_restJson1ListRecommendationFeedbackCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { ListRecommendationsRequest, ListRecommendationsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListRecommendationsCommand,
|
|
5
|
-
serializeAws_restJson1ListRecommendationsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListRecommendationsCommandInput extends ListRecommendationsRequest {}
|
|
21
|
-
export interface ListRecommendationsCommandOutput extends ListRecommendationsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Returns the list of all recommendations for a completed code review.
|
|
26
|
-
* </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CodeGuruReviewerClient, ListRecommendationsCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
31
|
-
* // const { CodeGuruReviewerClient, ListRecommendationsCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
32
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
33
|
-
* const command = new ListRecommendationsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListRecommendationsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListRecommendationsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListRecommendationsCommand extends $Command<
|
|
43
|
-
ListRecommendationsCommandInput,
|
|
44
|
-
ListRecommendationsCommandOutput,
|
|
45
|
-
CodeGuruReviewerClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListRecommendationsCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CodeGuruReviewerClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListRecommendationsCommandInput, ListRecommendationsCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CodeGuruReviewerClient";
|
|
70
|
-
const commandName = "ListRecommendationsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListRecommendationsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListRecommendationsResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListRecommendationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1ListRecommendationsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRecommendationsCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1ListRecommendationsCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|