reports
Creates, updates, deletes, gets or lists a reports resource.
Overview
| Name | reports |
| Type | Resource |
| Id | aws.codebuild.reports |
Fields
The following fields are returned by SELECT queries:
- batch_get_reports
- list_reports
| Name | Datatype | Description |
|---|---|---|
reports | array | The array of Report objects returned by BatchGetReports. |
reports_not_found | array | An array of ARNs passed to BatchGetReportGroups that are not associated with a Report. |
| Name | Datatype | Description |
|---|---|---|
report | string | The list of returned ARNs for the reports in the current Amazon Web Services account. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
batch_get_reports | select | region | Returns an array of reports. | |
list_reports | select | region | Returns a list of ARNs for the reports in the current Amazon Web Services account. | |
delete_report | delete | region | Deletes 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- batch_get_reports
- list_reports
Returns an array of reports.
SELECT
reports,
reports_not_found
FROM aws.codebuild.reports
WHERE region = '{{ region }}' -- required
;
Returns a list of ARNs for the reports in the current Amazon Web Services account.
SELECT
report
FROM aws.codebuild.reports
WHERE region = '{{ region }}' -- required
;
DELETE examples
- delete_report
Deletes a report.
DELETE FROM aws.codebuild.reports
WHERE region = '{{ region }}' --required
;