@aws-sdk/client-codebuild 3.490.0 → 3.496.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 (124) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/CodeBuild.js +1 -101
  3. package/dist-cjs/CodeBuildClient.js +1 -43
  4. package/dist-cjs/commands/BatchDeleteBuildsCommand.js +1 -28
  5. package/dist-cjs/commands/BatchGetBuildBatchesCommand.js +1 -28
  6. package/dist-cjs/commands/BatchGetBuildsCommand.js +1 -28
  7. package/dist-cjs/commands/BatchGetFleetsCommand.js +1 -0
  8. package/dist-cjs/commands/BatchGetProjectsCommand.js +1 -28
  9. package/dist-cjs/commands/BatchGetReportGroupsCommand.js +1 -28
  10. package/dist-cjs/commands/BatchGetReportsCommand.js +1 -28
  11. package/dist-cjs/commands/CreateFleetCommand.js +1 -0
  12. package/dist-cjs/commands/CreateProjectCommand.js +1 -28
  13. package/dist-cjs/commands/CreateReportGroupCommand.js +1 -28
  14. package/dist-cjs/commands/CreateWebhookCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteBuildBatchCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteFleetCommand.js +1 -0
  17. package/dist-cjs/commands/DeleteProjectCommand.js +1 -28
  18. package/dist-cjs/commands/DeleteReportCommand.js +1 -28
  19. package/dist-cjs/commands/DeleteReportGroupCommand.js +1 -28
  20. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +1 -28
  21. package/dist-cjs/commands/DeleteSourceCredentialsCommand.js +1 -28
  22. package/dist-cjs/commands/DeleteWebhookCommand.js +1 -28
  23. package/dist-cjs/commands/DescribeCodeCoveragesCommand.js +1 -28
  24. package/dist-cjs/commands/DescribeTestCasesCommand.js +1 -28
  25. package/dist-cjs/commands/GetReportGroupTrendCommand.js +1 -28
  26. package/dist-cjs/commands/GetResourcePolicyCommand.js +1 -28
  27. package/dist-cjs/commands/ImportSourceCredentialsCommand.js +1 -29
  28. package/dist-cjs/commands/InvalidateProjectCacheCommand.js +1 -28
  29. package/dist-cjs/commands/ListBuildBatchesCommand.js +1 -28
  30. package/dist-cjs/commands/ListBuildBatchesForProjectCommand.js +1 -28
  31. package/dist-cjs/commands/ListBuildsCommand.js +1 -28
  32. package/dist-cjs/commands/ListBuildsForProjectCommand.js +1 -28
  33. package/dist-cjs/commands/ListCuratedEnvironmentImagesCommand.js +1 -28
  34. package/dist-cjs/commands/ListFleetsCommand.js +1 -0
  35. package/dist-cjs/commands/ListProjectsCommand.js +1 -28
  36. package/dist-cjs/commands/ListReportGroupsCommand.js +1 -28
  37. package/dist-cjs/commands/ListReportsCommand.js +1 -28
  38. package/dist-cjs/commands/ListReportsForReportGroupCommand.js +1 -28
  39. package/dist-cjs/commands/ListSharedProjectsCommand.js +1 -28
  40. package/dist-cjs/commands/ListSharedReportGroupsCommand.js +1 -28
  41. package/dist-cjs/commands/ListSourceCredentialsCommand.js +1 -28
  42. package/dist-cjs/commands/PutResourcePolicyCommand.js +1 -28
  43. package/dist-cjs/commands/RetryBuildBatchCommand.js +1 -28
  44. package/dist-cjs/commands/RetryBuildCommand.js +1 -28
  45. package/dist-cjs/commands/StartBuildBatchCommand.js +1 -28
  46. package/dist-cjs/commands/StartBuildCommand.js +1 -28
  47. package/dist-cjs/commands/StopBuildBatchCommand.js +1 -28
  48. package/dist-cjs/commands/StopBuildCommand.js +1 -28
  49. package/dist-cjs/commands/UpdateFleetCommand.js +1 -0
  50. package/dist-cjs/commands/UpdateProjectCommand.js +1 -28
  51. package/dist-cjs/commands/UpdateProjectVisibilityCommand.js +1 -28
  52. package/dist-cjs/commands/UpdateReportGroupCommand.js +1 -28
  53. package/dist-cjs/commands/UpdateWebhookCommand.js +1 -28
  54. package/dist-cjs/commands/index.js +1 -48
  55. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  56. package/dist-cjs/extensionConfiguration.js +1 -2
  57. package/dist-cjs/index.js +4287 -11
  58. package/dist-cjs/models/CodeBuildServiceException.js +1 -12
  59. package/dist-cjs/models/index.js +1 -4
  60. package/dist-cjs/models/models_0.js +1 -293
  61. package/dist-cjs/pagination/DescribeCodeCoveragesPaginator.js +1 -7
  62. package/dist-cjs/pagination/DescribeTestCasesPaginator.js +1 -7
  63. package/dist-cjs/pagination/Interfaces.js +1 -2
  64. package/dist-cjs/pagination/ListBuildBatchesForProjectPaginator.js +1 -7
  65. package/dist-cjs/pagination/ListBuildBatchesPaginator.js +1 -7
  66. package/dist-cjs/pagination/ListBuildsForProjectPaginator.js +1 -7
  67. package/dist-cjs/pagination/ListBuildsPaginator.js +1 -7
  68. package/dist-cjs/pagination/ListFleetsPaginator.js +1 -0
  69. package/dist-cjs/pagination/ListProjectsPaginator.js +1 -7
  70. package/dist-cjs/pagination/ListReportGroupsPaginator.js +1 -7
  71. package/dist-cjs/pagination/ListReportsForReportGroupPaginator.js +1 -7
  72. package/dist-cjs/pagination/ListReportsPaginator.js +1 -7
  73. package/dist-cjs/pagination/ListSharedProjectsPaginator.js +1 -7
  74. package/dist-cjs/pagination/ListSharedReportGroupsPaginator.js +1 -7
  75. package/dist-cjs/pagination/index.js +1 -16
  76. package/dist-cjs/protocols/Aws_json1_1.js +1 -2434
  77. package/dist-cjs/runtimeExtensions.js +1 -22
  78. package/dist-es/CodeBuild.js +10 -0
  79. package/dist-es/commands/BatchGetFleetsCommand.js +24 -0
  80. package/dist-es/commands/CreateFleetCommand.js +24 -0
  81. package/dist-es/commands/DeleteFleetCommand.js +24 -0
  82. package/dist-es/commands/ListFleetsCommand.js +25 -0
  83. package/dist-es/commands/UpdateFleetCommand.js +24 -0
  84. package/dist-es/commands/index.js +5 -0
  85. package/dist-es/models/models_0.js +28 -0
  86. package/dist-es/pagination/ListFleetsPaginator.js +4 -0
  87. package/dist-es/pagination/index.js +1 -0
  88. package/dist-es/protocols/Aws_json1_1.js +303 -0
  89. package/dist-types/CodeBuild.d.ts +35 -0
  90. package/dist-types/CodeBuildClient.d.ts +7 -2
  91. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +3 -0
  92. package/dist-types/commands/BatchGetBuildsCommand.d.ts +3 -0
  93. package/dist-types/commands/BatchGetFleetsCommand.d.ts +99 -0
  94. package/dist-types/commands/BatchGetProjectsCommand.d.ts +3 -0
  95. package/dist-types/commands/CreateFleetCommand.d.ts +118 -0
  96. package/dist-types/commands/CreateProjectCommand.d.ts +6 -0
  97. package/dist-types/commands/DeleteFleetCommand.d.ts +59 -0
  98. package/dist-types/commands/ListFleetsCommand.d.ts +67 -0
  99. package/dist-types/commands/RetryBuildBatchCommand.d.ts +3 -0
  100. package/dist-types/commands/RetryBuildCommand.d.ts +3 -0
  101. package/dist-types/commands/StartBuildBatchCommand.d.ts +3 -0
  102. package/dist-types/commands/StartBuildCommand.d.ts +6 -0
  103. package/dist-types/commands/StopBuildBatchCommand.d.ts +3 -0
  104. package/dist-types/commands/StopBuildCommand.d.ts +3 -0
  105. package/dist-types/commands/UpdateFleetCommand.d.ts +117 -0
  106. package/dist-types/commands/UpdateProjectCommand.d.ts +6 -0
  107. package/dist-types/commands/index.d.ts +5 -0
  108. package/dist-types/models/models_0.d.ts +843 -57
  109. package/dist-types/pagination/ListFleetsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/index.d.ts +1 -0
  111. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  112. package/dist-types/ts3.4/CodeBuild.d.ts +85 -0
  113. package/dist-types/ts3.4/CodeBuildClient.d.ts +30 -0
  114. package/dist-types/ts3.4/commands/BatchGetFleetsCommand.d.ts +26 -0
  115. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +26 -0
  116. package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +26 -0
  117. package/dist-types/ts3.4/commands/ListFleetsCommand.d.ts +26 -0
  118. package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +26 -0
  119. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  120. package/dist-types/ts3.4/models/models_0.d.ts +129 -11
  121. package/dist-types/ts3.4/pagination/ListFleetsPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  123. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  124. package/package.json +40 -40
@@ -1,22 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveRuntimeExtensions = void 0;
4
- const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
- const protocol_http_1 = require("@smithy/protocol-http");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const asPartial = (t) => t;
8
- const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
- const extensionConfiguration = {
10
- ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
11
- ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
12
- ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
13
- };
14
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
15
- return {
16
- ...runtimeConfig,
17
- ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
18
- ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
19
- ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
20
- };
21
- };
22
- exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
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";