Class: Aws::QuickSight::Types::CreateDashboardRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb

Overview

Note:

When making an API call, you may pass CreateDashboardRequest data as a 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
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_account_idString

The ID of the AWS account where you want to create the dashboard.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end

#dashboard_idString

The ID for the dashboard, also added to the IAM policy.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end

#dashboard_publish_optionsTypes::DashboardPublishOptions

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.



645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The display name of the dashboard.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end

#parametersTypes::Parameters

A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. A dashboard can have any type of parameters, and some parameters might accept multiple values.

Returns:



645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end

#permissionsArray<Types::ResourcePermission>

A structure that contains the permissions of the dashboard. You can use this structure for granting permissions with principal and action information.

Returns:



645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end

#source_entityTypes::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 SourceTemplateARN 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.



645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.

Returns:



645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end

#version_descriptionString

A description for the first version of the dashboard being created.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 645

class CreateDashboardRequest < Struct.new(
  :aws_account_id,
  :dashboard_id,
  :name,
  :parameters,
  :permissions,
  :source_entity,
  :tags,
  :version_description,
  :dashboard_publish_options)
  SENSITIVE = []
  include Aws::Structure
end