diff --git a/clients/client-codebuild/README.md b/clients/client-codebuild/README.md
index 1ad6e762f5e8..5a232c2ade29 100644
--- a/clients/client-codebuild/README.md
+++ b/clients/client-codebuild/README.md
@@ -237,6 +237,14 @@ BatchGetBuilds
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/BatchGetBuildsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/BatchGetBuildsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/BatchGetBuildsCommandOutput/)
+
+ Gets information about one or more compute fleets. The input value that was provided is not valid. Base exception class for all service exceptions from CodeBuild service. Creates a compute fleet. An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account. The input value that was provided is not valid. The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same
+ * settings already exists. Base exception class for all service exceptions from CodeBuild service. Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted. The input value that was provided is not valid. Base exception class for all service exceptions from CodeBuild service. Gets a list of compute fleet names with each compute fleet name representing a single compute fleet. The input value that was provided is not valid. Base exception class for all service exceptions from CodeBuild service. Updates a compute fleet. An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account. The input value that was provided is not valid. The specified Amazon Web Services resource cannot be found. Base exception class for all service exceptions from CodeBuild service. Information about the compute fleet of the build project. For more
+ * information, see Working
+ * with reserved capacity in CodeBuild. Specifies the compute fleet ARN for the build project.
+BatchGetFleets
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/BatchGetFleetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/BatchGetFleetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/BatchGetFleetsCommandOutput/)
+
@@ -261,6 +269,14 @@ BatchGetReports
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/BatchGetReportsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/BatchGetReportsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/BatchGetReportsCommandOutput/)
+
+CreateFleet
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/CreateFleetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/CreateFleetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/CreateFleetCommandOutput/)
+
@@ -293,6 +309,14 @@ DeleteBuildBatch
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/DeleteBuildBatchCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/DeleteBuildBatchCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/DeleteBuildBatchCommandOutput/)
+
+DeleteFleet
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/DeleteFleetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/DeleteFleetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/DeleteFleetCommandOutput/)
+
@@ -429,6 +453,14 @@ ListCuratedEnvironmentImages
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/ListCuratedEnvironmentImagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/ListCuratedEnvironmentImagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/ListCuratedEnvironmentImagesCommandOutput/)
+
+ListFleets
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/ListFleetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/ListFleetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/ListFleetsCommandOutput/)
+
@@ -541,6 +573,14 @@ StopBuildBatch
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/StopBuildBatchCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/StopBuildBatchCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/StopBuildBatchCommandOutput/)
+
+UpdateFleet
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codebuild/command/UpdateFleetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/UpdateFleetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codebuild/Interface/UpdateFleetCommandOutput/)
+
diff --git a/clients/client-codebuild/src/CodeBuild.ts b/clients/client-codebuild/src/CodeBuild.ts
index 32f015f833e7..a30d3e54ef09 100644
--- a/clients/client-codebuild/src/CodeBuild.ts
+++ b/clients/client-codebuild/src/CodeBuild.ts
@@ -18,6 +18,11 @@ import {
BatchGetBuildsCommandInput,
BatchGetBuildsCommandOutput,
} from "./commands/BatchGetBuildsCommand";
+import {
+ BatchGetFleetsCommand,
+ BatchGetFleetsCommandInput,
+ BatchGetFleetsCommandOutput,
+} from "./commands/BatchGetFleetsCommand";
import {
BatchGetProjectsCommand,
BatchGetProjectsCommandInput,
@@ -33,6 +38,7 @@ import {
BatchGetReportsCommandInput,
BatchGetReportsCommandOutput,
} from "./commands/BatchGetReportsCommand";
+import { CreateFleetCommand, CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
import {
CreateProjectCommand,
CreateProjectCommandInput,
@@ -53,6 +59,7 @@ import {
DeleteBuildBatchCommandInput,
DeleteBuildBatchCommandOutput,
} from "./commands/DeleteBuildBatchCommand";
+import { DeleteFleetCommand, DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
import {
DeleteProjectCommand,
DeleteProjectCommandInput,
@@ -134,6 +141,7 @@ import {
ListCuratedEnvironmentImagesCommandInput,
ListCuratedEnvironmentImagesCommandOutput,
} from "./commands/ListCuratedEnvironmentImagesCommand";
+import { ListFleetsCommand, ListFleetsCommandInput, ListFleetsCommandOutput } from "./commands/ListFleetsCommand";
import {
ListProjectsCommand,
ListProjectsCommandInput,
@@ -188,6 +196,7 @@ import {
StopBuildBatchCommandOutput,
} from "./commands/StopBuildBatchCommand";
import { StopBuildCommand, StopBuildCommandInput, StopBuildCommandOutput } from "./commands/StopBuildCommand";
+import { UpdateFleetCommand, UpdateFleetCommandInput, UpdateFleetCommandOutput } from "./commands/UpdateFleetCommand";
import {
UpdateProjectCommand,
UpdateProjectCommandInput,
@@ -213,13 +222,16 @@ const commands = {
BatchDeleteBuildsCommand,
BatchGetBuildBatchesCommand,
BatchGetBuildsCommand,
+ BatchGetFleetsCommand,
BatchGetProjectsCommand,
BatchGetReportGroupsCommand,
BatchGetReportsCommand,
+ CreateFleetCommand,
CreateProjectCommand,
CreateReportGroupCommand,
CreateWebhookCommand,
DeleteBuildBatchCommand,
+ DeleteFleetCommand,
DeleteProjectCommand,
DeleteReportCommand,
DeleteReportGroupCommand,
@@ -237,6 +249,7 @@ const commands = {
ListBuildsCommand,
ListBuildsForProjectCommand,
ListCuratedEnvironmentImagesCommand,
+ ListFleetsCommand,
ListProjectsCommand,
ListReportGroupsCommand,
ListReportsCommand,
@@ -251,6 +264,7 @@ const commands = {
StartBuildBatchCommand,
StopBuildCommand,
StopBuildBatchCommand,
+ UpdateFleetCommand,
UpdateProjectCommand,
UpdateProjectVisibilityCommand,
UpdateReportGroupCommand,
@@ -306,6 +320,20 @@ export interface CodeBuild {
cb: (err: any, data?: BatchGetBuildsCommandOutput) => void
): void;
+ /**
+ * @see {@link BatchGetFleetsCommand}
+ */
+ batchGetFleets(
+ args: BatchGetFleetsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
The environment type LINUX_CONTAINER
with compute type
- * build.general1.2xlarge
is available only in regions
+ *
The environment type LINUX_CONTAINER
is available only in regions
* US East (N. Virginia), US East (Ohio), US West (Oregon),
* Canada (Central), EU (Ireland), EU (London),
* EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),
@@ -870,6 +883,9 @@ export interface ProjectEnvironment {
* EU (Ireland).
If you're using compute fleets during project creation, type
will be ignored.
For more information, see Build environment compute types in the CodeBuild * user guide.
*/ @@ -984,12 +1000,21 @@ export interface ProjectEnvironment { * memory and 8 vCPUs on ARM-based processors for builds. * * + *If you're using compute fleets during project creation, computeType
will be ignored.
For more information, see Build Environment * Compute Types in the CodeBuild User Guide. *
*/ computeType: ComputeType | undefined; + /** + * @public + *A ProjectFleet object to use for this build project.
+ */ + fleet?: ProjectFleet; + /** * @public *A set of environment variables to make available to builds for this build @@ -2659,6 +2684,394 @@ export interface BatchGetBuildsOutput { buildsNotFound?: string[]; } +/** + * @public + */ +export interface BatchGetFleetsInput { + /** + * @public + *
The names or ARNs of the compute fleets.
+ */ + names: string[] | undefined; +} + +/** + * @public + * @enum + */ +export const FleetScalingType = { + TARGET_TRACKING_SCALING: "TARGET_TRACKING_SCALING", +} as const; + +/** + * @public + */ +export type FleetScalingType = (typeof FleetScalingType)[keyof typeof FleetScalingType]; + +/** + * @public + * @enum + */ +export const FleetScalingMetricType = { + FLEET_UTILIZATION_RATE: "FLEET_UTILIZATION_RATE", +} as const; + +/** + * @public + */ +export type FleetScalingMetricType = (typeof FleetScalingMetricType)[keyof typeof FleetScalingMetricType]; + +/** + * @public + *Defines when a new instance is auto-scaled into the compute fleet.
+ */ +export interface TargetTrackingScalingConfiguration { + /** + * @public + *The metric type to determine auto-scaling.
+ */ + metricType?: FleetScalingMetricType; + + /** + * @public + *The value of metricType
when to start scaling.
The scaling configuration output of a compute fleet.
+ */ +export interface ScalingConfigurationOutput { + /** + * @public + *The scaling type for a compute fleet.
+ */ + scalingType?: FleetScalingType; + + /** + * @public + *A list of TargetTrackingScalingConfiguration
objects.
The maximum number of instances in the fleet when auto-scaling.
+ */ + maxCapacity?: number; + + /** + * @public + *The desired number of instances in the fleet when auto-scaling.
+ */ + desiredCapacity?: number; +} + +/** + * @public + * @enum + */ +export const FleetContextCode = { + CREATE_FAILED: "CREATE_FAILED", + UPDATE_FAILED: "UPDATE_FAILED", +} as const; + +/** + * @public + */ +export type FleetContextCode = (typeof FleetContextCode)[keyof typeof FleetContextCode]; + +/** + * @public + * @enum + */ +export const FleetStatusCode = { + ACTIVE: "ACTIVE", + CREATE_FAILED: "CREATE_FAILED", + CREATING: "CREATING", + DELETING: "DELETING", + ROTATING: "ROTATING", + UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED", + UPDATING: "UPDATING", +} as const; + +/** + * @public + */ +export type FleetStatusCode = (typeof FleetStatusCode)[keyof typeof FleetStatusCode]; + +/** + * @public + *The status of the compute fleet.
+ */ +export interface FleetStatus { + /** + * @public + *The status code of the compute fleet. Valid values include:
+ *
+ * CREATING
: The compute fleet is being created.
+ * UPDATING
: The compute fleet is being updated.
+ * ROTATING
: The compute fleet is being rotated.
+ * DELETING
: The compute fleet is being deleted.
+ * CREATE_FAILED
: The compute fleet has failed to create.
+ * UPDATE_ROLLBACK_FAILED
: The compute fleet has failed to update and could not rollback to previous state.
+ * ACTIVE
: The compute fleet has succeeded and is active.
Additional information about a compute fleet. Valid values include:
+ *
+ * CREATE_FAILED
: The compute fleet has failed to create.
+ * UPDATE_FAILED
: The compute fleet has failed to update.
A message associated with the status of a compute fleet.
+ */ + message?: string; +} + +/** + * @public + *A tag, consisting of a key and a value.
+ *This tag is available for use by Amazon Web Services services that support tags in CodeBuild.
+ */ +export interface Tag { + /** + * @public + *The tag's key.
+ */ + key?: string; + + /** + * @public + *The tag's value.
+ */ + value?: string; +} + +/** + * @public + *A set of dedicated instances for your build environment.
+ */ +export interface Fleet { + /** + * @public + *The ARN of the compute fleet.
+ */ + arn?: string; + + /** + * @public + *The name of the compute fleet.
+ */ + name?: string; + + /** + * @public + *The ID of the compute fleet.
+ */ + id?: string; + + /** + * @public + *The time at which the compute fleet was created.
+ */ + created?: Date; + + /** + * @public + *The time at which the compute fleet was last modified.
+ */ + lastModified?: Date; + + /** + * @public + *The status of the compute fleet.
+ */ + status?: FleetStatus; + + /** + * @public + *The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
+ */ + baseCapacity?: number; + + /** + * @public + *The environment type of the compute fleet.
+ *The environment type ARM_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney),
+ * EU (Frankfurt), and South America (São Paulo).
The environment type LINUX_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * EU (Frankfurt), Asia Pacific (Tokyo),
+ * Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
+ * Asia Pacific (Mumbai).
The environment type LINUX_GPU_CONTAINER
is available only in
+ * regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
The environment type WINDOWS_SERVER_2019_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney),
+ * Asia Pacific (Tokyo), Asia Pacific (Mumbai) and
+ * EU (Ireland).
The environment type WINDOWS_SERVER_2022_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt),
+ * Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and
+ * Asia Pacific (Mumbai).
For more information, see Build environment compute types in the CodeBuild + * user guide.
+ */ + environmentType?: EnvironmentType; + + /** + * @public + *Information about the compute resources the compute fleet uses. Available values + * include:
+ *
+ * BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for
+ * builds.
+ * BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for
+ * builds.
+ * BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for
+ * builds, depending on your environment type.
+ * BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for
+ * builds, depending on your environment type.
+ * BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and
+ * 824 GB of SSD storage for builds. This compute type supports Docker images up to
+ * 100 GB uncompressed.
If you use BUILD_GENERAL1_SMALL
:
For environment type LINUX_CONTAINER
, you can use up to 3 GB
+ * memory and 2 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 16
+ * GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
For environment type ARM_CONTAINER
, you can use up to 4 GB
+ * memory and 2 vCPUs on ARM-based processors for builds.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB
+ * memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255
+ * GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB
+ * memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build environment + * compute types in the CodeBuild User Guide. + *
+ */ + computeType?: ComputeType; + + /** + * @public + *The scaling configuration of the compute fleet.
+ */ + scalingConfiguration?: ScalingConfigurationOutput; + + /** + * @public + *A list of tag key and value pairs associated with this compute fleet.
+ *These tags are available for use by Amazon Web Services services that support CodeBuild build project + * tags.
+ */ + tags?: Tag[]; +} + +/** + * @public + */ +export interface BatchGetFleetsOutput { + /** + * @public + *Information about the requested compute fleets.
+ */ + fleets?: Fleet[]; + + /** + * @public + *The names of compute fleets for which information could not be found.
+ */ + fleetsNotFound?: string[]; +} + /** * @public */ @@ -2969,25 +3382,6 @@ export const ProjectVisibilityType = { */ export type ProjectVisibilityType = (typeof ProjectVisibilityType)[keyof typeof ProjectVisibilityType]; -/** - * @public - *A tag, consisting of a key and a value.
- *This tag is available for use by Amazon Web Services services that support tags in CodeBuild.
- */ -export interface Tag { - /** - * @public - *The tag's key.
- */ - key?: string; - - /** - * @public - *The tag's value.
- */ - value?: string; -} - /** * @public * @enum @@ -3936,7 +4330,202 @@ export interface BuildBatchFilter { *The status of the batch builds to retrieve. Only batch builds that have this status will * be retrieved.
*/ - status?: StatusType; + status?: StatusType; +} + +/** + * @public + *The scaling configuration input of a compute fleet.
+ */ +export interface ScalingConfigurationInput { + /** + * @public + *The scaling type for a compute fleet.
+ */ + scalingType?: FleetScalingType; + + /** + * @public + *A list of TargetTrackingScalingConfiguration
objects.
The maximum number of instances in the fleet when auto-scaling.
+ */ + maxCapacity?: number; +} + +/** + * @public + */ +export interface CreateFleetInput { + /** + * @public + *The name of the compute fleet.
+ */ + name: string | undefined; + + /** + * @public + *The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel.
+ */ + baseCapacity: number | undefined; + + /** + * @public + *The environment type of the compute fleet.
+ *The environment type ARM_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney),
+ * EU (Frankfurt), and South America (São Paulo).
The environment type LINUX_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * EU (Frankfurt), Asia Pacific (Tokyo),
+ * Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
+ * Asia Pacific (Mumbai).
The environment type LINUX_GPU_CONTAINER
is available only in
+ * regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
The environment type WINDOWS_SERVER_2019_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney),
+ * Asia Pacific (Tokyo), Asia Pacific (Mumbai) and
+ * EU (Ireland).
The environment type WINDOWS_SERVER_2022_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt),
+ * Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and
+ * Asia Pacific (Mumbai).
For more information, see Build environment compute types in the CodeBuild + * user guide.
+ */ + environmentType: EnvironmentType | undefined; + + /** + * @public + *Information about the compute resources the compute fleet uses. Available values + * include:
+ *
+ * BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for
+ * builds.
+ * BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for
+ * builds.
+ * BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for
+ * builds, depending on your environment type.
+ * BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for
+ * builds, depending on your environment type.
+ * BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and
+ * 824 GB of SSD storage for builds. This compute type supports Docker images up to
+ * 100 GB uncompressed.
If you use BUILD_GENERAL1_SMALL
:
For environment type LINUX_CONTAINER
, you can use up to 3 GB
+ * memory and 2 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 16
+ * GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
For environment type ARM_CONTAINER
, you can use up to 4 GB
+ * memory and 2 vCPUs on ARM-based processors for builds.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB
+ * memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255
+ * GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB
+ * memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build environment + * compute types in the CodeBuild User Guide. + *
+ */ + computeType: ComputeType | undefined; + + /** + * @public + *The scaling configuration of the compute fleet.
+ */ + scalingConfiguration?: ScalingConfigurationInput; + + /** + * @public + *A list of tag key and value pairs associated with this compute fleet.
+ *These tags are available for use by Amazon Web Services services that support CodeBuild build project + * tags.
+ */ + tags?: Tag[]; +} + +/** + * @public + */ +export interface CreateFleetOutput { + /** + * @public + *Information about the compute fleet
+ */ + fleet?: Fleet; +} + +/** + * @public + *The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same + * settings already exists.
+ */ +export class ResourceAlreadyExistsException extends __BaseException { + readonly name: "ResourceAlreadyExistsException" = "ResourceAlreadyExistsException"; + readonly $fault: "client" = "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionTypeThe specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same - * settings already exists.
- */ -export class ResourceAlreadyExistsException extends __BaseException { - readonly name: "ResourceAlreadyExistsException" = "ResourceAlreadyExistsException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe ARN of the compute fleet.
+ */ + arn: string | undefined; +} + +/** + * @public + */ +export interface DeleteFleetOutput {} + /** * @public */ @@ -5436,6 +6020,106 @@ export interface ListCuratedEnvironmentImagesOutput { platforms?: EnvironmentPlatform[]; } +/** + * @public + * @enum + */ +export const FleetSortByType = { + CREATED_TIME: "CREATED_TIME", + LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME", + NAME: "NAME", +} as const; + +/** + * @public + */ +export type FleetSortByType = (typeof FleetSortByType)[keyof typeof FleetSortByType]; + +/** + * @public + */ +export interface ListFleetsInput { + /** + * @public + *During a previous call, if there are more than 100 items in the list, only the first + * 100 items are returned, along with a unique string called a + * nextToken. To get the next batch of items in the list, call + * this operation again, adding the next token to the call. To get all of the items in the + * list, keep calling this operation with each subsequent next token that is returned, + * until no more next tokens are returned.
+ */ + nextToken?: string; + + /** + * @public + *The maximum number of paginated compute fleets returned per response. Use
+ * nextToken
to iterate pages in the list of returned compute fleets.
The order in which to list compute fleets. Valid values include:
+ *
+ * ASCENDING
: List in ascending order.
+ * DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list compute fleet
+ * names.
The criterion to be used to list compute fleet names. Valid values include:
+ *
+ * CREATED_TIME
: List based on when each compute fleet was
+ * created.
+ * LAST_MODIFIED_TIME
: List based on when information about each
+ * compute fleet was last changed.
+ * NAME
: List based on each compute fleet's name.
Use sortOrder
to specify in what order to list the compute fleet names
+ * based on the preceding criteria.
If there are more than 100 items in the list, only the first 100 items are returned, + * along with a unique string called a nextToken. To get the next + * batch of items in the list, call this operation again, adding the next token to the + * call.
+ */ + nextToken?: string; + + /** + * @public + *The list of compute fleet names.
+ */ + fleets?: string[]; +} + /** * @public * @enum @@ -6420,6 +7104,13 @@ export interface StartBuildInput { * Viewing a running build in Session Manager. */ debugSessionEnabled?: boolean; + + /** + * @public + *A ProjectFleet object specified for this build that overrides the one defined in the + * build project.
+ */ + fleetOverride?: ProjectFleet; } /** @@ -6776,6 +7467,157 @@ export interface StopBuildBatchOutput { buildBatch?: BuildBatch; } +/** + * @public + */ +export interface UpdateFleetInput { + /** + * @public + *The ARN of the compute fleet.
+ */ + arn: string | undefined; + + /** + * @public + *The initial number of machines allocated to the compute fleet, which defines the number of builds that can + * run in parallel.
+ */ + baseCapacity?: number; + + /** + * @public + *The environment type of the compute fleet.
+ *The environment type ARM_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney),
+ * EU (Frankfurt), and South America (São Paulo).
The environment type LINUX_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * EU (Frankfurt), Asia Pacific (Tokyo),
+ * Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and
+ * Asia Pacific (Mumbai).
The environment type LINUX_GPU_CONTAINER
is available only in
+ * regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
+ * EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
The environment type WINDOWS_SERVER_2019_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney),
+ * Asia Pacific (Tokyo), Asia Pacific (Mumbai) and
+ * EU (Ireland).
The environment type WINDOWS_SERVER_2022_CONTAINER
is available only in regions
+ * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt),
+ * Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and
+ * Asia Pacific (Mumbai).
For more information, see Build environment compute types in the CodeBuild + * user guide.
+ */ + environmentType?: EnvironmentType; + + /** + * @public + *Information about the compute resources the compute fleet uses. Available values + * include:
+ *
+ * BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for
+ * builds.
+ * BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for
+ * builds.
+ * BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for
+ * builds, depending on your environment type.
+ * BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for
+ * builds, depending on your environment type.
+ * BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and
+ * 824 GB of SSD storage for builds. This compute type supports Docker images up to
+ * 100 GB uncompressed.
If you use BUILD_GENERAL1_SMALL
:
For environment type LINUX_CONTAINER
, you can use up to 3 GB
+ * memory and 2 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 16
+ * GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
For environment type ARM_CONTAINER
, you can use up to 4 GB
+ * memory and 2 vCPUs on ARM-based processors for builds.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB
+ * memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255
+ * GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB
+ * memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build environment + * compute types in the CodeBuild User Guide. + *
+ */ + computeType?: ComputeType; + + /** + * @public + *The scaling configuration of the compute fleet.
+ */ + scalingConfiguration?: ScalingConfigurationInput; + + /** + * @public + *A list of tag key and value pairs associated with this compute fleet.
+ *These tags are available for use by Amazon Web Services services that support CodeBuild build project + * tags.
+ */ + tags?: Tag[]; +} + +/** + * @public + */ +export interface UpdateFleetOutput { + /** + * @public + *A Fleet
object.
Gets information about one or more compute fleets.
" + } + }, + "com.amazonaws.codebuild#BatchGetFleetsInput": { + "type": "structure", + "members": { + "names": { + "target": "com.amazonaws.codebuild#FleetNames", + "traits": { + "smithy.api#documentation": "The names or ARNs of the compute fleets.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#BatchGetFleetsOutput": { + "type": "structure", + "members": { + "fleets": { + "target": "com.amazonaws.codebuild#Fleets", + "traits": { + "smithy.api#documentation": "Information about the requested compute fleets.
" + } + }, + "fleetsNotFound": { + "target": "com.amazonaws.codebuild#FleetNames", + "traits": { + "smithy.api#documentation": "The names of compute fleets for which information could not be found.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#BatchGetProjects": { "type": "operation", "input": { @@ -1434,6 +1486,9 @@ { "target": "com.amazonaws.codebuild#BatchGetBuilds" }, + { + "target": "com.amazonaws.codebuild#BatchGetFleets" + }, { "target": "com.amazonaws.codebuild#BatchGetProjects" }, @@ -1443,6 +1498,9 @@ { "target": "com.amazonaws.codebuild#BatchGetReports" }, + { + "target": "com.amazonaws.codebuild#CreateFleet" + }, { "target": "com.amazonaws.codebuild#CreateProject" }, @@ -1455,6 +1513,9 @@ { "target": "com.amazonaws.codebuild#DeleteBuildBatch" }, + { + "target": "com.amazonaws.codebuild#DeleteFleet" + }, { "target": "com.amazonaws.codebuild#DeleteProject" }, @@ -1506,6 +1567,9 @@ { "target": "com.amazonaws.codebuild#ListCuratedEnvironmentImages" }, + { + "target": "com.amazonaws.codebuild#ListFleets" + }, { "target": "com.amazonaws.codebuild#ListProjects" }, @@ -1548,6 +1612,9 @@ { "target": "com.amazonaws.codebuild#StopBuildBatch" }, + { + "target": "com.amazonaws.codebuild#UpdateFleet" + }, { "target": "com.amazonaws.codebuild#UpdateProject" }, @@ -2745,6 +2812,91 @@ "target": "com.amazonaws.codebuild#NonEmptyString" } }, + "com.amazonaws.codebuild#CreateFleet": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#CreateFleetInput" + }, + "output": { + "target": "com.amazonaws.codebuild#CreateFleetOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#AccountLimitExceededException" + }, + { + "target": "com.amazonaws.codebuild#InvalidInputException" + }, + { + "target": "com.amazonaws.codebuild#ResourceAlreadyExistsException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a compute fleet.
" + } + }, + "com.amazonaws.codebuild#CreateFleetInput": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.codebuild#FleetName", + "traits": { + "smithy.api#documentation": "The name of the compute fleet.
", + "smithy.api#required": {} + } + }, + "baseCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel.
", + "smithy.api#required": {} + } + }, + "environmentType": { + "target": "com.amazonaws.codebuild#EnvironmentType", + "traits": { + "smithy.api#documentation": "The environment type of the compute fleet.
\nThe environment type ARM_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),\n Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), \n EU (Frankfurt), and South America (São Paulo).
The environment type LINUX_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), \n EU (Frankfurt), Asia Pacific (Tokyo),\n Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and\n Asia Pacific (Mumbai).
The environment type LINUX_GPU_CONTAINER
is available only in\n regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), \n EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
The environment type WINDOWS_SERVER_2019_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), \n Asia Pacific (Tokyo), Asia Pacific (Mumbai) and\n EU (Ireland).
The environment type WINDOWS_SERVER_2022_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), \n Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and\n Asia Pacific (Mumbai).
For more information, see Build environment compute types in the CodeBuild\n user guide.
", + "smithy.api#required": {} + } + }, + "computeType": { + "target": "com.amazonaws.codebuild#ComputeType", + "traits": { + "smithy.api#documentation": "Information about the compute resources the compute fleet uses. Available values\n include:
\n\n BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for\n builds.
\n BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for\n builds.
\n BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and\n 824 GB of SSD storage for builds. This compute type supports Docker images up to\n 100 GB uncompressed.
If you use BUILD_GENERAL1_SMALL
:
For environment type LINUX_CONTAINER
, you can use up to 3 GB\n memory and 2 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 16\n GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
For environment type ARM_CONTAINER
, you can use up to 4 GB\n memory and 2 vCPUs on ARM-based processors for builds.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB\n memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255\n GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB\n memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build environment\n compute types in the CodeBuild User Guide.\n
", + "smithy.api#required": {} + } + }, + "scalingConfiguration": { + "target": "com.amazonaws.codebuild#ScalingConfigurationInput", + "traits": { + "smithy.api#documentation": "The scaling configuration of the compute fleet.
" + } + }, + "tags": { + "target": "com.amazonaws.codebuild#TagList", + "traits": { + "smithy.api#documentation": "A list of tag key and value pairs associated with this compute fleet.
\nThese tags are available for use by Amazon Web Services services that support CodeBuild build project\n tags.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#CreateFleetOutput": { + "type": "structure", + "members": { + "fleet": { + "target": "com.amazonaws.codebuild#Fleet", + "traits": { + "smithy.api#documentation": "Information about the compute fleet
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#CreateProject": { "type": "operation", "input": { @@ -3155,6 +3307,45 @@ "smithy.api#output": {} } }, + "com.amazonaws.codebuild#DeleteFleet": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#DeleteFleetInput" + }, + "output": { + "target": "com.amazonaws.codebuild#DeleteFleetOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#InvalidInputException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
" + } + }, + "com.amazonaws.codebuild#DeleteFleetInput": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "The ARN of the compute fleet.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#DeleteFleetOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#DeleteProject": { "type": "operation", "input": { @@ -3773,53 +3964,316 @@ "target": "com.amazonaws.codebuild#EnvironmentVariable" } }, - "com.amazonaws.codebuild#ExportedEnvironmentVariable": { + "com.amazonaws.codebuild#ExportedEnvironmentVariable": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "The name of the exported environment variable.
" + } + }, + "value": { + "target": "com.amazonaws.codebuild#String", + "traits": { + "smithy.api#documentation": "The value assigned to the exported environment variable.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains information about an exported environment variable.
\nExported environment variables are used in conjunction with CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see Working with variables in the CodePipeline User Guide.
\n During a build, the value of a variable is available starting with the\n install
phase. It can be updated between the start of the\n install
phase and the end of the post_build
phase.\n After the post_build
phase ends, the value of exported variables cannot\n change.
The ARN of the compute fleet.
" + } + }, + "name": { + "target": "com.amazonaws.codebuild#FleetName", + "traits": { + "smithy.api#documentation": "The name of the compute fleet.
" + } + }, + "id": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "The ID of the compute fleet.
" + } + }, + "created": { + "target": "com.amazonaws.codebuild#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the compute fleet was created.
" + } + }, + "lastModified": { + "target": "com.amazonaws.codebuild#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the compute fleet was last modified.
" + } + }, + "status": { + "target": "com.amazonaws.codebuild#FleetStatus", + "traits": { + "smithy.api#documentation": "The status of the compute fleet.
" + } + }, + "baseCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
" + } + }, + "environmentType": { + "target": "com.amazonaws.codebuild#EnvironmentType", + "traits": { + "smithy.api#documentation": "The environment type of the compute fleet.
\nThe environment type ARM_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),\n Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), \n EU (Frankfurt), and South America (São Paulo).
The environment type LINUX_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), \n EU (Frankfurt), Asia Pacific (Tokyo),\n Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and\n Asia Pacific (Mumbai).
The environment type LINUX_GPU_CONTAINER
is available only in\n regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), \n EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
The environment type WINDOWS_SERVER_2019_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), \n Asia Pacific (Tokyo), Asia Pacific (Mumbai) and\n EU (Ireland).
The environment type WINDOWS_SERVER_2022_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), \n Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and\n Asia Pacific (Mumbai).
For more information, see Build environment compute types in the CodeBuild\n user guide.
" + } + }, + "computeType": { + "target": "com.amazonaws.codebuild#ComputeType", + "traits": { + "smithy.api#documentation": "Information about the compute resources the compute fleet uses. Available values\n include:
\n\n BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for\n builds.
\n BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for\n builds.
\n BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and\n 824 GB of SSD storage for builds. This compute type supports Docker images up to\n 100 GB uncompressed.
If you use BUILD_GENERAL1_SMALL
:
For environment type LINUX_CONTAINER
, you can use up to 3 GB\n memory and 2 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 16\n GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
For environment type ARM_CONTAINER
, you can use up to 4 GB\n memory and 2 vCPUs on ARM-based processors for builds.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB\n memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255\n GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB\n memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build environment\n compute types in the CodeBuild User Guide.\n
" + } + }, + "scalingConfiguration": { + "target": "com.amazonaws.codebuild#ScalingConfigurationOutput", + "traits": { + "smithy.api#documentation": "The scaling configuration of the compute fleet.
" + } + }, + "tags": { + "target": "com.amazonaws.codebuild#TagList", + "traits": { + "smithy.api#documentation": "A list of tag key and value pairs associated with this compute fleet.
\nThese tags are available for use by Amazon Web Services services that support CodeBuild build project\n tags.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A set of dedicated instances for your build environment.
" + } + }, + "com.amazonaws.codebuild#FleetArns": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.codebuild#FleetCapacity": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1 + } + } + }, + "com.amazonaws.codebuild#FleetContextCode": { + "type": "enum", + "members": { + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "UPDATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_FAILED" + } + } + } + }, + "com.amazonaws.codebuild#FleetName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 128 + }, + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9\\-_]{1,127}$" + } + }, + "com.amazonaws.codebuild#FleetNames": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.codebuild#FleetScalingMetricType": { + "type": "enum", + "members": { + "FLEET_UTILIZATION_RATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLEET_UTILIZATION_RATE" + } + } + } + }, + "com.amazonaws.codebuild#FleetScalingType": { + "type": "enum", + "members": { + "TARGET_TRACKING_SCALING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TARGET_TRACKING_SCALING" + } + } + } + }, + "com.amazonaws.codebuild#FleetSortByType": { + "type": "enum", + "members": { + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "CREATED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED_TIME" + } + }, + "LAST_MODIFIED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAST_MODIFIED_TIME" + } + } + } + }, + "com.amazonaws.codebuild#FleetStatus": { "type": "structure", "members": { - "name": { - "target": "com.amazonaws.codebuild#NonEmptyString", + "statusCode": { + "target": "com.amazonaws.codebuild#FleetStatusCode", "traits": { - "smithy.api#documentation": "The name of the exported environment variable.
" + "smithy.api#documentation": "The status code of the compute fleet. Valid values include:
\n\n CREATING
: The compute fleet is being created.
\n UPDATING
: The compute fleet is being updated.
\n ROTATING
: The compute fleet is being rotated.
\n DELETING
: The compute fleet is being deleted.
\n CREATE_FAILED
: The compute fleet has failed to create.
\n UPDATE_ROLLBACK_FAILED
: The compute fleet has failed to update and could not rollback to previous state.
\n ACTIVE
: The compute fleet has succeeded and is active.
Additional information about a compute fleet. Valid values include:
\n\n CREATE_FAILED
: The compute fleet has failed to create.
\n UPDATE_FAILED
: The compute fleet has failed to update.
The value assigned to the exported environment variable.
" + "smithy.api#documentation": "A message associated with the status of a compute fleet.
" } } }, "traits": { - "smithy.api#documentation": "Contains information about an exported environment variable.
\nExported environment variables are used in conjunction with CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see Working with variables in the CodePipeline User Guide.
\n During a build, the value of a variable is available starting with the\n install
phase. It can be updated between the start of the\n install
phase and the end of the post_build
phase.\n After the post_build
phase ends, the value of exported variables cannot\n change.
The status of the compute fleet.
" } }, - "com.amazonaws.codebuild#FileSystemType": { + "com.amazonaws.codebuild#FleetStatusCode": { "type": "enum", "members": { - "EFS": { + "CREATING": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "EFS" + "smithy.api#enumValue": "CREATING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "ROTATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROTATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "UPDATE_ROLLBACK_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_ROLLBACK_FAILED" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } } } }, - "com.amazonaws.codebuild#FilterGroup": { - "type": "list", - "member": { - "target": "com.amazonaws.codebuild#WebhookFilter" - } - }, - "com.amazonaws.codebuild#FilterGroups": { + "com.amazonaws.codebuild#Fleets": { "type": "list", "member": { - "target": "com.amazonaws.codebuild#FilterGroup" + "target": "com.amazonaws.codebuild#Fleet" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } } }, "com.amazonaws.codebuild#GetReportGroupTrend": { @@ -4524,6 +4978,80 @@ "smithy.api#output": {} } }, + "com.amazonaws.codebuild#ListFleets": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#ListFleetsInput" + }, + "output": { + "target": "com.amazonaws.codebuild#ListFleetsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#InvalidInputException" + } + ], + "traits": { + "smithy.api#documentation": "Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.codebuild#ListFleetsInput": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.codebuild#SensitiveString", + "traits": { + "smithy.api#documentation": "During a previous call, if there are more than 100 items in the list, only the first\n 100 items are returned, along with a unique string called a\n nextToken. To get the next batch of items in the list, call\n this operation again, adding the next token to the call. To get all of the items in the\n list, keep calling this operation with each subsequent next token that is returned,\n until no more next tokens are returned.
" + } + }, + "maxResults": { + "target": "com.amazonaws.codebuild#PageSize", + "traits": { + "smithy.api#documentation": "The maximum number of paginated compute fleets returned per response. Use\n nextToken
to iterate pages in the list of returned compute fleets.
The order in which to list compute fleets. Valid values include:
\n\n ASCENDING
: List in ascending order.
\n DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list compute fleet\n names.
The criterion to be used to list compute fleet names. Valid values include:
\n\n CREATED_TIME
: List based on when each compute fleet was\n created.
\n LAST_MODIFIED_TIME
: List based on when information about each\n compute fleet was last changed.
\n NAME
: List based on each compute fleet's name.
Use sortOrder
to specify in what order to list the compute fleet names\n based on the preceding criteria.
If there are more than 100 items in the list, only the first 100 items are returned,\n along with a unique string called a nextToken. To get the next\n batch of items in the list, call this operation again, adding the next token to the\n call.
" + } + }, + "fleets": { + "target": "com.amazonaws.codebuild#FleetArns", + "traits": { + "smithy.api#documentation": "The list of compute fleet names.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codebuild#ListProjects": { "type": "operation", "input": { @@ -5599,7 +6127,7 @@ "type": { "target": "com.amazonaws.codebuild#EnvironmentType", "traits": { - "smithy.api#documentation": "The type of build environment to use for related builds.
\nThe environment type ARM_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),\n Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and\n EU (Frankfurt).
The environment type LINUX_CONTAINER
with compute type\n build.general1.2xlarge
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and\n China (Ningxia).
The environment type LINUX_GPU_CONTAINER
is available only in\n regions US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and\n China (Ningxia).
The environment types ARM_LAMBDA_CONTAINER
and\n LINUX_LAMBDA_CONTAINER
are available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), \n Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South America (São Paulo).
The environment types WINDOWS_CONTAINER
and\n WINDOWS_SERVER_2019_CONTAINER
are available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), and\n EU (Ireland).
For more information, see Build environment compute types in the CodeBuild\n user guide.
", + "smithy.api#documentation": "The type of build environment to use for related builds.
\nThe environment type ARM_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),\n Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and\n EU (Frankfurt).
The environment type LINUX_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and\n China (Ningxia).
The environment type LINUX_GPU_CONTAINER
is available only in\n regions US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and\n China (Ningxia).
The environment types ARM_LAMBDA_CONTAINER
and\n LINUX_LAMBDA_CONTAINER
are available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), \n Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South America (São Paulo).
The environment types WINDOWS_CONTAINER
and\n WINDOWS_SERVER_2019_CONTAINER
are available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), and\n EU (Ireland).
If you're using compute fleets during project creation, type
will be ignored.
For more information, see Build environment compute types in the CodeBuild\n user guide.
", "smithy.api#required": {} } }, @@ -5613,10 +6141,16 @@ "computeType": { "target": "com.amazonaws.codebuild#ComputeType", "traits": { - "smithy.api#documentation": "Information about the compute resources the build project uses. Available values\n include:
\n\n BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for\n builds.
\n BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for\n builds.
\n BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and\n 824 GB of SSD storage for builds. This compute type supports Docker images up to\n 100 GB uncompressed.
\n BUILD_LAMBDA_1GB
: Use up to 1 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
\n BUILD_LAMBDA_2GB
: Use up to 2 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
\n BUILD_LAMBDA_4GB
: Use up to 4 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
\n BUILD_LAMBDA_8GB
: Use up to 8 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
\n BUILD_LAMBDA_10GB
: Use up to 10 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
If you use BUILD_GENERAL1_SMALL
:
For environment type LINUX_CONTAINER
, you can use up to 3 GB\n memory and 2 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 16\n GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
For environment type ARM_CONTAINER
, you can use up to 4 GB\n memory and 2 vCPUs on ARM-based processors for builds.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB\n memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255\n GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB\n memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build Environment\n Compute Types in the CodeBuild User Guide.\n
", + "smithy.api#documentation": "Information about the compute resources the build project uses. Available values\n include:
\n\n BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for\n builds.
\n BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for\n builds.
\n BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and\n 824 GB of SSD storage for builds. This compute type supports Docker images up to\n 100 GB uncompressed.
\n BUILD_LAMBDA_1GB
: Use up to 1 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
\n BUILD_LAMBDA_2GB
: Use up to 2 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
\n BUILD_LAMBDA_4GB
: Use up to 4 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
\n BUILD_LAMBDA_8GB
: Use up to 8 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
\n BUILD_LAMBDA_10GB
: Use up to 10 GB memory for\n builds. Only available for environment type LINUX_LAMBDA_CONTAINER
and ARM_LAMBDA_CONTAINER
.
If you use BUILD_GENERAL1_SMALL
:
For environment type LINUX_CONTAINER
, you can use up to 3 GB\n memory and 2 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 16\n GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
For environment type ARM_CONTAINER
, you can use up to 4 GB\n memory and 2 vCPUs on ARM-based processors for builds.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB\n memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255\n GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB\n memory and 8 vCPUs on ARM-based processors for builds.
If you're using compute fleets during project creation, computeType
will be ignored.
For more information, see Build Environment\n Compute Types in the CodeBuild User Guide.\n
", "smithy.api#required": {} } }, + "fleet": { + "target": "com.amazonaws.codebuild#ProjectFleet", + "traits": { + "smithy.api#documentation": "A ProjectFleet object to use for this build project.
" + } + }, "environmentVariables": { "target": "com.amazonaws.codebuild#EnvironmentVariables", "traits": { @@ -5696,6 +6230,20 @@ "target": "com.amazonaws.codebuild#ProjectFileSystemLocation" } }, + "com.amazonaws.codebuild#ProjectFleet": { + "type": "structure", + "members": { + "fleetArn": { + "target": "com.amazonaws.codebuild#String", + "traits": { + "smithy.api#documentation": "Specifies the compute fleet ARN for the build project.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the compute fleet of the build project. For more\n information, see Working \n with reserved capacity in CodeBuild.
" + } + }, "com.amazonaws.codebuild#ProjectName": { "type": "string", "traits": { @@ -6708,6 +7256,64 @@ "smithy.api#documentation": "Information about the S3 bucket where the raw data of a report are exported.
" } }, + "com.amazonaws.codebuild#ScalingConfigurationInput": { + "type": "structure", + "members": { + "scalingType": { + "target": "com.amazonaws.codebuild#FleetScalingType", + "traits": { + "smithy.api#documentation": "The scaling type for a compute fleet.
" + } + }, + "targetTrackingScalingConfigs": { + "target": "com.amazonaws.codebuild#TargetTrackingScalingConfigurations", + "traits": { + "smithy.api#documentation": "A list of TargetTrackingScalingConfiguration
objects.
The maximum number of instances in the fleet when auto-scaling.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The scaling configuration input of a compute fleet.
" + } + }, + "com.amazonaws.codebuild#ScalingConfigurationOutput": { + "type": "structure", + "members": { + "scalingType": { + "target": "com.amazonaws.codebuild#FleetScalingType", + "traits": { + "smithy.api#documentation": "The scaling type for a compute fleet.
" + } + }, + "targetTrackingScalingConfigs": { + "target": "com.amazonaws.codebuild#TargetTrackingScalingConfigurations", + "traits": { + "smithy.api#documentation": "A list of TargetTrackingScalingConfiguration
objects.
The maximum number of instances in the fleet when auto-scaling.
" + } + }, + "desiredCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "The desired number of instances in the fleet when auto-scaling.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The scaling configuration output of a compute fleet.
" + } + }, "com.amazonaws.codebuild#SecurityGroupIds": { "type": "list", "member": { @@ -6729,6 +7335,12 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.codebuild#SensitiveString": { + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } + }, "com.amazonaws.codebuild#ServerType": { "type": "enum", "members": { @@ -7338,6 +7950,12 @@ "traits": { "smithy.api#documentation": "Specifies if session debugging is enabled for this build. For more information, see\n Viewing a running build in Session Manager.
" } + }, + "fleetOverride": { + "target": "com.amazonaws.codebuild#ProjectFleet", + "traits": { + "smithy.api#documentation": "A ProjectFleet object specified for this build that overrides the one defined in the\n build project.
" + } } }, "traits": { @@ -7541,6 +8159,32 @@ } } }, + "com.amazonaws.codebuild#TargetTrackingScalingConfiguration": { + "type": "structure", + "members": { + "metricType": { + "target": "com.amazonaws.codebuild#FleetScalingMetricType", + "traits": { + "smithy.api#documentation": "The metric type to determine auto-scaling.
" + } + }, + "targetValue": { + "target": "com.amazonaws.codebuild#WrapperDouble", + "traits": { + "smithy.api#documentation": "The value of metricType
when to start scaling.
Defines when a new instance is auto-scaled into the compute fleet.
" + } + }, + "com.amazonaws.codebuild#TargetTrackingScalingConfigurations": { + "type": "list", + "member": { + "target": "com.amazonaws.codebuild#TargetTrackingScalingConfiguration" + } + }, "com.amazonaws.codebuild#TestCase": { "type": "structure", "members": { @@ -7664,6 +8308,88 @@ "com.amazonaws.codebuild#Timestamp": { "type": "timestamp" }, + "com.amazonaws.codebuild#UpdateFleet": { + "type": "operation", + "input": { + "target": "com.amazonaws.codebuild#UpdateFleetInput" + }, + "output": { + "target": "com.amazonaws.codebuild#UpdateFleetOutput" + }, + "errors": [ + { + "target": "com.amazonaws.codebuild#AccountLimitExceededException" + }, + { + "target": "com.amazonaws.codebuild#InvalidInputException" + }, + { + "target": "com.amazonaws.codebuild#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Updates a compute fleet.
" + } + }, + "com.amazonaws.codebuild#UpdateFleetInput": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.codebuild#NonEmptyString", + "traits": { + "smithy.api#documentation": "The ARN of the compute fleet.
", + "smithy.api#required": {} + } + }, + "baseCapacity": { + "target": "com.amazonaws.codebuild#FleetCapacity", + "traits": { + "smithy.api#documentation": "The initial number of machines allocated to the compute fleet, which defines the number of builds that can\n run in parallel.
" + } + }, + "environmentType": { + "target": "com.amazonaws.codebuild#EnvironmentType", + "traits": { + "smithy.api#documentation": "The environment type of the compute fleet.
\nThe environment type ARM_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),\n Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), \n EU (Frankfurt), and South America (São Paulo).
The environment type LINUX_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), \n EU (Frankfurt), Asia Pacific (Tokyo),\n Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and\n Asia Pacific (Mumbai).
The environment type LINUX_GPU_CONTAINER
is available only in\n regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), \n EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
The environment type WINDOWS_SERVER_2019_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), \n Asia Pacific (Tokyo), Asia Pacific (Mumbai) and\n EU (Ireland).
The environment type WINDOWS_SERVER_2022_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), \n Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and\n Asia Pacific (Mumbai).
For more information, see Build environment compute types in the CodeBuild\n user guide.
" + } + }, + "computeType": { + "target": "com.amazonaws.codebuild#ComputeType", + "traits": { + "smithy.api#documentation": "Information about the compute resources the compute fleet uses. Available values\n include:
\n\n BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for\n builds.
\n BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for\n builds.
\n BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_XLARGE
: Use up to 70 GB memory and 36 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and\n 824 GB of SSD storage for builds. This compute type supports Docker images up to\n 100 GB uncompressed.
If you use BUILD_GENERAL1_SMALL
:
For environment type LINUX_CONTAINER
, you can use up to 3 GB\n memory and 2 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 16\n GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
For environment type ARM_CONTAINER
, you can use up to 4 GB\n memory and 2 vCPUs on ARM-based processors for builds.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB\n memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255\n GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB\n memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build environment\n compute types in the CodeBuild User Guide.\n
" + } + }, + "scalingConfiguration": { + "target": "com.amazonaws.codebuild#ScalingConfigurationInput", + "traits": { + "smithy.api#documentation": "The scaling configuration of the compute fleet.
" + } + }, + "tags": { + "target": "com.amazonaws.codebuild#TagList", + "traits": { + "smithy.api#documentation": "A list of tag key and value pairs associated with this compute fleet.
\nThese tags are available for use by Amazon Web Services services that support CodeBuild build project\n tags.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codebuild#UpdateFleetOutput": { + "type": "structure", + "members": { + "fleet": { + "target": "com.amazonaws.codebuild#Fleet", + "traits": { + "smithy.api#documentation": "A Fleet
object.