# AWS CodeBuild API Reference > AWS CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild to use your own build tools. CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about CodeBuild, see the AWS CodeBuild User Guide. - [Welcome](https://docs.aws.amazon.com/codebuild/latest/APIReference/Welcome.md) - [Common Parameters](https://docs.aws.amazon.com/codebuild/latest/APIReference/CommonParameters.md) - [Common Error Types](https://docs.aws.amazon.com/codebuild/latest/APIReference/CommonErrors.md) ## [Actions](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Operations.md) - [BatchDeleteBuilds](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchDeleteBuilds.md): Deletes one or more builds. - [BatchGetBuildBatches](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetBuildBatches.md): Retrieves information about one or more batch builds. - [BatchGetBuilds](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetBuilds.md): Gets information about one or more builds. - [BatchGetCommandExecutions](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetCommandExecutions.md): Gets information about the command executions. - [BatchGetFleets](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetFleets.md): Gets information about one or more compute fleets. - [BatchGetProjects](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetProjects.md): Gets information about one or more build projects. - [BatchGetReportGroups](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetReportGroups.md): Returns an array of report groups. - [BatchGetReports](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetReports.md): Returns an array of reports. - [BatchGetSandboxes](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetSandboxes.md): Gets information about the sandbox status. - [CreateFleet](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CreateFleet.md): Creates a compute fleet. - [CreateProject](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CreateProject.md): Creates a build project. - [CreateReportGroup](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CreateReportGroup.md): Creates a report group. - [CreateWebhook](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CreateWebhook.md): For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. - [DeleteBuildBatch](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteBuildBatch.md): Deletes a batch build. - [DeleteFleet](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteFleet.md): Deletes a compute fleet. - [DeleteProject](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteProject.md): Deletes a build project. - [DeleteReport](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.md): Deletes a report. - [DeleteReportGroup](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReportGroup.md): Deletes a report group. - [DeleteResourcePolicy](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteResourcePolicy.md): Deletes a resource policy that is identified by its resource ARN. - [DeleteSourceCredentials](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteSourceCredentials.md): Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. - [DeleteWebhook](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteWebhook.md): For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository. - [DescribeCodeCoverages](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DescribeCodeCoverages.md): Retrieves one or more code coverage reports. - [DescribeTestCases](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DescribeTestCases.md): Returns a list of details about test cases for a report. - [GetReportGroupTrend](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_GetReportGroupTrend.md): Analyzes and accumulates test report values for the specified test reports. - [GetResourcePolicy](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_GetResourcePolicy.md): Gets a resource policy that is identified by its resource ARN. - [ImportSourceCredentials](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ImportSourceCredentials.md): Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. - [InvalidateProjectCache](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_InvalidateProjectCache.md): Resets the cache for a project. - [ListBuildBatches](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListBuildBatches.md): Retrieves the identifiers of your build batches in the current region. - [ListBuildBatchesForProject](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListBuildBatchesForProject.md): Retrieves the identifiers of the build batches for a specific project. - [ListBuilds](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListBuilds.md): Gets a list of build IDs, with each build ID representing a single build. - [ListBuildsForProject](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListBuildsForProject.md): Gets a list of build identifiers for the specified build project, with each build identifier representing a single build. - [ListCommandExecutionsForSandbox](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListCommandExecutionsForSandbox.md): Gets a list of command executions for a sandbox. - [ListCuratedEnvironmentImages](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListCuratedEnvironmentImages.md): Gets information about Docker images that are managed by AWS CodeBuild. - [ListFleets](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListFleets.md): Gets a list of compute fleet names with each compute fleet name representing a single compute fleet. - [ListProjects](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListProjects.md): Gets a list of build project names, with each build project name representing a single build project. - [ListReportGroups](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportGroups.md): Gets a list ARNs for the report groups in the current AWS account. - [ListReports](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReports.md): Returns a list of ARNs for the reports in the current AWS account. - [ListReportsForReportGroup](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.md): Returns a list of ARNs for the reports that belong to a ReportGroup. - [ListSandboxes](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSandboxes.md): Gets a list of sandboxes. - [ListSandboxesForProject](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSandboxesForProject.md): Gets a list of sandboxes for a given project. - [ListSharedProjects](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSharedProjects.md): Gets a list of projects that are shared with other AWS accounts or users. - [ListSharedReportGroups](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSharedReportGroups.md): Gets a list of report groups that are shared with other AWS accounts or users. - [ListSourceCredentials](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSourceCredentials.md): Returns a list of SourceCredentialsInfo objects. - [PutResourcePolicy](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_PutResourcePolicy.md): Stores a resource policy for the ARN of a Project or ReportGroup object. - [RetryBuild](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_RetryBuild.md): Restarts a build. - [RetryBuildBatch](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_RetryBuildBatch.md): Restarts a failed batch build. - [StartBuild](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.md): Starts running a build with the settings defined in the project. - [StartBuildBatch](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuildBatch.md): Starts a batch build for a project. - [StartCommandExecution](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartCommandExecution.md): Starts a command execution. - [StartSandbox](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartSandbox.md): Starts a sandbox. - [StartSandboxConnection](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartSandboxConnection.md): Starts a sandbox connection. - [StopBuild](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StopBuild.md): Attempts to stop running a build. - [StopBuildBatch](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StopBuildBatch.md): Stops a running batch build. - [StopSandbox](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StopSandbox.md): Stops a sandbox. - [UpdateFleet](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateFleet.md): Updates a compute fleet. - [UpdateProject](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateProject.md): Changes the settings of a build project. - [UpdateProjectVisibility](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateProjectVisibility.md): Changes the public visibility for a project. - [UpdateReportGroup](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateReportGroup.md): Updates a report group. - [UpdateWebhook](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateWebhook.md): Updates the webhook associated with an AWS CodeBuild build project. ## [Data Types](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Types.md) - [AutoRetryConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_AutoRetryConfig.md): Information about the auto-retry configuration for the build. - [BatchRestrictions](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchRestrictions.md): Specifies restrictions for the batch build. - [Build](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Build.md): Information about a build. - [BuildArtifacts](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildArtifacts.md): Information about build output artifacts. - [BuildBatch](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildBatch.md): Contains information about a batch build. - [BuildBatchFilter](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildBatchFilter.md): Specifies filters when retrieving batch builds. - [BuildBatchPhase](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildBatchPhase.md): Contains information about a stage for a batch build. - [BuildGroup](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildGroup.md): Contains information about a batch build build group. - [BuildNotDeleted](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildNotDeleted.md): Information about a build that could not be successfully deleted. - [BuildPhase](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildPhase.md): Information about a stage for a build. - [BuildStatusConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildStatusConfig.md): Contains information that defines how the AWS CodeBuild build project reports the build status to the source provider. - [BuildSummary](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BuildSummary.md): Contains summary information about a batch build group. - [CloudWatchLogsConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CloudWatchLogsConfig.md): Information about CloudWatch Logs for a build project. - [CodeCoverage](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CodeCoverage.md): Contains code coverage report information. - [CodeCoverageReportSummary](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CodeCoverageReportSummary.md): Contains a summary of a code coverage report. - [CommandExecution](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CommandExecution.md): Contains command execution information. - [ComputeConfiguration](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ComputeConfiguration.md): Contains compute attributes. - [DebugSession](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DebugSession.md): Contains information about the debug session for a build. - [DockerServer](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DockerServer.md): Contains docker server information. - [DockerServerStatus](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DockerServerStatus.md): Contains information about the status of the docker server. - [EnvironmentImage](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_EnvironmentImage.md): Information about a Docker image that is managed by AWS CodeBuild. - [EnvironmentLanguage](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_EnvironmentLanguage.md): A set of Docker images that are related by programming language and are managed by AWS CodeBuild. - [EnvironmentPlatform](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_EnvironmentPlatform.md): A set of Docker images that are related by platform and are managed by AWS CodeBuild. - [EnvironmentVariable](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_EnvironmentVariable.md): Information about an environment variable for a build project or a build. - [ExportedEnvironmentVariable](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ExportedEnvironmentVariable.md): Contains information about an exported environment variable. - [Fleet](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Fleet.md): A set of dedicated instances for your build environment. - [FleetProxyRule](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_FleetProxyRule.md): Information about the proxy rule for your reserved capacity instances. - [FleetStatus](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_FleetStatus.md): The status of the compute fleet. - [GitSubmodulesConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_GitSubmodulesConfig.md): Information about the Git submodules configuration for an AWS CodeBuild build project. - [LogsConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_LogsConfig.md): Information about logs for a build project. - [LogsLocation](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_LogsLocation.md): Information about build logs in CloudWatch Logs. - [NetworkInterface](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_NetworkInterface.md): Describes a network interface. - [PhaseContext](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_PhaseContext.md): Additional information about a build phase that has an error. - [Project](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Project.md): Information about a build project. - [ProjectArtifacts](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectArtifacts.md): Information about the build output artifacts for the build project. - [ProjectBadge](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectBadge.md): Information about the build badge for the build project. - [ProjectBuildBatchConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectBuildBatchConfig.md): Contains configuration information about a batch build project. - [ProjectCache](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectCache.md): Information about the cache for the build project. - [ProjectEnvironment](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectEnvironment.md): Information about the build environment of the build project. - [ProjectFileSystemLocation](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectFileSystemLocation.md): Information about a file system created by Amazon Elastic File System (EFS). - [ProjectFleet](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectFleet.md): Information about the compute fleet of the build project. - [ProjectSource](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectSource.md): Information about the build input source code for the build project. - [ProjectSourceVersion](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectSourceVersion.md): A source identifier and its corresponding version. - [ProxyConfiguration](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProxyConfiguration.md): Information about the proxy configurations that apply network access control to your reserved capacity instances. - [PullRequestBuildPolicy](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_PullRequestBuildPolicy.md): A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. - [RegistryCredential](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_RegistryCredential.md): Information about credentials that provide access to a private Docker registry. - [Report](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Report.md): Information about the results from running a series of test cases during the run of a build project. - [ReportExportConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ReportExportConfig.md): Information about the location where the run of a report is exported. - [ReportFilter](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ReportFilter.md): A filter used to return reports with the status specified by the input status parameter. - [ReportGroup](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ReportGroup.md): A series of reports. - [ReportGroupTrendStats](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ReportGroupTrendStats.md): Contains trend statistics for a set of reports. - [ReportWithRawData](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ReportWithRawData.md): Contains the unmodified data for the report. - [ResolvedArtifact](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ResolvedArtifact.md): Represents a resolved build artifact. - [S3LogsConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_S3LogsConfig.md): Information about S3 logs for a build project. - [S3ReportExportConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_S3ReportExportConfig.md): Information about the S3 bucket where the raw data of a report are exported. - [Sandbox](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Sandbox.md): Contains sandbox information. - [SandboxSession](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_SandboxSession.md): Contains information about the sandbox session. - [SandboxSessionPhase](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_SandboxSessionPhase.md): Contains information about the sandbox phase. - [ScalingConfigurationInput](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ScalingConfigurationInput.md): The scaling configuration input of a compute fleet. - [ScalingConfigurationOutput](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ScalingConfigurationOutput.md): The scaling configuration output of a compute fleet. - [ScopeConfiguration](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ScopeConfiguration.md): Contains configuration information about the scope for a webhook. - [SourceAuth](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_SourceAuth.md): Information about the authorization settings for AWS CodeBuild to access the source code to be built. - [SourceCredentialsInfo](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_SourceCredentialsInfo.md): Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. - [SSMSession](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_SSMSession.md): Contains information about the Session Manager session. - [Tag](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Tag.md): A tag, consisting of a key and a value. - [TargetTrackingScalingConfiguration](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_TargetTrackingScalingConfiguration.md): Defines when a new instance is auto-scaled into the compute fleet. - [TestCase](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_TestCase.md): Information about a test case created using a framework such as NUnit or Cucumber. - [TestCaseFilter](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_TestCaseFilter.md): A filter used to return specific types of test cases. - [TestReportSummary](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_TestReportSummary.md): Information about a test report. - [VpcConfig](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_VpcConfig.md): Information about the VPC configuration that AWS CodeBuild accesses. - [Webhook](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Webhook.md): Information about a webhook that connects repository events to a build project in AWS CodeBuild. - [WebhookFilter](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_WebhookFilter.md): A filter used to determine which webhooks trigger a build.