/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export type ResourceStatus = | "CREATION_IN_PROGRESS" | "CREATION_SUCCESSFUL" | "CREATION_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_FAILED" | "DELETED"; export type TemplateErrorType = "SOURCE_NOT_FOUND" | "DATA_SET_NOT_FOUND" | "INTERNAL_FAILURE" | "ACCESS_DENIED"; /** * Definition of the AWS::QuickSight::Template Resource Type. */ export interface AwsQuicksightTemplate { /** *
The Amazon Resource Name (ARN) of the template.
*/ Arn?: string; AwsAccountId: string; /** *Time when this was created.
*/ CreatedTime?: string; /** *Time when this was last updated.
*/ LastUpdatedTime?: string; /** *A display name for the template.
*/ Name?: string; /** *A list of resource permissions to be set on the template.
* * @minItems 1 * @maxItems 64 */ Permissions?: [ResourcePermission, ...ResourcePermission[]]; SourceEntity: TemplateSourceEntity; /** *Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
* * @minItems 1 * @maxItems 200 */ Tags?: [Tag, ...Tag[]]; TemplateId: string; Version?: TemplateVersion; /** *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.
Permission for the resource.
*/ export interface ResourcePermission { /** *The IAM action to grant or revoke permissions on.
* * @minItems 1 * @maxItems 16 */ Actions: | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [ string, string, string, string, string, string, string, string, string, string, string, string, string, string, string ] | [ string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string ]; /** *The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
*The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
*The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
*The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight * ARN. Use this option only to share resources (templates) across AWS accounts. * (This is less common.)
*The source entity of the template.
*/ export interface TemplateSourceEntity { SourceAnalysis?: TemplateSourceAnalysis; SourceTemplate?: TemplateSourceTemplate; } /** *The source analysis of the template.
*/ export interface TemplateSourceAnalysis { /** *A structure containing information about the dataset references used as placeholders * in the template.
* * @minItems 1 */ DataSetReferences: [DataSetReference, ...DataSetReference[]]; /** *The Amazon Resource Name (ARN) of the resource.
*/ Arn: string; } /** *Dataset reference.
*/ export interface DataSetReference { /** *Dataset Amazon Resource Name (ARN).
*/ DataSetArn: string; /** *Dataset placeholder.
*/ DataSetPlaceholder: string; } /** *The source template of the template.
*/ export interface TemplateSourceTemplate { /** *The Amazon Resource Name (ARN) of the resource.
*/ Arn: string; } /** *The key or keys of the key-value pairs for the resource tag or tags assigned to the * resource.
*/ export interface Tag { /** *Tag value.
*/ Value: string; /** *Tag key.
*/ Key: string; } /** *A version of a template.
*/ export interface TemplateVersion { Status?: ResourceStatus; /** *Errors associated with this template version.
* * @minItems 1 */ Errors?: [TemplateError, ...TemplateError[]]; /** *The time that this template version was created.
*/ CreatedTime?: string; /** *The description of the template.
*/ Description?: string; /** *The ARN of the theme associated with this version of the template.
*/ ThemeArn?: string; /** *Schema of the dataset identified by the placeholder. Any dashboard created from this * template should be bound to new datasets matching the same schema described through this * API operation.
* * @minItems 0 * @maxItems 30 */ DataSetConfigurations?: DataSetConfiguration[]; /** *The Amazon Resource Name (ARN) of an analysis or template that was used to create this * template.
*/ SourceEntityArn?: string; /** *The version number of the template version.
*/ VersionNumber?: number; /** *A list of the associated sheets with the unique identifier and name of each sheet.
* * @minItems 0 * @maxItems 20 */ Sheets?: | [] | [Sheet] | [Sheet, Sheet] | [Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet] | [ Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet ] | [ Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet ] | [ Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet ] | [ Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet, Sheet ]; } /** *List of errors that occurred when the template version creation failed.
*/ export interface TemplateError { Type?: TemplateErrorType; /** *Description of the error type.
*/ Message?: string; } /** *Dataset configuration.
*/ export interface DataSetConfiguration { /** *Placeholder.
*/ Placeholder?: string; DataSetSchema?: DataSetSchema; /** *A structure containing the list of column group schemas.
* * @minItems 0 * @maxItems 500 */ ColumnGroupSchemaList?: ColumnGroupSchema[]; } /** *Dataset schema.
*/ export interface DataSetSchema { /** *A structure containing the list of column schemas.
* * @minItems 0 * @maxItems 500 */ ColumnSchemaList?: ColumnSchema[]; } /** *The column schema.
*/ export interface ColumnSchema { /** *The data type of the column schema.
*/ DataType?: string; /** *The geographic role of the column schema.
*/ GeographicRole?: string; /** *The name of the column schema.
*/ Name?: string; } /** *The column group schema.
*/ export interface ColumnGroupSchema { /** *A structure containing the list of schemas for column group columns.
* * @minItems 0 * @maxItems 500 */ ColumnGroupColumnSchemaList?: ColumnGroupColumnSchema[]; /** *The name of the column group schema.
*/ Name?: string; } /** *A structure describing the name, data type, and geographic role of the columns.
*/ export interface ColumnGroupColumnSchema { /** *The name of the column group's column schema.
*/ Name?: string; } /** *A sheet, which is an object that contains a set of visuals that * are viewed together on one page in the Amazon QuickSight console. Every analysis and dashboard * contains at least one sheet. Each sheet contains at least one visualization widget, for * example a chart, pivot table, or narrative insight. Sheets can be associated with other * components, such as controls, filters, and so on.
*/ export interface Sheet { /** *The unique identifier associated with a sheet.
*/ SheetId?: string; /** *The name of a sheet. This name is displayed on the sheet's tab in the QuickSight * console.
*/ Name?: string; }