@aws-sdk/client-codeguru-reviewer 3.477.0 → 3.481.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/dist-cjs/commands/AssociateRepositoryCommand.js +18 -41
- package/dist-cjs/commands/CreateCodeReviewCommand.js +18 -41
- package/dist-cjs/commands/DescribeCodeReviewCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecommendationFeedbackCommand.js +18 -41
- package/dist-cjs/commands/DescribeRepositoryAssociationCommand.js +18 -41
- package/dist-cjs/commands/DisassociateRepositoryCommand.js +18 -41
- package/dist-cjs/commands/ListCodeReviewsCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendationFeedbackCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ListRepositoryAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutRecommendationFeedbackCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListCodeReviewsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecommendationFeedbackPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRepositoryAssociationsPaginator.js +2 -24
- package/dist-es/commands/AssociateRepositoryCommand.js +18 -41
- package/dist-es/commands/CreateCodeReviewCommand.js +18 -41
- package/dist-es/commands/DescribeCodeReviewCommand.js +18 -41
- package/dist-es/commands/DescribeRecommendationFeedbackCommand.js +18 -41
- package/dist-es/commands/DescribeRepositoryAssociationCommand.js +18 -41
- package/dist-es/commands/DisassociateRepositoryCommand.js +18 -41
- package/dist-es/commands/ListCodeReviewsCommand.js +18 -41
- package/dist-es/commands/ListRecommendationFeedbackCommand.js +18 -41
- package/dist-es/commands/ListRecommendationsCommand.js +18 -41
- package/dist-es/commands/ListRepositoryAssociationsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutRecommendationFeedbackCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListCodeReviewsPaginator.js +2 -23
- package/dist-es/pagination/ListRecommendationFeedbackPaginator.js +2 -23
- package/dist-es/pagination/ListRecommendationsPaginator.js +2 -23
- package/dist-es/pagination/ListRepositoryAssociationsPaginator.js +2 -23
- package/dist-types/commands/AssociateRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCodeReviewCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListCodeReviewsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationFeedbackPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRepositoryAssociationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateRepositoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeRecommendationFeedbackCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateRepositoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListCodeReviewsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecommendationFeedbackPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRepositoryAssociationsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_PutRecommendationFeedbackCommand, se_PutRecommendationFeedbackCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PutRecommendationFeedbackCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeGuruReviewerClient";
|
|
26
|
-
const commandName = "PutRecommendationFeedbackCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSGuruFrontendService",
|
|
35
|
-
operation: "PutRecommendationFeedback",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_PutRecommendationFeedbackCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PutRecommendationFeedbackCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PutRecommendationFeedbackCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSGuruFrontendService", "PutRecommendationFeedback", {})
|
|
19
|
+
.n("CodeGuruReviewerClient", "PutRecommendationFeedbackCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutRecommendationFeedbackCommand)
|
|
22
|
+
.de(de_PutRecommendationFeedbackCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeGuruReviewerClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSGuruFrontendService",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSGuruFrontendService", "TagResource", {})
|
|
19
|
+
.n("CodeGuruReviewerClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeGuruReviewerClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSGuruFrontendService",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSGuruFrontendService", "UntagResource", {})
|
|
19
|
+
.n("CodeGuruReviewerClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "codeguru-reviewer",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
2
3
|
import { ListCodeReviewsCommand, } from "../commands/ListCodeReviewsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCodeReviewsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCodeReviews(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeGuruReviewerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeGuruReviewer | CodeGuruReviewerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCodeReviews = createPaginator(CodeGuruReviewerClient, ListCodeReviewsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
2
3
|
import { ListRecommendationFeedbackCommand, } from "../commands/ListRecommendationFeedbackCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRecommendationFeedbackCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRecommendationFeedback(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeGuruReviewerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeGuruReviewer | CodeGuruReviewerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRecommendationFeedback = createPaginator(CodeGuruReviewerClient, ListRecommendationFeedbackCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
2
3
|
import { ListRecommendationsCommand, } from "../commands/ListRecommendationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRecommendationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRecommendations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeGuruReviewerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeGuruReviewer | CodeGuruReviewerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRecommendations = createPaginator(CodeGuruReviewerClient, ListRecommendationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
2
3
|
import { ListRepositoryAssociationsCommand, } from "../commands/ListRepositoryAssociationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRepositoryAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRepositoryAssociations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeGuruReviewerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeGuruReviewer | CodeGuruReviewerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRepositoryAssociations = createPaginator(CodeGuruReviewerClient, ListRepositoryAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
5
4
|
import { AssociateRepositoryRequest, AssociateRepositoryResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateRepositoryCommandInput extends AssociateRepositoryRequ
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateRepositoryCommandOutput extends AssociateRepositoryResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateRepositoryCommand_base: {
|
|
24
|
+
new (input: AssociateRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateRepositoryCommandInput, AssociateRepositoryCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services
|
|
@@ -138,23 +141,5 @@ export interface AssociateRepositoryCommandOutput extends AssociateRepositoryRes
|
|
|
138
141
|
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
139
142
|
*
|
|
140
143
|
*/
|
|
141
|
-
export declare class AssociateRepositoryCommand extends
|
|
142
|
-
readonly input: AssociateRepositoryCommandInput;
|
|
143
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
144
|
-
/**
|
|
145
|
-
* @public
|
|
146
|
-
*/
|
|
147
|
-
constructor(input: AssociateRepositoryCommandInput);
|
|
148
|
-
/**
|
|
149
|
-
* @internal
|
|
150
|
-
*/
|
|
151
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateRepositoryCommandInput, AssociateRepositoryCommandOutput>;
|
|
152
|
-
/**
|
|
153
|
-
* @internal
|
|
154
|
-
*/
|
|
155
|
-
private serialize;
|
|
156
|
-
/**
|
|
157
|
-
* @internal
|
|
158
|
-
*/
|
|
159
|
-
private deserialize;
|
|
144
|
+
export declare class AssociateRepositoryCommand extends AssociateRepositoryCommand_base {
|
|
160
145
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
5
4
|
import { CreateCodeReviewRequest, CreateCodeReviewResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateCodeReviewCommandInput extends CreateCodeReviewRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateCodeReviewCommand_base: {
|
|
24
|
+
new (input: CreateCodeReviewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Use to create a code review with a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html">CodeReviewType</a> of
|
|
@@ -174,23 +177,5 @@ export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse,
|
|
|
174
177
|
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
175
178
|
*
|
|
176
179
|
*/
|
|
177
|
-
export declare class CreateCodeReviewCommand extends
|
|
178
|
-
readonly input: CreateCodeReviewCommandInput;
|
|
179
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
180
|
-
/**
|
|
181
|
-
* @public
|
|
182
|
-
*/
|
|
183
|
-
constructor(input: CreateCodeReviewCommandInput);
|
|
184
|
-
/**
|
|
185
|
-
* @internal
|
|
186
|
-
*/
|
|
187
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput>;
|
|
188
|
-
/**
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
private serialize;
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
|
-
private deserialize;
|
|
180
|
+
export declare class CreateCodeReviewCommand extends CreateCodeReviewCommand_base {
|
|
196
181
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
5
4
|
import { DescribeCodeReviewRequest, DescribeCodeReviewResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeCodeReviewCommandInput extends DescribeCodeReviewReques
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeCodeReviewCommandOutput extends DescribeCodeReviewResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeCodeReviewCommand_base: {
|
|
24
|
+
new (input: DescribeCodeReviewCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCodeReviewCommandInput, DescribeCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns the metadata associated with the code review along with its status.</p>
|
|
@@ -121,23 +124,5 @@ export interface DescribeCodeReviewCommandOutput extends DescribeCodeReviewRespo
|
|
|
121
124
|
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
122
125
|
*
|
|
123
126
|
*/
|
|
124
|
-
export declare class DescribeCodeReviewCommand extends
|
|
125
|
-
readonly input: DescribeCodeReviewCommandInput;
|
|
126
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
127
|
-
/**
|
|
128
|
-
* @public
|
|
129
|
-
*/
|
|
130
|
-
constructor(input: DescribeCodeReviewCommandInput);
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeCodeReviewCommandInput, DescribeCodeReviewCommandOutput>;
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
|
-
private serialize;
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
*/
|
|
142
|
-
private deserialize;
|
|
127
|
+
export declare class DescribeCodeReviewCommand extends DescribeCodeReviewCommand_base {
|
|
143
128
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
5
4
|
import { DescribeRecommendationFeedbackRequest, DescribeRecommendationFeedbackResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeRecommendationFeedbackCommandInput extends DescribeReco
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeRecommendationFeedbackCommandOutput extends DescribeRecommendationFeedbackResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeRecommendationFeedbackCommand_base: {
|
|
24
|
+
new (input: DescribeRecommendationFeedbackCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeRecommendationFeedbackCommandInput, DescribeRecommendationFeedbackCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Describes the customer feedback for a CodeGuru Reviewer recommendation.</p>
|
|
@@ -77,23 +80,5 @@ export interface DescribeRecommendationFeedbackCommandOutput extends DescribeRec
|
|
|
77
80
|
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
78
81
|
*
|
|
79
82
|
*/
|
|
80
|
-
export declare class DescribeRecommendationFeedbackCommand extends
|
|
81
|
-
readonly input: DescribeRecommendationFeedbackCommandInput;
|
|
82
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
-
/**
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
constructor(input: DescribeRecommendationFeedbackCommandInput);
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRecommendationFeedbackCommandInput, DescribeRecommendationFeedbackCommandOutput>;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
private serialize;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
private deserialize;
|
|
83
|
+
export declare class DescribeRecommendationFeedbackCommand extends DescribeRecommendationFeedbackCommand_base {
|
|
99
84
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
5
4
|
import { DescribeRepositoryAssociationRequest, DescribeRepositoryAssociationResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeRepositoryAssociationCommandInput extends DescribeRepos
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeRepositoryAssociationCommandOutput extends DescribeRepositoryAssociationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeRepositoryAssociationCommand_base: {
|
|
24
|
+
new (input: DescribeRepositoryAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeRepositoryAssociationCommandInput, DescribeRepositoryAssociationCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html">RepositoryAssociation</a> object that contains information about the requested
|
|
@@ -92,23 +95,5 @@ export interface DescribeRepositoryAssociationCommandOutput extends DescribeRepo
|
|
|
92
95
|
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
93
96
|
*
|
|
94
97
|
*/
|
|
95
|
-
export declare class DescribeRepositoryAssociationCommand extends
|
|
96
|
-
readonly input: DescribeRepositoryAssociationCommandInput;
|
|
97
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
-
/**
|
|
99
|
-
* @public
|
|
100
|
-
*/
|
|
101
|
-
constructor(input: DescribeRepositoryAssociationCommandInput);
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRepositoryAssociationCommandInput, DescribeRepositoryAssociationCommandOutput>;
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
private serialize;
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
private deserialize;
|
|
98
|
+
export declare class DescribeRepositoryAssociationCommand extends DescribeRepositoryAssociationCommand_base {
|
|
114
99
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
5
4
|
import { DisassociateRepositoryRequest, DisassociateRepositoryResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DisassociateRepositoryCommandInput extends DisassociateReposito
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DisassociateRepositoryCommandOutput extends DisassociateRepositoryResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DisassociateRepositoryCommand_base: {
|
|
24
|
+
new (input: DisassociateRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateRepositoryCommandInput, DisassociateRepositoryCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Removes the association between Amazon CodeGuru Reviewer and a repository.</p>
|
|
@@ -96,23 +99,5 @@ export interface DisassociateRepositoryCommandOutput extends DisassociateReposit
|
|
|
96
99
|
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
97
100
|
*
|
|
98
101
|
*/
|
|
99
|
-
export declare class DisassociateRepositoryCommand extends
|
|
100
|
-
readonly input: DisassociateRepositoryCommandInput;
|
|
101
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
102
|
-
/**
|
|
103
|
-
* @public
|
|
104
|
-
*/
|
|
105
|
-
constructor(input: DisassociateRepositoryCommandInput);
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateRepositoryCommandInput, DisassociateRepositoryCommandOutput>;
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
private serialize;
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
|
-
private deserialize;
|
|
102
|
+
export declare class DisassociateRepositoryCommand extends DisassociateRepositoryCommand_base {
|
|
118
103
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
5
4
|
import { ListCodeReviewsRequest, ListCodeReviewsResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListCodeReviewsCommandInput extends ListCodeReviewsRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListCodeReviewsCommandOutput extends ListCodeReviewsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListCodeReviewsCommand_base: {
|
|
24
|
+
new (input: ListCodeReviewsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCodeReviewsCommandInput, ListCodeReviewsCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Lists all the code reviews that the customer has created in the past 90 days.</p>
|
|
@@ -126,23 +129,5 @@ export interface ListCodeReviewsCommandOutput extends ListCodeReviewsResponse, _
|
|
|
126
129
|
* <p>Base exception class for all service exceptions from CodeGuruReviewer service.</p>
|
|
127
130
|
*
|
|
128
131
|
*/
|
|
129
|
-
export declare class ListCodeReviewsCommand extends
|
|
130
|
-
readonly input: ListCodeReviewsCommandInput;
|
|
131
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
132
|
-
/**
|
|
133
|
-
* @public
|
|
134
|
-
*/
|
|
135
|
-
constructor(input: ListCodeReviewsCommandInput);
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCodeReviewsCommandInput, ListCodeReviewsCommandOutput>;
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
private serialize;
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
|
-
private deserialize;
|
|
132
|
+
export declare class ListCodeReviewsCommand extends ListCodeReviewsCommand_base {
|
|
148
133
|
}
|