/* 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 DashboardUIState = "EXPANDED" | "COLLAPSED"; export type DashboardBehavior = "ENABLED" | "DISABLED"; export type ResourceStatus = | "CREATION_IN_PROGRESS" | "CREATION_SUCCESSFUL" | "CREATION_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_FAILED" | "DELETED"; export type DashboardErrorType = | "ACCESS_DENIED" | "SOURCE_NOT_FOUND" | "DATA_SET_NOT_FOUND" | "INTERNAL_FAILURE" | "PARAMETER_VALUE_INCOMPATIBLE" | "PARAMETER_TYPE_INVALID" | "PARAMETER_NOT_FOUND" | "COLUMN_TYPE_MISMATCH" | "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" | "COLUMN_REPLACEMENT_MISSING"; /** * Definition of the AWS::QuickSight::Dashboard Resource Type. */ export interface AwsQuicksightDashboard { /** *

The Amazon Resource Name (ARN) of the resource.

*/ Arn?: string; AwsAccountId: string; /** *

The time that this dataset was created.

*/ CreatedTime?: string; DashboardId: string; DashboardPublishOptions?: DashboardPublishOptions; /** *

The last time that this dataset was published.

*/ LastPublishedTime?: string; /** *

The last time that this dataset was updated.

*/ LastUpdatedTime?: string; /** *

The display name of the dashboard.

*/ Name?: string; Parameters?: Parameters; /** *

A structure that contains the permissions of the dashboard. You can use this structure * for granting permissions by providing a list of IAM action information for each * principal ARN.

* *

To specify no permissions, omit the permissions list.

* * @minItems 1 * @maxItems 64 */ Permissions?: [ResourcePermission, ...ResourcePermission[]]; SourceEntity: DashboardSourceEntity; /** *

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

* * @minItems 1 * @maxItems 200 */ Tags?: [Tag, ...Tag[]]; /** *

The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If * you add a value for this field, it overrides the value that is used in the source * entity. The theme ARN must exist in the same AWS account where you create the * dashboard.

*/ ThemeArn?: string; Version?: DashboardVersion; /** *

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

*/ VersionDescription?: string; } /** *

Dashboard publish options.

*/ export interface DashboardPublishOptions { SheetControlsOption?: SheetControlsOption; ExportToCSVOption?: ExportToCSVOption; AdHocFilteringOption?: AdHocFilteringOption; } /** *

Sheet controls option.

*/ export interface SheetControlsOption { VisibilityState?: DashboardUIState; } /** *

Export to .csv option.

*/ export interface ExportToCSVOption { AvailabilityStatus?: DashboardBehavior; } /** *

Ad hoc (one-time) filtering option.

*/ export interface AdHocFilteringOption { AvailabilityStatus?: DashboardBehavior; } /** *

A list of QuickSight parameters and the list's override values.

*/ export interface Parameters { /** *

String parameters.

* * @minItems 0 * @maxItems 100 */ StringParameters?: StringParameter[]; /** *

Decimal parameters.

* * @minItems 0 * @maxItems 100 */ DecimalParameters?: DecimalParameter[]; /** *

Integer parameters.

* * @minItems 0 * @maxItems 100 */ IntegerParameters?: IntegerParameter[]; /** *

Date-time parameters.

* * @minItems 0 * @maxItems 100 */ DateTimeParameters?: DateTimeParameter[]; } /** *

A string parameter.

*/ export interface StringParameter { /** *

The values of a string parameter.

*/ Values: string[]; /** *

A display name for a string parameter.

*/ Name: string; } /** *

A decimal parameter.

*/ export interface DecimalParameter { /** *

The values for the decimal parameter.

*/ Values: number[]; /** *

A display name for the decimal parameter.

*/ Name: string; } /** *

An integer parameter.

*/ export interface IntegerParameter { /** *

The values for the integer parameter.

*/ Values: number[]; /** *

The name of the integer parameter.

*/ Name: string; } /** *

A date-time parameter.

*/ export interface DateTimeParameter { /** *

The values for the date-time parameter.

*/ Values: string[]; /** *

A display name for the date-time parameter.

*/ Name: string; } /** *

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:

* */ Principal: string; } /** *

Dashboard source entity.

*/ export interface DashboardSourceEntity { SourceTemplate?: DashboardSourceTemplate; } /** *

Dashboard source template.

*/ export interface DashboardSourceTemplate { /** *

Dataset references.

* * @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 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; } /** *

Dashboard version.

*/ export interface DashboardVersion { Status?: ResourceStatus; /** *

Errors associated with this dashboard version.

* * @minItems 1 */ Errors?: [DashboardError, ...DashboardError[]]; /** *

The time that this dashboard version was created.

*/ CreatedTime?: string; /** *

Description.

*/ Description?: string; /** *

The Amazon Resource Numbers (ARNs) for the datasets that are associated with this * version of the dashboard.

* * @minItems 0 * @maxItems 100 */ DataSetArns?: string[]; /** *

The ARN of the theme associated with a version of the dashboard.

*/ ThemeArn?: string; /** *

The Amazon Resource Name (ARN) of the resource.

*/ Arn?: string; /** *

Source entity ARN.

*/ SourceEntityArn?: string; /** *

Version number for this version of the dashboard.

*/ 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 ]; } /** *

Dashboard error.

*/ export interface DashboardError { Type?: DashboardErrorType; /** *

Message.

*/ Message?: 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; }