Skip to main content

report_metadatas

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

Overview

Namereport_metadatas
TypeResource
Idaws.artifact.report_metadatas

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>)
created_atstring (date-time)Timestamp indicating when the report resource was created.
deleted_atstring (date-time)Timestamp indicating when the report resource was deleted.
descriptionstringDescription for the report resource. (pattern: <code>[^<>]*</code>)
last_modified_atstring (date-time)Timestamp indicating when the report resource was last modified.
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>)
sequence_numberinteger (int64)Sequence number to enforce optimistic locking.
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.
term_arnstringUnique resource ARN for term resource. (pattern: <code>[^<>]*</code>)
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
get_report_metadataselectreportId, regionreportVersionGet the metadata for a single 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.
reportVersioninteger (int64)Version for the report resource.

SELECT examples

Get the metadata for a single report.

SELECT
id,
name,
acceptance_type,
arn,
category,
company_name,
created_at,
deleted_at,
description,
last_modified_at,
period_end,
period_start,
product_name,
sequence_number,
series,
state,
status_message,
term_arn,
upload_state,
version
FROM aws.artifact.report_metadatas
WHERE reportId = '{{ reportId }}' -- required
AND region = '{{ region }}' -- required
AND reportVersion = '{{ reportVersion }}'
;