Skip to main content

dashboard_definitions

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

Overview

Namedashboard_definitions
TypeResource
Idaws.quicksight.dashboard_definitions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
dashboard_idstringThe ID of the dashboard described. (pattern: <code>[\w-]+</code>)
dashboard_publish_optionsobjectDashboard publish options.
definitionobjectThe contents of a dashboard.
errorsarrayErrors associated with this dashboard version.
namestringThe display name of the dashboard.
request_idstringThe Amazon Web Services request ID for this operation.
resource_statusstringStatus associated with the dashboard version. 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 dashboard.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_dashboard_definitionselectaws_account_id, dashboard_id, regionversion-number, alias-nameProvides a detailed description of the definition of a dashboard. If you do not need to know details about the content of a dashboard, for instance if you are trying to check the status of a recently created or updated dashboard, use the DescribeDashboard 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
aws_account_idstringThe ID of the Amazon Web Services account that contains the dashboard that you're describing.
dashboard_idstringThe ID for the dashboard.
regionstringAWS region (default: us-east-1)
alias-namestringThe alias name.
version-numberinteger (int64)The version number for the dashboard. If a version number isn't passed, the latest published dashboard version is described.

SELECT examples

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

SELECT
dashboard_id,
dashboard_publish_options,
definition,
errors,
name,
request_id,
resource_status,
status,
theme_arn
FROM aws.quicksight.dashboard_definitions
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND dashboard_id = '{{ dashboard_id }}' -- required
AND region = '{{ region }}' -- required
AND `version-number` = '{{ version-number }}'
AND `alias-name` = '{{ alias-name }}'
;