You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::QuickSight::Types::CreateDashboardRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::QuickSight::Types::CreateDashboardRequest
- Defined in:
- (unknown)
Overview
When passing CreateDashboardRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
aws_account_id: "AwsAccountId", # required
dashboard_id: "RestrictiveResourceId", # required
name: "DashboardName", # required
parameters: {
string_parameters: [
{
name: "NonEmptyString", # required
values: ["String"], # required
},
],
integer_parameters: [
{
name: "NonEmptyString", # required
values: [1], # required
},
],
decimal_parameters: [
{
name: "NonEmptyString", # required
values: [1.0], # required
},
],
date_time_parameters: [
{
name: "NonEmptyString", # required
values: [Time.now], # required
},
],
},
permissions: [
{
principal: "Principal", # required
actions: ["String"], # required
},
],
source_entity: { # required
source_template: {
data_set_references: [ # required
{
data_set_placeholder: "NonEmptyString", # required
data_set_arn: "Arn", # required
},
],
arn: "Arn", # required
},
},
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
version_description: "VersionDescription",
dashboard_publish_options: {
ad_hoc_filtering_option: {
availability_status: "ENABLED", # accepts ENABLED, DISABLED
},
export_to_csv_option: {
availability_status: "ENABLED", # accepts ENABLED, DISABLED
},
sheet_controls_option: {
visibility_state: "EXPANDED", # accepts EXPANDED, COLLAPSED
},
},
theme_arn: "Arn",
}
Instance Attribute Summary collapse
-
#aws_account_id ⇒ String
The ID of the AWS account where you want to create the dashboard.
-
#dashboard_id ⇒ String
The ID for the dashboard, also added to the IAM policy.
-
#dashboard_publish_options ⇒ Types::DashboardPublishOptions
Options for publishing the dashboard when you create it:.
-
#name ⇒ String
The display name of the dashboard.
-
#parameters ⇒ Types::Parameters
The parameters for the creation of the dashboard, which you want to use to override the default settings.
-
#permissions ⇒ Array<Types::ResourcePermission>
A structure that contains the permissions of the dashboard.
-
#source_entity ⇒ Types::DashboardSourceEntity
The entity that you are using as a source when you create the dashboard.
-
#tags ⇒ Array<Types::Tag>
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
-
#theme_arn ⇒ String
The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
-
#version_description ⇒ String
A description for the first version of the dashboard being created.
Instance Attribute Details
#aws_account_id ⇒ String
The ID of the AWS account where you want to create the dashboard.
#dashboard_id ⇒ String
The ID for the dashboard, also added to the IAM policy.
#dashboard_publish_options ⇒ Types::DashboardPublishOptions
Options for publishing the dashboard when you create it:
AvailabilityStatus
forAdHocFilteringOption
- This status can be eitherENABLED
orDISABLED
. When this is set toDISABLED
, QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option isENABLED
by default.AvailabilityStatus
forExportToCSVOption
- This status can be eitherENABLED
orDISABLED
. The visual option to export data to .CSV format isn\'t enabled when this is set toDISABLED
. This option isENABLED
by default.VisibilityState
forSheetControlsOption
- This visibility state can be eitherCOLLAPSED
orEXPANDED
. This option isCOLLAPSED
by default.
#name ⇒ String
The display name of the dashboard.
#parameters ⇒ Types::Parameters
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.
#permissions ⇒ Array<Types::ResourcePermission>
A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.
To specify no permissions, omit the permissions list.
#source_entity ⇒ Types::DashboardSourceEntity
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.
#tags ⇒ Array<Types::Tag>
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
#theme_arn ⇒ String
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.
#version_description ⇒ String
A description for the first version of the dashboard being created.