@aws-sdk/client-codebuild 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/BatchDeleteBuildsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetBuildBatchesCommand.js +18 -41
- package/dist-cjs/commands/BatchGetBuildsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetProjectsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetReportGroupsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetReportsCommand.js +18 -41
- package/dist-cjs/commands/CreateProjectCommand.js +18 -41
- package/dist-cjs/commands/CreateReportGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateWebhookCommand.js +18 -41
- package/dist-cjs/commands/DeleteBuildBatchCommand.js +18 -41
- package/dist-cjs/commands/DeleteProjectCommand.js +18 -41
- package/dist-cjs/commands/DeleteReportCommand.js +18 -41
- package/dist-cjs/commands/DeleteReportGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteSourceCredentialsCommand.js +18 -41
- package/dist-cjs/commands/DeleteWebhookCommand.js +18 -41
- package/dist-cjs/commands/DescribeCodeCoveragesCommand.js +18 -41
- package/dist-cjs/commands/DescribeTestCasesCommand.js +18 -41
- package/dist-cjs/commands/GetReportGroupTrendCommand.js +18 -41
- package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/ImportSourceCredentialsCommand.js +18 -41
- package/dist-cjs/commands/InvalidateProjectCacheCommand.js +18 -41
- package/dist-cjs/commands/ListBuildBatchesCommand.js +18 -41
- package/dist-cjs/commands/ListBuildBatchesForProjectCommand.js +18 -41
- package/dist-cjs/commands/ListBuildsCommand.js +18 -41
- package/dist-cjs/commands/ListBuildsForProjectCommand.js +18 -41
- package/dist-cjs/commands/ListCuratedEnvironmentImagesCommand.js +18 -41
- package/dist-cjs/commands/ListProjectsCommand.js +18 -41
- package/dist-cjs/commands/ListReportGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListReportsCommand.js +18 -41
- package/dist-cjs/commands/ListReportsForReportGroupCommand.js +18 -41
- package/dist-cjs/commands/ListSharedProjectsCommand.js +18 -41
- package/dist-cjs/commands/ListSharedReportGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListSourceCredentialsCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/RetryBuildBatchCommand.js +18 -41
- package/dist-cjs/commands/RetryBuildCommand.js +18 -41
- package/dist-cjs/commands/StartBuildBatchCommand.js +18 -41
- package/dist-cjs/commands/StartBuildCommand.js +18 -41
- package/dist-cjs/commands/StopBuildBatchCommand.js +18 -41
- package/dist-cjs/commands/StopBuildCommand.js +18 -41
- package/dist-cjs/commands/UpdateProjectCommand.js +18 -41
- package/dist-cjs/commands/UpdateProjectVisibilityCommand.js +18 -41
- package/dist-cjs/commands/UpdateReportGroupCommand.js +18 -41
- package/dist-cjs/commands/UpdateWebhookCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeCodeCoveragesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeTestCasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListBuildBatchesForProjectPaginator.js +2 -24
- package/dist-cjs/pagination/ListBuildBatchesPaginator.js +2 -24
- package/dist-cjs/pagination/ListBuildsForProjectPaginator.js +2 -23
- package/dist-cjs/pagination/ListBuildsPaginator.js +2 -23
- package/dist-cjs/pagination/ListProjectsPaginator.js +2 -23
- package/dist-cjs/pagination/ListReportGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReportsForReportGroupPaginator.js +2 -24
- package/dist-cjs/pagination/ListReportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSharedProjectsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSharedReportGroupsPaginator.js +2 -24
- package/dist-es/commands/BatchDeleteBuildsCommand.js +18 -41
- package/dist-es/commands/BatchGetBuildBatchesCommand.js +18 -41
- package/dist-es/commands/BatchGetBuildsCommand.js +18 -41
- package/dist-es/commands/BatchGetProjectsCommand.js +18 -41
- package/dist-es/commands/BatchGetReportGroupsCommand.js +18 -41
- package/dist-es/commands/BatchGetReportsCommand.js +18 -41
- package/dist-es/commands/CreateProjectCommand.js +18 -41
- package/dist-es/commands/CreateReportGroupCommand.js +18 -41
- package/dist-es/commands/CreateWebhookCommand.js +18 -41
- package/dist-es/commands/DeleteBuildBatchCommand.js +18 -41
- package/dist-es/commands/DeleteProjectCommand.js +18 -41
- package/dist-es/commands/DeleteReportCommand.js +18 -41
- package/dist-es/commands/DeleteReportGroupCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteSourceCredentialsCommand.js +18 -41
- package/dist-es/commands/DeleteWebhookCommand.js +18 -41
- package/dist-es/commands/DescribeCodeCoveragesCommand.js +18 -41
- package/dist-es/commands/DescribeTestCasesCommand.js +18 -41
- package/dist-es/commands/GetReportGroupTrendCommand.js +18 -41
- package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-es/commands/ImportSourceCredentialsCommand.js +18 -41
- package/dist-es/commands/InvalidateProjectCacheCommand.js +18 -41
- package/dist-es/commands/ListBuildBatchesCommand.js +18 -41
- package/dist-es/commands/ListBuildBatchesForProjectCommand.js +18 -41
- package/dist-es/commands/ListBuildsCommand.js +18 -41
- package/dist-es/commands/ListBuildsForProjectCommand.js +18 -41
- package/dist-es/commands/ListCuratedEnvironmentImagesCommand.js +18 -41
- package/dist-es/commands/ListProjectsCommand.js +18 -41
- package/dist-es/commands/ListReportGroupsCommand.js +18 -41
- package/dist-es/commands/ListReportsCommand.js +18 -41
- package/dist-es/commands/ListReportsForReportGroupCommand.js +18 -41
- package/dist-es/commands/ListSharedProjectsCommand.js +18 -41
- package/dist-es/commands/ListSharedReportGroupsCommand.js +18 -41
- package/dist-es/commands/ListSourceCredentialsCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/RetryBuildBatchCommand.js +18 -41
- package/dist-es/commands/RetryBuildCommand.js +18 -41
- package/dist-es/commands/StartBuildBatchCommand.js +18 -41
- package/dist-es/commands/StartBuildCommand.js +18 -41
- package/dist-es/commands/StopBuildBatchCommand.js +18 -41
- package/dist-es/commands/StopBuildCommand.js +18 -41
- package/dist-es/commands/UpdateProjectCommand.js +18 -41
- package/dist-es/commands/UpdateProjectVisibilityCommand.js +18 -41
- package/dist-es/commands/UpdateReportGroupCommand.js +18 -41
- package/dist-es/commands/UpdateWebhookCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeCodeCoveragesPaginator.js +2 -23
- package/dist-es/pagination/DescribeTestCasesPaginator.js +2 -23
- package/dist-es/pagination/ListBuildBatchesForProjectPaginator.js +2 -23
- package/dist-es/pagination/ListBuildBatchesPaginator.js +2 -23
- package/dist-es/pagination/ListBuildsForProjectPaginator.js +2 -22
- package/dist-es/pagination/ListBuildsPaginator.js +2 -22
- package/dist-es/pagination/ListProjectsPaginator.js +2 -22
- package/dist-es/pagination/ListReportGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListReportsForReportGroupPaginator.js +2 -23
- package/dist-es/pagination/ListReportsPaginator.js +2 -23
- package/dist-es/pagination/ListSharedProjectsPaginator.js +2 -23
- package/dist-es/pagination/ListSharedReportGroupsPaginator.js +2 -23
- package/dist-types/commands/BatchDeleteBuildsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetBuildsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetReportsCommand.d.ts +6 -21
- package/dist-types/commands/CreateProjectCommand.d.ts +6 -21
- package/dist-types/commands/CreateReportGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateWebhookCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBuildBatchCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProjectCommand.d.ts +6 -21
- package/dist-types/commands/DeleteReportCommand.d.ts +6 -21
- package/dist-types/commands/DeleteReportGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSourceCredentialsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWebhookCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTestCasesCommand.d.ts +6 -21
- package/dist-types/commands/GetReportGroupTrendCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +6 -21
- package/dist-types/commands/InvalidateProjectCacheCommand.d.ts +6 -21
- package/dist-types/commands/ListBuildBatchesCommand.d.ts +6 -21
- package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +6 -21
- package/dist-types/commands/ListBuildsCommand.d.ts +6 -21
- package/dist-types/commands/ListBuildsForProjectCommand.d.ts +6 -21
- package/dist-types/commands/ListCuratedEnvironmentImagesCommand.d.ts +6 -21
- package/dist-types/commands/ListProjectsCommand.d.ts +6 -21
- package/dist-types/commands/ListReportGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListReportsCommand.d.ts +6 -21
- package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +6 -21
- package/dist-types/commands/ListSharedProjectsCommand.d.ts +6 -21
- package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListSourceCredentialsCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/RetryBuildBatchCommand.d.ts +6 -21
- package/dist-types/commands/RetryBuildCommand.d.ts +6 -21
- package/dist-types/commands/StartBuildBatchCommand.d.ts +6 -21
- package/dist-types/commands/StartBuildCommand.d.ts +6 -21
- package/dist-types/commands/StopBuildBatchCommand.d.ts +6 -21
- package/dist-types/commands/StopBuildCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProjectCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReportGroupCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWebhookCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeCodeCoveragesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTestCasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBuildBatchesForProjectPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBuildBatchesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBuildsForProjectPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBuildsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReportGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReportsForReportGroupPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSharedProjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSharedReportGroupsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchDeleteBuildsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchGetBuildBatchesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetBuildsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchGetProjectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchGetReportGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetReportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateReportGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBuildBatchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteReportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteReportGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSourceCredentialsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCodeCoveragesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTestCasesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetReportGroupTrendCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportSourceCredentialsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/InvalidateProjectCacheCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBuildBatchesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBuildBatchesForProjectCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBuildsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBuildsForProjectCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCuratedEnvironmentImagesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListReportGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListReportsForReportGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSharedProjectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSharedReportGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSourceCredentialsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RetryBuildBatchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RetryBuildCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartBuildBatchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartBuildCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopBuildBatchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopBuildCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateProjectVisibilityCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateReportGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateWebhookCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeCodeCoveragesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTestCasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBuildBatchesForProjectPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBuildBatchesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBuildsForProjectPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBuildsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReportGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReportsForReportGroupPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSharedProjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSharedReportGroupsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -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_StopBuildBatchCommand, se_StopBuildBatchCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopBuildBatchCommand 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 = "CodeBuildClient";
|
|
26
|
-
const commandName = "StopBuildBatchCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeBuild_20161006",
|
|
35
|
-
operation: "StopBuildBatch",
|
|
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_StopBuildBatchCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopBuildBatchCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopBuildBatchCommand 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("CodeBuild_20161006", "StopBuildBatch", {})
|
|
19
|
+
.n("CodeBuildClient", "StopBuildBatchCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopBuildBatchCommand)
|
|
22
|
+
.de(de_StopBuildBatchCommand)
|
|
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_StopBuildCommand, se_StopBuildCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopBuildCommand 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 = "CodeBuildClient";
|
|
26
|
-
const commandName = "StopBuildCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeBuild_20161006",
|
|
35
|
-
operation: "StopBuild",
|
|
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_StopBuildCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopBuildCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopBuildCommand 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("CodeBuild_20161006", "StopBuild", {})
|
|
19
|
+
.n("CodeBuildClient", "StopBuildCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopBuildCommand)
|
|
22
|
+
.de(de_StopBuildCommand)
|
|
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_UpdateProjectCommand, se_UpdateProjectCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateProjectCommand 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 = "CodeBuildClient";
|
|
26
|
-
const commandName = "UpdateProjectCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeBuild_20161006",
|
|
35
|
-
operation: "UpdateProject",
|
|
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_UpdateProjectCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateProjectCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateProjectCommand 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("CodeBuild_20161006", "UpdateProject", {})
|
|
19
|
+
.n("CodeBuildClient", "UpdateProjectCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateProjectCommand)
|
|
22
|
+
.de(de_UpdateProjectCommand)
|
|
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_UpdateProjectVisibilityCommand, se_UpdateProjectVisibilityCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateProjectVisibilityCommand 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 = "CodeBuildClient";
|
|
26
|
-
const commandName = "UpdateProjectVisibilityCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeBuild_20161006",
|
|
35
|
-
operation: "UpdateProjectVisibility",
|
|
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_UpdateProjectVisibilityCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateProjectVisibilityCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateProjectVisibilityCommand 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("CodeBuild_20161006", "UpdateProjectVisibility", {})
|
|
19
|
+
.n("CodeBuildClient", "UpdateProjectVisibilityCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateProjectVisibilityCommand)
|
|
22
|
+
.de(de_UpdateProjectVisibilityCommand)
|
|
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_UpdateReportGroupCommand, se_UpdateReportGroupCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateReportGroupCommand 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 = "CodeBuildClient";
|
|
26
|
-
const commandName = "UpdateReportGroupCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeBuild_20161006",
|
|
35
|
-
operation: "UpdateReportGroup",
|
|
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_UpdateReportGroupCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateReportGroupCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateReportGroupCommand 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("CodeBuild_20161006", "UpdateReportGroup", {})
|
|
19
|
+
.n("CodeBuildClient", "UpdateReportGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateReportGroupCommand)
|
|
22
|
+
.de(de_UpdateReportGroupCommand)
|
|
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_UpdateWebhookCommand, se_UpdateWebhookCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateWebhookCommand 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 = "CodeBuildClient";
|
|
26
|
-
const commandName = "UpdateWebhookCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeBuild_20161006",
|
|
35
|
-
operation: "UpdateWebhook",
|
|
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_UpdateWebhookCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateWebhookCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateWebhookCommand 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("CodeBuild_20161006", "UpdateWebhook", {})
|
|
19
|
+
.n("CodeBuildClient", "UpdateWebhookCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateWebhookCommand)
|
|
22
|
+
.de(de_UpdateWebhookCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "codebuild",
|
|
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 { CodeBuildClient } from "../CodeBuildClient";
|
|
2
3
|
import { DescribeCodeCoveragesCommand, } from "../commands/DescribeCodeCoveragesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeCodeCoveragesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeCodeCoverages(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 CodeBuildClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
|
|
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 paginateDescribeCodeCoverages = createPaginator(CodeBuildClient, DescribeCodeCoveragesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeBuildClient } from "../CodeBuildClient";
|
|
2
3
|
import { DescribeTestCasesCommand, } from "../commands/DescribeTestCasesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeTestCasesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeTestCases(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 CodeBuildClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
|
|
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 paginateDescribeTestCases = createPaginator(CodeBuildClient, DescribeTestCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeBuildClient } from "../CodeBuildClient";
|
|
2
3
|
import { ListBuildBatchesForProjectCommand, } from "../commands/ListBuildBatchesForProjectCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBuildBatchesForProjectCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBuildBatchesForProject(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 CodeBuildClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
|
|
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 paginateListBuildBatchesForProject = createPaginator(CodeBuildClient, ListBuildBatchesForProjectCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeBuildClient } from "../CodeBuildClient";
|
|
2
3
|
import { ListBuildBatchesCommand, } from "../commands/ListBuildBatchesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBuildBatchesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBuildBatches(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 CodeBuildClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
|
|
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 paginateListBuildBatches = createPaginator(CodeBuildClient, ListBuildBatchesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeBuildClient } from "../CodeBuildClient";
|
|
2
3
|
import { ListBuildsForProjectCommand, } from "../commands/ListBuildsForProjectCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBuildsForProjectCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBuildsForProject(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof CodeBuildClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListBuildsForProject = createPaginator(CodeBuildClient, ListBuildsForProjectCommand, "nextToken", "nextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeBuildClient } from "../CodeBuildClient";
|
|
2
3
|
import { ListBuildsCommand } from "../commands/ListBuildsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBuildsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBuilds(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof CodeBuildClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListBuilds = createPaginator(CodeBuildClient, ListBuildsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeBuildClient } from "../CodeBuildClient";
|
|
2
3
|
import { ListProjectsCommand, } from "../commands/ListProjectsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProjectsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProjects(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof CodeBuildClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListProjects = createPaginator(CodeBuildClient, ListProjectsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeBuildClient } from "../CodeBuildClient";
|
|
2
3
|
import { ListReportGroupsCommand, } from "../commands/ListReportGroupsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReportGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReportGroups(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 CodeBuildClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodeBuild | CodeBuildClient");
|
|
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 paginateListReportGroups = createPaginator(CodeBuildClient, ListReportGroupsCommand, "nextToken", "nextToken", "maxResults");
|