Skip to main content

build_batches

Creates, updates, deletes, gets or lists a build_batches resource.

Overview

Namebuild_batches
TypeResource
Idaws.codebuild.build_batches

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
build_batchesarrayAn array of BuildBatch objects that represent the retrieved batch builds.
build_batches_not_foundarrayAn array that contains the identifiers of any batch builds that are not found.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_build_batchesselectregionRetrieves information about one or more batch builds.
list_build_batchesselectregionRetrieves the identifiers of your build batches in the current region.
delete_build_batchdeleteregionDeletes a batch build.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves information about one or more batch builds.

SELECT
build_batches,
build_batches_not_found
FROM aws.codebuild.build_batches
WHERE region = '{{ region }}' -- required
;

DELETE examples

Deletes a batch build.

DELETE FROM aws.codebuild.build_batches
WHERE region = '{{ region }}' --required
;