Module Values_1.CreateThemeRequestSource

Creates a theme. A theme is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see Using Themes in Amazon Quick Sight in the Amazon Quick Sight User Guide.

Sourcetype nonrec t = {
  1. awsAccountId : AwsAccountId.t;
    (*

    The ID of the Amazon Web Services account where you want to store the new theme.

    *)
  2. themeId : Values_0.ShortRestrictiveResourceId.t;
    (*

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

    *)
  3. name : ThemeName.t;
    (*

    A display name for the theme.

    *)
  4. baseThemeId : Values_0.ShortRestrictiveResourceId.t;
    (*

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

    *)
  5. versionDescription : VersionDescription.t option;
    (*

    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.

    *)
  6. configuration : ThemeConfiguration.t;
    (*

    The theme configuration, which contains the theme display properties.

    *)
  7. permissions : ResourcePermissionList.t option;
    (*

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

    *)
  8. tags : TagList.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?versionDescription:??? -> ?permissions:??? -> ?tags:??? -> awsAccountId:AwsAccountId.t -> themeId:Values_0.ShortRestrictiveResourceId.t -> name:ThemeName.t -> baseThemeId:Values_0.ShortRestrictiveResourceId.t -> configuration:ThemeConfiguration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of string ] list | `String of Principal.t ]) list ] list | `String of AwsAccountId.t | `Structure of (string * [> `Structure of (string * [> `List of [> `String of Values_0.HexColor.t | `Structure of (string * [> `String of Values_0.LimitedString.t ]) list ] list | `String of Values_0.HexColor.t | `Structure of (string * [> `Enum of string | `String of Color.t | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `String of Color.t | `Structure of (string * [> `Enum of string | `String of string ]) list ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t