Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CodeBuild

import { CodeBuild } from "https://aws-api.deno.dev/v0.1/services/codebuild.ts?docs=full";
class CodeBuild {
constructor(apiFactory: client.ApiFactory);
async batchDeleteBuilds(params: BatchDeleteBuildsInput): Promise<BatchDeleteBuildsOutput>;
async batchGetBuildBatches(params: BatchGetBuildBatchesInput): Promise<BatchGetBuildBatchesOutput>;
async batchGetBuilds(params: BatchGetBuildsInput): Promise<BatchGetBuildsOutput>;
async batchGetProjects(params: BatchGetProjectsInput): Promise<BatchGetProjectsOutput>;
async batchGetReportGroups(params: BatchGetReportGroupsInput): Promise<BatchGetReportGroupsOutput>;
async batchGetReports(params: BatchGetReportsInput): Promise<BatchGetReportsOutput>;
async createProject(params: CreateProjectInput): Promise<CreateProjectOutput>;
async createReportGroup(params: CreateReportGroupInput): Promise<CreateReportGroupOutput>;
async createWebhook(params: CreateWebhookInput): Promise<CreateWebhookOutput>;
async deleteBuildBatch(params: DeleteBuildBatchInput): Promise<DeleteBuildBatchOutput>;
async deleteProject(params: DeleteProjectInput): Promise<void>;
async deleteReport(params: DeleteReportInput): Promise<void>;
async deleteReportGroup(params: DeleteReportGroupInput): Promise<void>;
async deleteResourcePolicy(params: DeleteResourcePolicyInput): Promise<void>;
async deleteSourceCredentials(params: DeleteSourceCredentialsInput): Promise<DeleteSourceCredentialsOutput>;
async deleteWebhook(params: DeleteWebhookInput): Promise<void>;
async describeCodeCoverages(params: DescribeCodeCoveragesInput): Promise<DescribeCodeCoveragesOutput>;
async describeTestCases(params: DescribeTestCasesInput): Promise<DescribeTestCasesOutput>;
async getReportGroupTrend(params: GetReportGroupTrendInput): Promise<GetReportGroupTrendOutput>;
async getResourcePolicy(params: GetResourcePolicyInput): Promise<GetResourcePolicyOutput>;
async importSourceCredentials(params: ImportSourceCredentialsInput): Promise<ImportSourceCredentialsOutput>;
async invalidateProjectCache(params: InvalidateProjectCacheInput): Promise<void>;
async listBuildBatches(params?: ListBuildBatchesInput): Promise<ListBuildBatchesOutput>;
async listBuildBatchesForProject(params?: ListBuildBatchesForProjectInput): Promise<ListBuildBatchesForProjectOutput>;
async listBuilds(params?: ListBuildsInput): Promise<ListBuildsOutput>;
async listBuildsForProject(params: ListBuildsForProjectInput): Promise<ListBuildsForProjectOutput>;
async listCuratedEnvironmentImages(): Promise<ListCuratedEnvironmentImagesOutput>;
async listProjects(params?: ListProjectsInput): Promise<ListProjectsOutput>;
async listReportGroups(params?: ListReportGroupsInput): Promise<ListReportGroupsOutput>;
async listReports(params?: ListReportsInput): Promise<ListReportsOutput>;
async listReportsForReportGroup(params: ListReportsForReportGroupInput): Promise<ListReportsForReportGroupOutput>;
async listSharedProjects(params?: ListSharedProjectsInput): Promise<ListSharedProjectsOutput>;
async listSharedReportGroups(params?: ListSharedReportGroupsInput): Promise<ListSharedReportGroupsOutput>;
async listSourceCredentials(): Promise<ListSourceCredentialsOutput>;
async putResourcePolicy(params: PutResourcePolicyInput): Promise<PutResourcePolicyOutput>;
async retryBuild(params?: RetryBuildInput): Promise<RetryBuildOutput>;
async retryBuildBatch(params?: RetryBuildBatchInput): Promise<RetryBuildBatchOutput>;
async startBuild(params: StartBuildInput): Promise<StartBuildOutput>;
async startBuildBatch(params: StartBuildBatchInput): Promise<StartBuildBatchOutput>;
async stopBuild(params: StopBuildInput): Promise<StopBuildOutput>;
async stopBuildBatch(params: StopBuildBatchInput): Promise<StopBuildBatchOutput>;
async updateProject(params: UpdateProjectInput): Promise<UpdateProjectOutput>;
async updateReportGroup(params: UpdateReportGroupInput): Promise<UpdateReportGroupOutput>;
async updateWebhook(params: UpdateWebhookInput): Promise<UpdateWebhookOutput>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new CodeBuild(apiFactory: client.ApiFactory)
[src]

§Methods

§
batchDeleteBuilds(params: BatchDeleteBuildsInput): Promise<BatchDeleteBuildsOutput>
[src]

Deletes one or more builds.

§
batchGetBuildBatches(params: BatchGetBuildBatchesInput): Promise<BatchGetBuildBatchesOutput>
[src]

Retrieves information about one or more batch builds.

§
batchGetBuilds(params: BatchGetBuildsInput): Promise<BatchGetBuildsOutput>
[src]

Gets information about one or more builds.

§
batchGetProjects(params: BatchGetProjectsInput): Promise<BatchGetProjectsOutput>
[src]

Gets information about one or more build projects.

§
batchGetReportGroups(params: BatchGetReportGroupsInput): Promise<BatchGetReportGroupsOutput>
[src]

Returns an array of report groups.

§
batchGetReports(params: BatchGetReportsInput): Promise<BatchGetReportsOutput>
[src]

Returns an array of reports.

§
createProject(params: CreateProjectInput): Promise<CreateProjectOutput>
[src]

Creates a build project.

§
createReportGroup(params: CreateReportGroupInput): Promise<CreateReportGroupOutput>
[src]

Creates a report group. A report group contains a collection of reports.

§
createWebhook(params: CreateWebhookInput): Promise<CreateWebhookOutput>
[src]

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.

! IMPORTANT: ! If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. ! One build is triggered through webhooks, and one through AWS CodePipeline. ! Because billing is on a per-build basis, you are billed for both builds. ! Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. ! In the AWS CodeBuild console, clear the Webhook box. ! For more information, see step 5 in Change a Build Project's Settings.

§
deleteBuildBatch(params: DeleteBuildBatchInput): Promise<DeleteBuildBatchOutput>
[src]

Deletes a batch build.

§
deleteProject(params: DeleteProjectInput): Promise<void>
[src]

Deletes a build project. When you delete a project, its builds are not deleted.

§
deleteReport(params: DeleteReportInput): Promise<void>
[src]

Deletes a report.

§
deleteReportGroup(params: DeleteReportGroupInput): Promise<void>
[src]

Deletes a report group. Before you delete a report group, you must delete its reports.

§
deleteResourcePolicy(params: DeleteResourcePolicyInput): Promise<void>
[src]

Deletes a resource policy that is identified by its resource ARN.

§
deleteSourceCredentials(params: DeleteSourceCredentialsInput): Promise<DeleteSourceCredentialsOutput>
[src]

Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.

§
deleteWebhook(params: DeleteWebhookInput): Promise<void>
[src]

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(params: DescribeCodeCoveragesInput): Promise<DescribeCodeCoveragesOutput>
[src]

Retrieves one or more code coverage reports.

§
describeTestCases(params: DescribeTestCasesInput): Promise<DescribeTestCasesOutput>
[src]

Returns a list of details about test cases for a report.

§
getReportGroupTrend(params: GetReportGroupTrendInput): Promise<GetReportGroupTrendOutput>
[src]

Analyzes and accumulates test report values for the specified test reports.

§
getResourcePolicy(params: GetResourcePolicyInput): Promise<GetResourcePolicyOutput>
[src]

Gets a resource policy that is identified by its resource ARN.

§
importSourceCredentials(params: ImportSourceCredentialsInput): Promise<ImportSourceCredentialsOutput>
[src]

Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.

§
invalidateProjectCache(params: InvalidateProjectCacheInput): Promise<void>
[src]

Resets the cache for a project.

§
listBuildBatches(params?: ListBuildBatchesInput): Promise<ListBuildBatchesOutput>
[src]

Retrieves the identifiers of your build batches in the current region.

§
listBuildBatchesForProject(params?: ListBuildBatchesForProjectInput): Promise<ListBuildBatchesForProjectOutput>
[src]

Retrieves the identifiers of the build batches for a specific project.

§
listBuilds(params?: ListBuildsInput): Promise<ListBuildsOutput>
[src]

Gets a list of build IDs, with each build ID representing a single build.

§
listBuildsForProject(params: ListBuildsForProjectInput): Promise<ListBuildsForProjectOutput>
[src]

Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.

§
listCuratedEnvironmentImages(): Promise<ListCuratedEnvironmentImagesOutput>
[src]

Gets information about Docker images that are managed by AWS CodeBuild.

§
listProjects(params?: ListProjectsInput): Promise<ListProjectsOutput>
[src]

Gets a list of build project names, with each build project name representing a single build project.

§
listReportGroups(params?: ListReportGroupsInput): Promise<ListReportGroupsOutput>
[src]

Gets a list ARNs for the report groups in the current AWS account.

§
listReports(params?: ListReportsInput): Promise<ListReportsOutput>
[src]

Returns a list of ARNs for the reports in the current AWS account.

§
listReportsForReportGroup(params: ListReportsForReportGroupInput): Promise<ListReportsForReportGroupOutput>
[src]

Returns a list of ARNs for the reports that belong to a ReportGroup.

§
listSharedProjects(params?: ListSharedProjectsInput): Promise<ListSharedProjectsOutput>
[src]

Gets a list of projects that are shared with other AWS accounts or users.

§
listSharedReportGroups(params?: ListSharedReportGroupsInput): Promise<ListSharedReportGroupsOutput>
[src]

Gets a list of report groups that are shared with other AWS accounts or users.

§
listSourceCredentials(): Promise<ListSourceCredentialsOutput>
[src]

Returns a list of SourceCredentialsInfo objects.

§
putResourcePolicy(params: PutResourcePolicyInput): Promise<PutResourcePolicyOutput>
[src]

Stores a resource policy for the ARN of a Project or ReportGroup object.

§
retryBuild(params?: RetryBuildInput): Promise<RetryBuildOutput>
[src]

Restarts a build.

§
retryBuildBatch(params?: RetryBuildBatchInput): Promise<RetryBuildBatchOutput>
[src]

Restarts a failed batch build. Only batch builds that have failed can be retried.

§
startBuild(params: StartBuildInput): Promise<StartBuildOutput>
[src]

Starts running a build.

§
startBuildBatch(params: StartBuildBatchInput): Promise<StartBuildBatchOutput>
[src]

Starts a batch build for a project.

§
stopBuild(params: StopBuildInput): Promise<StopBuildOutput>
[src]

Attempts to stop running a build.

§
stopBuildBatch(params: StopBuildBatchInput): Promise<StopBuildBatchOutput>
[src]

Stops a running batch build.

§
updateProject(params: UpdateProjectInput): Promise<UpdateProjectOutput>
[src]

Changes the settings of a build project.

§
updateReportGroup(params: UpdateReportGroupInput): Promise<UpdateReportGroupOutput>
[src]

Updates a report group.

§
updateWebhook(params: UpdateWebhookInput): Promise<UpdateWebhookOutput>
[src]

Updates the webhook associated with an AWS CodeBuild build project.

Note: If you use Bitbucket for your repository, rotateSecret is ignored.

§Static Properties