You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QuickSight::Types::CreateThemeRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateThemeRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  aws_account_id: "AwsAccountId", # required
  theme_id: "RestrictiveResourceId", # required
  name: "ThemeName", # required
  base_theme_id: "RestrictiveResourceId", # required
  version_description: "VersionDescription",
  configuration: { # required
    data_color_palette: {
      colors: ["HexColor"],
      min_max_gradient: ["HexColor"],
      empty_fill_color: "HexColor",
    },
    ui_color_palette: {
      primary_foreground: "HexColor",
      primary_background: "HexColor",
      secondary_foreground: "HexColor",
      secondary_background: "HexColor",
      accent: "HexColor",
      accent_foreground: "HexColor",
      danger: "HexColor",
      danger_foreground: "HexColor",
      warning: "HexColor",
      warning_foreground: "HexColor",
      success: "HexColor",
      success_foreground: "HexColor",
      dimension: "HexColor",
      dimension_foreground: "HexColor",
      measure: "HexColor",
      measure_foreground: "HexColor",
    },
    sheet: {
      tile: {
        border: {
          show: false,
        },
      },
      tile_layout: {
        gutter: {
          show: false,
        },
        margin: {
          show: false,
        },
      },
    },
  },
  permissions: [
    {
      principal: "Principal", # required
      actions: ["String"], # required
    },
  ],
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#aws_account_idString

The ID of the AWS account where you want to store the new theme.

Returns:

  • (String)

    The ID of the AWS account where you want to store the new theme.

#base_theme_idString

The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes or choose Themes from within a QuickSight analysis.

Returns:

  • (String)

    The ID of the theme that a custom theme will inherit from.

#configurationTypes::ThemeConfiguration

The theme configuration, which contains the theme display properties.

Returns:

#nameString

A display name for the theme.

Returns:

  • (String)

    A display name for the theme.

#permissionsArray<Types::ResourcePermission>

A valid grouping of resource permissions to apply to the new theme.

Returns:

#tagsArray<Types::Tag>

A map of the key-value pairs for the resource tag or tags that you want to add to the resource.

Returns:

  • (Array<Types::Tag>)

    A map of the key-value pairs for the resource tag or tags that you want to add to the resource.

#theme_idString

An ID for the theme that you want to create. The theme ID is unique per AWS Region in each AWS account.

Returns:

  • (String)

    An ID for the theme that you want to create.

#version_descriptionString

A description of the first version of the theme that you\'re creating. Every time UpdateTheme is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription field.

Returns:

  • (String)

    A description of the first version of the theme that you\'re creating.