Skip to main content

report_versions

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

Overview​

Namereport_versions
TypeResource
Idaws.artifact.report_versions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringUnique resource ID for the report resource. (pattern: <code>report-[a-zA-Z0-9]{16}</code>)
namestringName for the report resource. (pattern: <code>[a-zA-Z0-9_-\s]*</code>)
acceptance_typestringAcceptance type for report. (PASSTHROUGH, EXPLICIT)
arnstringARN for the report resource. (pattern: <code>[^<>]*</code>)
categorystringCategory for the report resource. (pattern: <code>[a-zA-Z0-9_-\s]*</code>)
company_namestringAssociated company name for the report resource. (pattern: <code>[a-zA-Z0-9_-\s]*</code>)
descriptionstringDescription for the report resource. (pattern: <code>[^<>]*</code>)
period_endstring (date-time)Timestamp indicating the report resource effective end.
period_startstring (date-time)Timestamp indicating the report resource effective start.
product_namestringAssociated product name for the report resource. (pattern: <code>[a-zA-Z0-9_-\s]*</code>)
seriesstringSeries for the report resource. (pattern: <code>[a-zA-Z0-9_-\s]*</code>)
statestringCurrent state of the report resource. (PUBLISHED, UNPUBLISHED)
status_messagestringThe message associated with the current upload state.
upload_statestringThe current state of the document upload. (PROCESSING, COMPLETE, FAILED, FAULT)
versioninteger (int64)Version for the report resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_report_versionsselectreportId, regionmaxResults, nextTokenList available report versions for a given 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)
reportIdstringUnique resource ID for the report resource.
maxResultsintegerMaximum number of resources to return in the paginated response.
nextTokenstringPagination token to request the next page of resources.

SELECT examples​

List available report versions for a given report.

SELECT
id,
name,
acceptance_type,
arn,
category,
company_name,
description,
period_end,
period_start,
product_name,
series,
state,
status_message,
upload_state,
version
FROM aws.artifact.report_versions
WHERE reportId = '{{ reportId }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;