@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,114 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { ListRepositoryAssociationsRequest, ListRepositoryAssociationsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListRepositoryAssociationsCommand,
|
|
5
|
-
serializeAws_restJson1ListRepositoryAssociationsCommand,
|
|
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 ListRepositoryAssociationsCommandInput extends ListRepositoryAssociationsRequest {}
|
|
21
|
-
export interface ListRepositoryAssociationsCommandOutput extends ListRepositoryAssociationsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Returns a list of <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html">
|
|
26
|
-
* <code>RepositoryAssociationSummary</code>
|
|
27
|
-
* </a> objects that
|
|
28
|
-
* contain summary information about a repository association. You can filter the returned list by
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-ProviderType">
|
|
30
|
-
* <code>ProviderType</code>
|
|
31
|
-
* </a>,
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Name">
|
|
33
|
-
* <code>Name</code>
|
|
34
|
-
* </a>,
|
|
35
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-State">
|
|
36
|
-
* <code>State</code>
|
|
37
|
-
* </a>, and
|
|
38
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Owner">
|
|
39
|
-
* <code>Owner</code>
|
|
40
|
-
* </a>.
|
|
41
|
-
* </p>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { CodeGuruReviewerClient, ListRepositoryAssociationsCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
46
|
-
* // const { CodeGuruReviewerClient, ListRepositoryAssociationsCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
47
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
48
|
-
* const command = new ListRepositoryAssociationsCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link ListRepositoryAssociationsCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link ListRepositoryAssociationsCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
export class ListRepositoryAssociationsCommand extends $Command<
|
|
58
|
-
ListRepositoryAssociationsCommandInput,
|
|
59
|
-
ListRepositoryAssociationsCommandOutput,
|
|
60
|
-
CodeGuruReviewerClientResolvedConfig
|
|
61
|
-
> {
|
|
62
|
-
// Start section: command_properties
|
|
63
|
-
// End section: command_properties
|
|
64
|
-
|
|
65
|
-
constructor(readonly input: ListRepositoryAssociationsCommandInput) {
|
|
66
|
-
// Start section: command_constructor
|
|
67
|
-
super();
|
|
68
|
-
// End section: command_constructor
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
resolveMiddleware(
|
|
75
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
76
|
-
configuration: CodeGuruReviewerClientResolvedConfig,
|
|
77
|
-
options?: __HttpHandlerOptions
|
|
78
|
-
): Handler<ListRepositoryAssociationsCommandInput, ListRepositoryAssociationsCommandOutput> {
|
|
79
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
|
-
|
|
81
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
82
|
-
|
|
83
|
-
const { logger } = configuration;
|
|
84
|
-
const clientName = "CodeGuruReviewerClient";
|
|
85
|
-
const commandName = "ListRepositoryAssociationsCommand";
|
|
86
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
87
|
-
logger,
|
|
88
|
-
clientName,
|
|
89
|
-
commandName,
|
|
90
|
-
inputFilterSensitiveLog: ListRepositoryAssociationsRequest.filterSensitiveLog,
|
|
91
|
-
outputFilterSensitiveLog: ListRepositoryAssociationsResponse.filterSensitiveLog,
|
|
92
|
-
};
|
|
93
|
-
const { requestHandler } = configuration;
|
|
94
|
-
return stack.resolve(
|
|
95
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
96
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
97
|
-
handlerExecutionContext
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private serialize(input: ListRepositoryAssociationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
102
|
-
return serializeAws_restJson1ListRepositoryAssociationsCommand(input, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private deserialize(
|
|
106
|
-
output: __HttpResponse,
|
|
107
|
-
context: __SerdeContext
|
|
108
|
-
): Promise<ListRepositoryAssociationsCommandOutput> {
|
|
109
|
-
return deserializeAws_restJson1ListRepositoryAssociationsCommand(output, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Start section: command_body_extra
|
|
113
|
-
// End section: command_body_extra
|
|
114
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
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 ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
21
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns the list of tags associated with an associated repository resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodeGuruReviewerClient, ListTagsForResourceCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
29
|
-
* // const { CodeGuruReviewerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
30
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
31
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
41
|
-
ListTagsForResourceCommandInput,
|
|
42
|
-
ListTagsForResourceCommandOutput,
|
|
43
|
-
CodeGuruReviewerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
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 = "ListTagsForResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { PutRecommendationFeedbackRequest, PutRecommendationFeedbackResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1PutRecommendationFeedbackCommand,
|
|
5
|
-
serializeAws_restJson1PutRecommendationFeedbackCommand,
|
|
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 PutRecommendationFeedbackCommandInput extends PutRecommendationFeedbackRequest {}
|
|
21
|
-
export interface PutRecommendationFeedbackCommandOutput extends PutRecommendationFeedbackResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
|
|
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, PutRecommendationFeedbackCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
31
|
-
* // const { CodeGuruReviewerClient, PutRecommendationFeedbackCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
32
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
33
|
-
* const command = new PutRecommendationFeedbackCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link PutRecommendationFeedbackCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link PutRecommendationFeedbackCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class PutRecommendationFeedbackCommand extends $Command<
|
|
43
|
-
PutRecommendationFeedbackCommandInput,
|
|
44
|
-
PutRecommendationFeedbackCommandOutput,
|
|
45
|
-
CodeGuruReviewerClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: PutRecommendationFeedbackCommandInput) {
|
|
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<PutRecommendationFeedbackCommandInput, PutRecommendationFeedbackCommandOutput> {
|
|
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 = "PutRecommendationFeedbackCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: PutRecommendationFeedbackRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: PutRecommendationFeedbackResponse.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: PutRecommendationFeedbackCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1PutRecommendationFeedbackCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<PutRecommendationFeedbackCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1PutRecommendationFeedbackCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1TagResourceCommand,
|
|
5
|
-
serializeAws_restJson1TagResourceCommand,
|
|
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 TagResourceCommandInput extends TagResourceRequest {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Adds one or more tags to an associated 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, TagResourceCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
29
|
-
* // const { CodeGuruReviewerClient, TagResourceCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
30
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
31
|
-
* const command = new TagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class TagResourceCommand extends $Command<
|
|
41
|
-
TagResourceCommandInput,
|
|
42
|
-
TagResourceCommandOutput,
|
|
43
|
-
CodeGuruReviewerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
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<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
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 = "TagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UntagResourceCommand,
|
|
5
|
-
serializeAws_restJson1UntagResourceCommand,
|
|
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 UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Removes a tag from an associated 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, UntagResourceCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
29
|
-
* // const { CodeGuruReviewerClient, UntagResourceCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
30
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
31
|
-
* const command = new UntagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UntagResourceCommand extends $Command<
|
|
41
|
-
UntagResourceCommandInput,
|
|
42
|
-
UntagResourceCommandOutput,
|
|
43
|
-
CodeGuruReviewerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
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 = "UntagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeGuruReviewer.js","sourceRoot":"","sources":["../../CodeGuruReviewer.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,sFAI+C;AAC/C,gFAI4C;AAC5C,oFAI8C;AAC9C,4GAI0D;AAC1D,0GAIyD;AACzD,4FAIkD;AAClD,8EAI2C;AAC3C,oGAIsD;AACtD,sFAI+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;IACH,CAAC;IAkBM,aAAa,CAClB,IAA+B,EAC/B,WAA4F,EAC5F,EAA0D;QAE1D,MAAM,OAAO,GAAG,IAAI,2CAAoB,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,WAAW,EAAE,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;CACF;AA5fD,4CA4fC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CodeGuruReviewerClient = void 0;
|
|
4
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
6
|
-
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
7
|
-
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
8
|
-
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
9
|
-
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
|
-
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
|
-
/**
|
|
14
|
-
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service
|
|
15
|
-
* that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends
|
|
16
|
-
* fixes in your Java and Python code.</p>
|
|
17
|
-
*
|
|
18
|
-
* <p>By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer
|
|
19
|
-
* improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the
|
|
20
|
-
* <i>
|
|
21
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
|
|
22
|
-
* </p>
|
|
23
|
-
*
|
|
24
|
-
* <p>
|
|
25
|
-
* To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC and CodeGuru Reviewer by
|
|
26
|
-
* creating an <i>interface VPC endpoint</i>. For more information, see
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface
|
|
28
|
-
* VPC endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.
|
|
29
|
-
* </p>
|
|
30
|
-
*/
|
|
31
|
-
class CodeGuruReviewerClient extends smithy_client_1.Client {
|
|
32
|
-
constructor(configuration) {
|
|
33
|
-
let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
34
|
-
let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
35
|
-
let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
36
|
-
let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
37
|
-
let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
38
|
-
let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
39
|
-
let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
40
|
-
super(_config_6);
|
|
41
|
-
this.config = _config_6;
|
|
42
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
43
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
44
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
45
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
46
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
47
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
51
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
52
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
53
|
-
*/
|
|
54
|
-
destroy() {
|
|
55
|
-
super.destroy();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
exports.CodeGuruReviewerClient = CodeGuruReviewerClient;
|
|
59
|
-
//# sourceMappingURL=CodeGuruReviewerClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeGuruReviewerClient.js","sourceRoot":"","sources":["../../CodeGuruReviewerClient.ts"],"names":[],"mappings":";;;AAyCA,mDAAyE;AACzE,8DAOkC;AAClC,kFAA4E;AAC5E,4EAKyC;AACzC,kEAA6D;AAC7D,gEAAsH;AACtH,oEAKqC;AACrC,0EAKwC;AAExC,0DAIgC;AA2LhC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,sBAAuB,SAAQ,sBAK3C;IAMC,YAAY,aAA2C;QACrD,IAAI,SAAS,GAAG,gCAAkB,CAAC,aAAa,CAAC,CAAC;QAClD,IAAI,SAAS,GAAG,qCAAmB,CAAC,SAAS,CAAC,CAAC;QAC/C,IAAI,SAAS,GAAG,wCAAsB,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,SAAS,GAAG,qCAAkB,CAAC,SAAS,CAAC,CAAC;QAC9C,IAAI,SAAS,GAAG,gDAAuB,CAAC,SAAS,CAAC,CAAC;QACnD,IAAI,SAAS,GAAG,yCAAoB,CAAC,SAAS,CAAC,CAAC;QAChD,IAAI,SAAS,GAAG,8CAAsB,CAAC,SAAS,CAAC,CAAC;QAClD,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,kDAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9D,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,4CAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3D,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,mCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACvD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,qCAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACxD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,0CAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED;;;;OAIG;IACH,OAAO;QACL,KAAK,CAAC,OAAO,EAAE,CAAC;IAClB,CAAC;CACF;AArCD,wDAqCC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AssociateRepositoryCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Use to associate an Amazon Web Services CodeCommit repository or a repostory managed by
|
|
11
|
-
* Amazon Web Services CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a
|
|
12
|
-
* repository, CodeGuru Reviewer reviews source code changes in the repository's pull requests and provides
|
|
13
|
-
* automatic recommendations. You can view recommendations using the CodeGuru Reviewer console. For more information, see
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html">Recommendations in
|
|
15
|
-
* Amazon CodeGuru Reviewer</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
|
|
16
|
-
* </p>
|
|
17
|
-
*
|
|
18
|
-
* <p>If you associate a CodeCommit or S3 repository, it must be in the same
|
|
19
|
-
* Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.</p>
|
|
20
|
-
*
|
|
21
|
-
* <p>Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar
|
|
22
|
-
* Connections to connect to CodeGuru Reviewer. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-associate-repository.html">Associate a repository</a> in
|
|
23
|
-
* the <i>Amazon CodeGuru Reviewer User Guide.</i>
|
|
24
|
-
* </p>
|
|
25
|
-
*
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>
|
|
28
|
-
* You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with Amazon CodeGuru Reviewer. To associate
|
|
29
|
-
* a GitHub repository, use the console. For more information, see
|
|
30
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html">Getting
|
|
31
|
-
* started with CodeGuru Reviewer</a> in the <i>CodeGuru Reviewer User Guide.</i>
|
|
32
|
-
* </p>
|
|
33
|
-
* </note>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { CodeGuruReviewerClient, AssociateRepositoryCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
|
|
38
|
-
* // const { CodeGuruReviewerClient, AssociateRepositoryCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
|
|
39
|
-
* const client = new CodeGuruReviewerClient(config);
|
|
40
|
-
* const command = new AssociateRepositoryCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link AssociateRepositoryCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link AssociateRepositoryCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link CodeGuruReviewerClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
class AssociateRepositoryCommand extends smithy_client_1.Command {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
constructor(input) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
this.input = input;
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
62
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
64
|
-
const { logger } = configuration;
|
|
65
|
-
const clientName = "CodeGuruReviewerClient";
|
|
66
|
-
const commandName = "AssociateRepositoryCommand";
|
|
67
|
-
const handlerExecutionContext = {
|
|
68
|
-
logger,
|
|
69
|
-
clientName,
|
|
70
|
-
commandName,
|
|
71
|
-
inputFilterSensitiveLog: models_0_1.AssociateRepositoryRequest.filterSensitiveLog,
|
|
72
|
-
outputFilterSensitiveLog: models_0_1.AssociateRepositoryResponse.filterSensitiveLog,
|
|
73
|
-
};
|
|
74
|
-
const { requestHandler } = configuration;
|
|
75
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
76
|
-
}
|
|
77
|
-
serialize(input, context) {
|
|
78
|
-
return Aws_restJson1_1.serializeAws_restJson1AssociateRepositoryCommand(input, context);
|
|
79
|
-
}
|
|
80
|
-
deserialize(output, context) {
|
|
81
|
-
return Aws_restJson1_1.deserializeAws_restJson1AssociateRepositoryCommand(output, context);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
exports.AssociateRepositoryCommand = AssociateRepositoryCommand;
|
|
85
|
-
//# sourceMappingURL=AssociateRepositoryCommand.js.map
|