import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Font { FontFamily ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class BorderStyle { Show ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class TileStyle { Border ? : BorderStyle ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ResourcePermission { Actions ! : List < Value < string > > ; Principal ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MarginStyle { Show ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class GutterStyle { Show ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DataColorPalette { EmptyFillColor ? : Value < string > ; Colors ? : List < Value < string > > ; MinMaxGradient ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ThemeConfiguration { DataColorPalette ? : DataColorPalette ; UIColorPalette ? : UIColorPalette ; Sheet ? : SheetStyle ; Typography ? : Typography ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class UIColorPalette { Warning ? : Value < string > ; Accent ? : Value < string > ; AccentForeground ? : Value < string > ; SecondaryBackground ? : Value < string > ; DangerForeground ? : Value < string > ; PrimaryBackground ? : Value < string > ; Dimension ? : Value < string > ; SecondaryForeground ? : Value < string > ; WarningForeground ? : Value < string > ; DimensionForeground ? : Value < string > ; PrimaryForeground ? : Value < string > ; Success ? : Value < string > ; Danger ? : Value < string > ; SuccessForeground ? : Value < string > ; Measure ? : Value < string > ; MeasureForeground ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SheetStyle { TileLayout ? : TileLayoutStyle ; Tile ? : TileStyle ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class TileLayoutStyle { Gutter ? : GutterStyle ; Margin ? : MarginStyle ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Typography { FontFamilies ? : List < Font > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ThemeProperties { AwsAccountId : Value < string > ; BaseThemeId ? : Value < string > ; Configuration ? : ThemeConfiguration ; Name ? : Value < string > ; Permissions ? : List < ResourcePermission > ; Tags ? : List < ResourceTag > ; ThemeId : Value < string > ; VersionDescription ? : Value < string > ; } export default class Theme extends ResourceBase < ThemeProperties > { static Font = Font ; static BorderStyle = BorderStyle ; static TileStyle = TileStyle ; static ResourcePermission = ResourcePermission ; static MarginStyle = MarginStyle ; static GutterStyle = GutterStyle ; static DataColorPalette = DataColorPalette ; static ThemeConfiguration = ThemeConfiguration ; static UIColorPalette = UIColorPalette ; static SheetStyle = SheetStyle ; static TileLayoutStyle = TileLayoutStyle ; static Typography = Typography ; constructor ( properties ) { super ( 'AWS::QuickSight::Theme' , properties ) ; } }