Skip to main content

reports

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

Overview

Namereports
TypeResource
Idaws.codebuild.reports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
reportsarrayThe array of Report objects returned by BatchGetReports.
reports_not_foundarrayAn array of ARNs passed to BatchGetReportGroups that are not associated with a Report.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_reportsselectregionReturns an array of reports.
list_reportsselectregionReturns a list of ARNs for the reports in the current Amazon Web Services account.
delete_reportdeleteregionDeletes a report.

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

Returns an array of reports.

SELECT
reports,
reports_not_found
FROM aws.codebuild.reports
WHERE region = '{{ region }}' -- required
;

DELETE examples

Deletes a report.

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