@aws-sdk/client-codebuild 3.495.0 → 3.499.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.
Files changed (55) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/commands/BatchGetFleetsCommand.js +1 -0
  3. package/dist-cjs/commands/CreateFleetCommand.js +1 -0
  4. package/dist-cjs/commands/DeleteFleetCommand.js +1 -0
  5. package/dist-cjs/commands/ListFleetsCommand.js +1 -0
  6. package/dist-cjs/commands/UpdateFleetCommand.js +1 -0
  7. package/dist-cjs/index.js +498 -52
  8. package/dist-cjs/pagination/ListFleetsPaginator.js +1 -0
  9. package/dist-es/CodeBuild.js +10 -0
  10. package/dist-es/commands/BatchGetFleetsCommand.js +24 -0
  11. package/dist-es/commands/CreateFleetCommand.js +24 -0
  12. package/dist-es/commands/DeleteFleetCommand.js +24 -0
  13. package/dist-es/commands/ListFleetsCommand.js +25 -0
  14. package/dist-es/commands/UpdateFleetCommand.js +24 -0
  15. package/dist-es/commands/index.js +5 -0
  16. package/dist-es/models/models_0.js +28 -0
  17. package/dist-es/pagination/ListFleetsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_json1_1.js +303 -0
  20. package/dist-types/CodeBuild.d.ts +35 -0
  21. package/dist-types/CodeBuildClient.d.ts +7 -2
  22. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +3 -0
  23. package/dist-types/commands/BatchGetBuildsCommand.d.ts +3 -0
  24. package/dist-types/commands/BatchGetFleetsCommand.d.ts +99 -0
  25. package/dist-types/commands/BatchGetProjectsCommand.d.ts +3 -0
  26. package/dist-types/commands/CreateFleetCommand.d.ts +118 -0
  27. package/dist-types/commands/CreateProjectCommand.d.ts +6 -0
  28. package/dist-types/commands/DeleteFleetCommand.d.ts +59 -0
  29. package/dist-types/commands/ListFleetsCommand.d.ts +67 -0
  30. package/dist-types/commands/RetryBuildBatchCommand.d.ts +3 -0
  31. package/dist-types/commands/RetryBuildCommand.d.ts +3 -0
  32. package/dist-types/commands/StartBuildBatchCommand.d.ts +3 -0
  33. package/dist-types/commands/StartBuildCommand.d.ts +6 -0
  34. package/dist-types/commands/StopBuildBatchCommand.d.ts +3 -0
  35. package/dist-types/commands/StopBuildCommand.d.ts +3 -0
  36. package/dist-types/commands/UpdateFleetCommand.d.ts +117 -0
  37. package/dist-types/commands/UpdateProjectCommand.d.ts +6 -0
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/models/models_0.d.ts +843 -57
  40. package/dist-types/pagination/ListFleetsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  43. package/dist-types/ts3.4/CodeBuild.d.ts +85 -0
  44. package/dist-types/ts3.4/CodeBuildClient.d.ts +30 -0
  45. package/dist-types/ts3.4/commands/BatchGetFleetsCommand.d.ts +26 -0
  46. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +26 -0
  47. package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +26 -0
  48. package/dist-types/ts3.4/commands/ListFleetsCommand.d.ts +26 -0
  49. package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +26 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +129 -11
  52. package/dist-types/ts3.4/pagination/ListFleetsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  55. package/package.json +39 -39
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
@@ -3,13 +3,16 @@ import { CodeBuildClient } from "./CodeBuildClient";
3
3
  import { BatchDeleteBuildsCommand, } from "./commands/BatchDeleteBuildsCommand";
4
4
  import { BatchGetBuildBatchesCommand, } from "./commands/BatchGetBuildBatchesCommand";
5
5
  import { BatchGetBuildsCommand, } from "./commands/BatchGetBuildsCommand";
6
+ import { BatchGetFleetsCommand, } from "./commands/BatchGetFleetsCommand";
6
7
  import { BatchGetProjectsCommand, } from "./commands/BatchGetProjectsCommand";
7
8
  import { BatchGetReportGroupsCommand, } from "./commands/BatchGetReportGroupsCommand";
8
9
  import { BatchGetReportsCommand, } from "./commands/BatchGetReportsCommand";
10
+ import { CreateFleetCommand } from "./commands/CreateFleetCommand";
9
11
  import { CreateProjectCommand, } from "./commands/CreateProjectCommand";
10
12
  import { CreateReportGroupCommand, } from "./commands/CreateReportGroupCommand";
11
13
  import { CreateWebhookCommand, } from "./commands/CreateWebhookCommand";
12
14
  import { DeleteBuildBatchCommand, } from "./commands/DeleteBuildBatchCommand";
15
+ import { DeleteFleetCommand } from "./commands/DeleteFleetCommand";
13
16
  import { DeleteProjectCommand, } from "./commands/DeleteProjectCommand";
14
17
  import { DeleteReportCommand, } from "./commands/DeleteReportCommand";
15
18
  import { DeleteReportGroupCommand, } from "./commands/DeleteReportGroupCommand";
@@ -27,6 +30,7 @@ import { ListBuildBatchesForProjectCommand, } from "./commands/ListBuildBatchesF
27
30
  import { ListBuildsCommand } from "./commands/ListBuildsCommand";
28
31
  import { ListBuildsForProjectCommand, } from "./commands/ListBuildsForProjectCommand";
29
32
  import { ListCuratedEnvironmentImagesCommand, } from "./commands/ListCuratedEnvironmentImagesCommand";
33
+ import { ListFleetsCommand } from "./commands/ListFleetsCommand";
30
34
  import { ListProjectsCommand, } from "./commands/ListProjectsCommand";
31
35
  import { ListReportGroupsCommand, } from "./commands/ListReportGroupsCommand";
32
36
  import { ListReportsCommand } from "./commands/ListReportsCommand";
@@ -41,6 +45,7 @@ import { StartBuildBatchCommand, } from "./commands/StartBuildBatchCommand";
41
45
  import { StartBuildCommand } from "./commands/StartBuildCommand";
42
46
  import { StopBuildBatchCommand, } from "./commands/StopBuildBatchCommand";
43
47
  import { StopBuildCommand } from "./commands/StopBuildCommand";
48
+ import { UpdateFleetCommand } from "./commands/UpdateFleetCommand";
44
49
  import { UpdateProjectCommand, } from "./commands/UpdateProjectCommand";
45
50
  import { UpdateProjectVisibilityCommand, } from "./commands/UpdateProjectVisibilityCommand";
46
51
  import { UpdateReportGroupCommand, } from "./commands/UpdateReportGroupCommand";
@@ -49,13 +54,16 @@ const commands = {
49
54
  BatchDeleteBuildsCommand,
50
55
  BatchGetBuildBatchesCommand,
51
56
  BatchGetBuildsCommand,
57
+ BatchGetFleetsCommand,
52
58
  BatchGetProjectsCommand,
53
59
  BatchGetReportGroupsCommand,
54
60
  BatchGetReportsCommand,
61
+ CreateFleetCommand,
55
62
  CreateProjectCommand,
56
63
  CreateReportGroupCommand,
57
64
  CreateWebhookCommand,
58
65
  DeleteBuildBatchCommand,
66
+ DeleteFleetCommand,
59
67
  DeleteProjectCommand,
60
68
  DeleteReportCommand,
61
69
  DeleteReportGroupCommand,
@@ -73,6 +81,7 @@ const commands = {
73
81
  ListBuildsCommand,
74
82
  ListBuildsForProjectCommand,
75
83
  ListCuratedEnvironmentImagesCommand,
84
+ ListFleetsCommand,
76
85
  ListProjectsCommand,
77
86
  ListReportGroupsCommand,
78
87
  ListReportsCommand,
@@ -87,6 +96,7 @@ const commands = {
87
96
  StartBuildBatchCommand,
88
97
  StopBuildCommand,
89
98
  StopBuildBatchCommand,
99
+ UpdateFleetCommand,
90
100
  UpdateProjectCommand,
91
101
  UpdateProjectVisibilityCommand,
92
102
  UpdateReportGroupCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_BatchGetFleetsCommand, se_BatchGetFleetsCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class BatchGetFleetsCommand 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", "BatchGetFleets", {})
19
+ .n("CodeBuildClient", "BatchGetFleetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetFleetsCommand)
22
+ .de(de_BatchGetFleetsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateFleetCommand, se_CreateFleetCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class CreateFleetCommand 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", "CreateFleet", {})
19
+ .n("CodeBuildClient", "CreateFleetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateFleetCommand)
22
+ .de(de_CreateFleetCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteFleetCommand, se_DeleteFleetCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DeleteFleetCommand 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", "DeleteFleet", {})
19
+ .n("CodeBuildClient", "DeleteFleetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteFleetCommand)
22
+ .de(de_DeleteFleetCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListFleetsInputFilterSensitiveLog } from "../models/models_0";
6
+ import { de_ListFleetsCommand, se_ListFleetsCommand } from "../protocols/Aws_json1_1";
7
+ export { $Command };
8
+ export class ListFleetsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("CodeBuild_20161006", "ListFleets", {})
20
+ .n("CodeBuildClient", "ListFleetsCommand")
21
+ .f(ListFleetsInputFilterSensitiveLog, void 0)
22
+ .ser(se_ListFleetsCommand)
23
+ .de(de_ListFleetsCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateFleetCommand, se_UpdateFleetCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class UpdateFleetCommand 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", "UpdateFleet", {})
19
+ .n("CodeBuildClient", "UpdateFleetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateFleetCommand)
22
+ .de(de_UpdateFleetCommand)
23
+ .build() {
24
+ }
@@ -1,13 +1,16 @@
1
1
  export * from "./BatchDeleteBuildsCommand";
2
2
  export * from "./BatchGetBuildBatchesCommand";
3
3
  export * from "./BatchGetBuildsCommand";
4
+ export * from "./BatchGetFleetsCommand";
4
5
  export * from "./BatchGetProjectsCommand";
5
6
  export * from "./BatchGetReportGroupsCommand";
6
7
  export * from "./BatchGetReportsCommand";
8
+ export * from "./CreateFleetCommand";
7
9
  export * from "./CreateProjectCommand";
8
10
  export * from "./CreateReportGroupCommand";
9
11
  export * from "./CreateWebhookCommand";
10
12
  export * from "./DeleteBuildBatchCommand";
13
+ export * from "./DeleteFleetCommand";
11
14
  export * from "./DeleteProjectCommand";
12
15
  export * from "./DeleteReportCommand";
13
16
  export * from "./DeleteReportGroupCommand";
@@ -25,6 +28,7 @@ export * from "./ListBuildBatchesForProjectCommand";
25
28
  export * from "./ListBuildsCommand";
26
29
  export * from "./ListBuildsForProjectCommand";
27
30
  export * from "./ListCuratedEnvironmentImagesCommand";
31
+ export * from "./ListFleetsCommand";
28
32
  export * from "./ListProjectsCommand";
29
33
  export * from "./ListReportGroupsCommand";
30
34
  export * from "./ListReportsCommand";
@@ -39,6 +43,7 @@ export * from "./StartBuildBatchCommand";
39
43
  export * from "./StartBuildCommand";
40
44
  export * from "./StopBuildBatchCommand";
41
45
  export * from "./StopBuildCommand";
46
+ export * from "./UpdateFleetCommand";
42
47
  export * from "./UpdateProjectCommand";
43
48
  export * from "./UpdateProjectVisibilityCommand";
44
49
  export * from "./UpdateReportGroupCommand";
@@ -143,6 +143,25 @@ export const BuildPhaseType = {
143
143
  SUBMITTED: "SUBMITTED",
144
144
  UPLOAD_ARTIFACTS: "UPLOAD_ARTIFACTS",
145
145
  };
146
+ export const FleetScalingType = {
147
+ TARGET_TRACKING_SCALING: "TARGET_TRACKING_SCALING",
148
+ };
149
+ export const FleetScalingMetricType = {
150
+ FLEET_UTILIZATION_RATE: "FLEET_UTILIZATION_RATE",
151
+ };
152
+ export const FleetContextCode = {
153
+ CREATE_FAILED: "CREATE_FAILED",
154
+ UPDATE_FAILED: "UPDATE_FAILED",
155
+ };
156
+ export const FleetStatusCode = {
157
+ ACTIVE: "ACTIVE",
158
+ CREATE_FAILED: "CREATE_FAILED",
159
+ CREATING: "CREATING",
160
+ DELETING: "DELETING",
161
+ ROTATING: "ROTATING",
162
+ UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED",
163
+ UPDATING: "UPDATING",
164
+ };
146
165
  export const ProjectVisibilityType = {
147
166
  PRIVATE: "PRIVATE",
148
167
  PUBLIC_READ: "PUBLIC_READ",
@@ -260,6 +279,11 @@ export const PlatformType = {
260
279
  UBUNTU: "UBUNTU",
261
280
  WINDOWS_SERVER: "WINDOWS_SERVER",
262
281
  };
282
+ export const FleetSortByType = {
283
+ CREATED_TIME: "CREATED_TIME",
284
+ LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
285
+ NAME: "NAME",
286
+ };
263
287
  export const ProjectSortByType = {
264
288
  CREATED_TIME: "CREATED_TIME",
265
289
  LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
@@ -282,3 +306,7 @@ export const ImportSourceCredentialsInputFilterSensitiveLog = (obj) => ({
282
306
  ...obj,
283
307
  ...(obj.token && { token: SENSITIVE_STRING }),
284
308
  });
309
+ export const ListFleetsInputFilterSensitiveLog = (obj) => ({
310
+ ...obj,
311
+ ...(obj.nextToken && { nextToken: SENSITIVE_STRING }),
312
+ });
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CodeBuildClient } from "../CodeBuildClient";
3
+ import { ListFleetsCommand } from "../commands/ListFleetsCommand";
4
+ export const paginateListFleets = createPaginator(CodeBuildClient, ListFleetsCommand, "nextToken", "nextToken", "maxResults");
@@ -5,6 +5,7 @@ export * from "./ListBuildBatchesForProjectPaginator";
5
5
  export * from "./ListBuildBatchesPaginator";
6
6
  export * from "./ListBuildsForProjectPaginator";
7
7
  export * from "./ListBuildsPaginator";
8
+ export * from "./ListFleetsPaginator";
8
9
  export * from "./ListProjectsPaginator";
9
10
  export * from "./ListReportGroupsPaginator";
10
11
  export * from "./ListReportsForReportGroupPaginator";