Skip to main content

analysis_log_exports

Creates, updates, deletes, gets or lists an analysis_log_exports resource.

Overview

Nameanalysis_log_exports
TypeResource
Idaws.cleanrooms.analysis_log_exports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
analysis_idstringThe unique identifier of the protected query that the analysis logs were exported for. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
analysis_log_export_idstringThe unique identifier of the analysis log export. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
analysis_typestringThe type of analysis that the logs were exported for. Currently, only PROTECTED_QUERY is supported. (PROTECTED_QUERY)
create_timestring (date-time)The time the analysis log export was created.
errorobjectThe analysis log export error. This is present only when the export status is FAILED.
membership_idstringThe unique identifier of the membership that the analysis log export belongs to. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
result_configurationobjectContains the details needed to write the exported analysis logs.
statusstringThe status of the analysis log export. Possible values are: IN_PROGRESS – The export is currently running. SUCCESS – The export completed successfully. FAILED – The export failed. See the error field for details. (IN_PROGRESS, SUCCESS, FAILED)
update_timestring (date-time)The time the analysis log export was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_analysis_log_exportselectmembership_identifier, analysis_log_export_identifier, regionReturns information about an analysis log export, including its current status and, if the export failed, the reason for the failure. Poll this operation until the status is SUCCESS or FAILED. An export can't be canceled after it starts.
list_analysis_log_exportsselectmembership_identifier, regionanalysisIdentifier, status, nextToken, maxResultsLists analysis log exports, sorted by the most recent export. Results are paginated. Use the nextToken parameter to retrieve additional results.

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
analysis_log_export_identifierstringThe unique identifier of the analysis log export to retrieve.
membership_identifierstringA unique identifier for the membership to list analysis log exports for. Currently accepts the membership ID.
regionstringAWS region (default: us-east-1)
analysisIdentifierstringA filter on the unique identifier of the protected query that the analysis logs were exported for.
maxResultsintegerThe maximum number of results that are returned for an API request call. The service chooses a default number if you don't set one. The service might return a nextToken even if the maxResults value has not been met.
nextTokenstringThe pagination token that's used to fetch the next set of results.
statusstringA filter on the status of the analysis log export.

SELECT examples

Returns information about an analysis log export, including its current status and, if the export failed, the reason for the failure. Poll this operation until the status is SUCCESS or FAILED. An export can't be canceled after it starts.

SELECT
analysis_id,
analysis_log_export_id,
analysis_type,
create_time,
error,
membership_id,
result_configuration,
status,
update_time
FROM aws.cleanrooms.analysis_log_exports
WHERE membership_identifier = '{{ membership_identifier }}' -- required
AND analysis_log_export_identifier = '{{ analysis_log_export_identifier }}' -- required
AND region = '{{ region }}' -- required
;