Skip to main content

reports

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

Overview

Namereports
TypeResource
Idaws.artifact.reports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
document_presigned_urlstringPresigned S3 url to access the report content.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_reportselectreportId, termToken, regionreportVersionGet the content for a single report.
list_reportsselectregionmaxResults, nextTokenList available reports.

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)
reportIdstringUnique resource ID for the report resource.
termTokenstringUnique download token provided by GetTermForReport API.
maxResultsintegerMaximum number of resources to return in the paginated response.
nextTokenstringPagination token to request the next page of resources.
reportVersioninteger (int64)Version for the report resource.

SELECT examples

Get the content for a single report.

SELECT
document_presigned_url
FROM aws.artifact.reports
WHERE reportId = '{{ reportId }}' -- required
AND termToken = '{{ termToken }}' -- required
AND region = '{{ region }}' -- required
AND reportVersion = '{{ reportVersion }}'
;