Module Values_1.CreateTemplateRequestSource

Creates a template either from a TemplateDefinition or from an existing Quick Sight analysis or template. You can use the resulting template to create additional dashboards, templates, or analyses. A template is an entity in Quick Sight that encapsulates the metadata required to create an analysis and that you can use to create s dashboard. A template adds a layer of abstraction by using placeholders to replace the dataset associated with the analysis. You can use templates to create dashboards by replacing dataset placeholders with datasets that follow the same schema that was used to create the source analysis and template.

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

    The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web Services account that contains your Amazon Quick Sight account.

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

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

    *)
  3. name : TemplateName.t option;
    (*

    A display name for the template.

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

    A list of resource permissions to be set on the template.

    *)
  5. sourceEntity : TemplateSourceEntity.t option;
    (*

    The entity that you are using as a source when you create the template. In SourceEntity, you specify the type of object you're using as source: SourceTemplate for a template or SourceAnalysis for an analysis. Both of these require an Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source template. For SourceAnalysis, specify the ARN of the source analysis. The SourceTemplate ARN can contain any Amazon Web Services account and any Quick Sight-supported Amazon Web Services Region. Use the DataSetReferences entity within SourceTemplate or SourceAnalysis to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder. Either a SourceEntity or a Definition must be provided in order for the request to be valid.

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

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

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

    A description of the current template version being created. This API operation creates the first version of the template. Every time UpdateTemplate is called, a new version is created. Each version of the template maintains a description of the version in the VersionDescription field.

    *)
  8. definition : TemplateVersionDefinition.t option;
    (*

    The definition of a template. A definition is the data model of all features in a Dashboard, Template, or Analysis. Either a SourceEntity or a Definition must be provided in order for the request to be valid.

    *)
  9. validationStrategy : ValidationStrategy.t option;
    (*

    TThe option to relax the validation needed to create a template with definition objects. This skips the validation step for specific errors.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?permissions:??? -> ?sourceEntity:??? -> ?tags:??? -> ?versionDescription:??? -> ?definition:??? -> ?validationStrategy:??? -> awsAccountId:AwsAccountId.t -> templateId:Values_0.ShortRestrictiveResourceId.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 * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Boolean of bool | `String of string | `Structure of (string * [> `List of [> `Double of float | `Long of Awso.Import.Int64.t | `String of string | `Timestamp of string ] list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `String of string ]) list ]) list ]) list ] list | `String of Values_0.String_.t ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Boolean of bool | `Double of float | `Enum of string | `Integer of int | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Boolean of bool | `String of string | `Structure of (string * [> `List of [> `Double of float | `Long of Awso.Import.Int64.t | `String of string | `Timestamp of string ] list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `String of string | `Structure of (string * [> `String of string ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `String of string ] list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Double of float | `Enum of string | `List of [> `String of string ] list | `Structure of (string * [> `String of string ]) list | `Timestamp of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string | `Structure of (string * [> `Double of float ]) list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `List of [> `String of string | `Structure of (string * [> `Enum of string | `Integer of int | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Boolean of bool | `String of string | `Structure of (string * [> `List of [> `Double of float | `Long of Awso.Import.Int64.t | `String of string | `Timestamp of string ] list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `String of string | `Structure of (string * [> `String of string ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `String of string ] list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Double of float | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `List of [> `String of string | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Integer of int | `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Double of float ]) list ]) list ]) list ]) list ] list | `Structure of (string * [> `String of string ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `String of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `List of [> `Structure of (string * [> `Double of float | `String of string ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `List of [> `Structure of (string * [> `Double of float | `String of string ]) list ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `List of [> `Structure of (string * [> `Double of float | `String of string ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string ]) list ]) list ]) list ]) list ]) list ]) list | `Timestamp of string ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `List of [> `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string | `String of string ]) list ]) list ]) list ]) list ]) list ]) list ]) list ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `List of [> `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ]) list ]) list ]) list ]) list ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `List of [> `String of string | `Structure of (string * [> `String of string ]) list ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Double of float ]) list ]) list ]) list ]) list ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `List of [> `String of string ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string ]) list ]) list ]) list ]) list ]) list ]) list ]) list ]) list | `Timestamp of string ]) list | `Timestamp of string ]) list ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of Values_0.String_.t ]) list ] list | `String of string | `Structure of (string * [> `Double of float | `Enum of string | `List of [> `Double of float | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string | `List of [> `String of string ] list | `String of string ]) list | `Timestamp of string ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ]) list | `Timestamp of string ]) list ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `List of [> `String of string | `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.Arn.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `String of string ]) list ]) list ]) list ]) 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