Creates a dashboard from a template. To first create a template, see the CreateTemplate API operation.
quicksight_create_dashboard(AwsAccountId, DashboardId, Name, Parameters,
Permissions, SourceEntity, Tags, VersionDescription,
DashboardPublishOptions, ThemeArn)
[required] The ID of the AWS account where you want to create the dashboard.
[required] The ID for the dashboard, also added to the IAM policy.
[required] The display name of the dashboard.
The parameters for the creation of the dashboard, which you want to use to override the default settings. A dashboard can have any type of parameters, and some parameters might accept multiple values.
A structure that contains the permissions of the dashboard. You can use this structure for granting permissions with principal and action information.
[required] The entity that you are using as a source when you create the dashboard.
In SourceEntity
, you specify the type of object you\'re using as
source. You can only create a dashboard from a template, so you use a
SourceTemplate
entity. If you need to create a dashboard from an
analysis, first convert the analysis to a template by using the
CreateTemplate API operation. For SourceTemplate
, specify the Amazon
Resource Name (ARN) of the source template. The SourceTemplate
ARN can
contain any AWS Account and any QuickSight-supported AWS Region.
Use the DataSetReferences
entity within SourceTemplate
to list the
replacement datasets for the placeholders listed in the original. The
schema in each dataset must match its placeholder.
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
A description for the first version of the dashboard being created.
Options for publishing the dashboard when you create it:
AvailabilityStatus
for AdHocFilteringOption
- This status can be
either ENABLED
or DISABLED
. When this is set to DISABLED
,
QuickSight disables the left filter pane on the published dashboard,
which can be used for ad hoc (one-time) filtering. This option is
ENABLED
by default.
AvailabilityStatus
for ExportToCSVOption
- This status can be
either ENABLED
or DISABLED
. The visual option to export data to
.csv format isn\'t enabled when this is set to DISABLED
. This
option is ENABLED
by default.
VisibilityState
for SheetControlsOption
- This visibility state
can be either COLLAPSED
or EXPANDED
. This option is COLLAPSED
by default.
The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If you add a value for this field, it overrides the value that is used in the source entity. The theme ARN must exist in the same AWS account where you create the dashboard.
svc$create_dashboard( AwsAccountId = "string", DashboardId = "string", Name = "string", Parameters = list( StringParameters = list( list( Name = "string", Values = list( "string" ) ) ), IntegerParameters = list( list( Name = "string", Values = list( 123 ) ) ), DecimalParameters = list( list( Name = "string", Values = list( 123.0 ) ) ), DateTimeParameters = list( list( Name = "string", Values = list( as.POSIXct( "2015-01-01" ) ) ) ) ), Permissions = list( list( Principal = "string", Actions = list( "string" ) ) ), SourceEntity = list( SourceTemplate = list( DataSetReferences = list( list( DataSetPlaceholder = "string", DataSetArn = "string" ) ), Arn = "string" ) ), Tags = list( list( Key = "string", Value = "string" ) ), VersionDescription = "string", DashboardPublishOptions = list( AdHocFilteringOption = list( AvailabilityStatus = "ENABLED"|"DISABLED" ), ExportToCSVOption = list( AvailabilityStatus = "ENABLED"|"DISABLED" ), SheetControlsOption = list( VisibilityState = "EXPANDED"|"COLLAPSED" ) ), ThemeArn = "string" )
A dashboard is an entity in QuickSight that identifies QuickSight
reports, created from analyses. You can share QuickSight dashboards.
With the right permissions, you can create scheduled email reports from
them. The CreateDashboard
, DescribeDashboard
, and
ListDashboardsByUser
API operations act on the dashboard entity. If
you have the correct permissions, you can create a dashboard from a
template that exists in a different AWS account.