Skip to main content

analysis_definitions

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

Overview

Nameanalysis_definitions
TypeResource
Idaws.quicksight.analysis_definitions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
analysis_idstringThe ID of the analysis described. (pattern: <code>[\w-]+</code>)
definitionobjectThe definition of an analysis.
errorsarrayErrors associated with the analysis.
namestringThe descriptive name of the analysis.
request_idstringThe Amazon Web Services request ID for this operation.
resource_statusstringStatus associated with the analysis. CREATION_IN_PROGRESS CREATION_SUCCESSFUL CREATION_FAILED UPDATE_IN_PROGRESS UPDATE_SUCCESSFUL UPDATE_FAILED DELETED (CREATION_IN_PROGRESS, CREATION_SUCCESSFUL, CREATION_FAILED, UPDATE_IN_PROGRESS, UPDATE_SUCCESSFUL, UPDATE_FAILED, DELETED)
statusintegerThe HTTP status of the request.
theme_arnstringThe ARN of the theme of the analysis.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_analysis_definitionselectaws_account_id, analysis_id, regionProvides a detailed description of the definition of an analysis. If you do not need to know details about the content of an Analysis, for instance if you are trying to check the status of a recently created or updated Analysis, use the DescribeAnalysis instead.

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_idstringThe ID of the analysis that you're describing. The ID is part of the URL of the analysis.
aws_account_idstringThe ID of the Amazon Web Services account that contains the analysis. You must be using the Amazon Web Services account that the analysis is in.
regionstringAWS region (default: us-east-1)

SELECT examples

Provides a detailed description of the definition of an analysis. If you do not need to know details about the content of an Analysis, for instance if you are trying to check the status of a recently created or updated Analysis, use the DescribeAnalysis instead.

SELECT
analysis_id,
definition,
errors,
name,
request_id,
resource_status,
status,
theme_arn
FROM aws.quicksight.analysis_definitions
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND analysis_id = '{{ analysis_id }}' -- required
AND region = '{{ region }}' -- required
;