AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Starts running a build with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output.

You can also start a build run by overriding some of the build settings in the project. The overrides only apply for that specific start build request. The settings in the project are unaltered.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to StartBuildAsync.

Namespace: Amazon.CodeBuild
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z

Syntax

C#
public virtual StartBuildResponse StartBuild(
         StartBuildRequest request
)

Parameters

request
Type: Amazon.CodeBuild.Model.StartBuildRequest

Container for the necessary parameters to execute the StartBuild service method.

Return Value


The response from the StartBuild service method, as returned by CodeBuild.

Exceptions

ExceptionCondition
AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
InvalidInputException The input value that was provided is not valid.
ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also