module Stratosphere.QuickSight.Dashboard.SectionBasedLayoutConfigurationProperty (
module Exports, SectionBasedLayoutConfigurationProperty(..),
mkSectionBasedLayoutConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.BodySectionConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.HeaderFooterSectionConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.SectionBasedLayoutCanvasSizeOptionsProperty as Exports
import Stratosphere.ResourceProperties
data SectionBasedLayoutConfigurationProperty
=
SectionBasedLayoutConfigurationProperty {SectionBasedLayoutConfigurationProperty -> ()
haddock_workaround_ :: (),
SectionBasedLayoutConfigurationProperty
-> [BodySectionConfigurationProperty]
bodySections :: [BodySectionConfigurationProperty],
SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutCanvasSizeOptionsProperty
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty,
:: [HeaderFooterSectionConfigurationProperty],
:: [HeaderFooterSectionConfigurationProperty]}
deriving stock (SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty -> Bool
(SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty -> Bool)
-> (SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty -> Bool)
-> Eq SectionBasedLayoutConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty -> Bool
== :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty -> Bool
$c/= :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty -> Bool
/= :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty -> Bool
Prelude.Eq, Int -> SectionBasedLayoutConfigurationProperty -> ShowS
[SectionBasedLayoutConfigurationProperty] -> ShowS
SectionBasedLayoutConfigurationProperty -> String
(Int -> SectionBasedLayoutConfigurationProperty -> ShowS)
-> (SectionBasedLayoutConfigurationProperty -> String)
-> ([SectionBasedLayoutConfigurationProperty] -> ShowS)
-> Show SectionBasedLayoutConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SectionBasedLayoutConfigurationProperty -> ShowS
showsPrec :: Int -> SectionBasedLayoutConfigurationProperty -> ShowS
$cshow :: SectionBasedLayoutConfigurationProperty -> String
show :: SectionBasedLayoutConfigurationProperty -> String
$cshowList :: [SectionBasedLayoutConfigurationProperty] -> ShowS
showList :: [SectionBasedLayoutConfigurationProperty] -> ShowS
Prelude.Show)
mkSectionBasedLayoutConfigurationProperty ::
[BodySectionConfigurationProperty]
-> SectionBasedLayoutCanvasSizeOptionsProperty
-> [HeaderFooterSectionConfigurationProperty]
-> [HeaderFooterSectionConfigurationProperty]
-> SectionBasedLayoutConfigurationProperty
mkSectionBasedLayoutConfigurationProperty :: [BodySectionConfigurationProperty]
-> SectionBasedLayoutCanvasSizeOptionsProperty
-> [HeaderFooterSectionConfigurationProperty]
-> [HeaderFooterSectionConfigurationProperty]
-> SectionBasedLayoutConfigurationProperty
mkSectionBasedLayoutConfigurationProperty
[BodySectionConfigurationProperty]
bodySections
SectionBasedLayoutCanvasSizeOptionsProperty
canvasSizeOptions
[HeaderFooterSectionConfigurationProperty]
footerSections
[HeaderFooterSectionConfigurationProperty]
headerSections
= SectionBasedLayoutConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), bodySections :: [BodySectionConfigurationProperty]
bodySections = [BodySectionConfigurationProperty]
bodySections,
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
canvasSizeOptions = SectionBasedLayoutCanvasSizeOptionsProperty
canvasSizeOptions,
footerSections :: [HeaderFooterSectionConfigurationProperty]
footerSections = [HeaderFooterSectionConfigurationProperty]
footerSections, headerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections = [HeaderFooterSectionConfigurationProperty]
headerSections}
instance ToResourceProperties SectionBasedLayoutConfigurationProperty where
toResourceProperties :: SectionBasedLayoutConfigurationProperty -> ResourceProperties
toResourceProperties SectionBasedLayoutConfigurationProperty {[HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: SectionBasedLayoutConfigurationProperty -> ()
bodySections :: SectionBasedLayoutConfigurationProperty
-> [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
headerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Dashboard.SectionBasedLayoutConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"BodySections" Key -> [BodySectionConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [BodySectionConfigurationProperty]
bodySections,
Key
"CanvasSizeOptions" Key -> SectionBasedLayoutCanvasSizeOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= SectionBasedLayoutCanvasSizeOptionsProperty
canvasSizeOptions,
Key
"FooterSections" Key -> [HeaderFooterSectionConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [HeaderFooterSectionConfigurationProperty]
footerSections,
Key
"HeaderSections" Key -> [HeaderFooterSectionConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [HeaderFooterSectionConfigurationProperty]
headerSections]}
instance JSON.ToJSON SectionBasedLayoutConfigurationProperty where
toJSON :: SectionBasedLayoutConfigurationProperty -> Value
toJSON SectionBasedLayoutConfigurationProperty {[HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: SectionBasedLayoutConfigurationProperty -> ()
bodySections :: SectionBasedLayoutConfigurationProperty
-> [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
headerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"BodySections" Key -> [BodySectionConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [BodySectionConfigurationProperty]
bodySections,
Key
"CanvasSizeOptions" Key -> SectionBasedLayoutCanvasSizeOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= SectionBasedLayoutCanvasSizeOptionsProperty
canvasSizeOptions,
Key
"FooterSections" Key -> [HeaderFooterSectionConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [HeaderFooterSectionConfigurationProperty]
footerSections,
Key
"HeaderSections" Key -> [HeaderFooterSectionConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [HeaderFooterSectionConfigurationProperty]
headerSections]
instance Property "BodySections" SectionBasedLayoutConfigurationProperty where
type PropertyType "BodySections" SectionBasedLayoutConfigurationProperty = [BodySectionConfigurationProperty]
set :: PropertyType "BodySections" SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty
set PropertyType "BodySections" SectionBasedLayoutConfigurationProperty
newValue SectionBasedLayoutConfigurationProperty {[HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: SectionBasedLayoutConfigurationProperty -> ()
bodySections :: SectionBasedLayoutConfigurationProperty
-> [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
headerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
= SectionBasedLayoutConfigurationProperty
{bodySections :: [BodySectionConfigurationProperty]
bodySections = [BodySectionConfigurationProperty]
PropertyType "BodySections" SectionBasedLayoutConfigurationProperty
newValue, [HeaderFooterSectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: ()
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
instance Property "CanvasSizeOptions" SectionBasedLayoutConfigurationProperty where
type PropertyType "CanvasSizeOptions" SectionBasedLayoutConfigurationProperty = SectionBasedLayoutCanvasSizeOptionsProperty
set :: PropertyType
"CanvasSizeOptions" SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty
set PropertyType
"CanvasSizeOptions" SectionBasedLayoutConfigurationProperty
newValue SectionBasedLayoutConfigurationProperty {[HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: SectionBasedLayoutConfigurationProperty -> ()
bodySections :: SectionBasedLayoutConfigurationProperty
-> [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
headerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
= SectionBasedLayoutConfigurationProperty
{canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
canvasSizeOptions = PropertyType
"CanvasSizeOptions" SectionBasedLayoutConfigurationProperty
SectionBasedLayoutCanvasSizeOptionsProperty
newValue, [HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
instance Property "FooterSections" SectionBasedLayoutConfigurationProperty where
type PropertyType "FooterSections" SectionBasedLayoutConfigurationProperty = [HeaderFooterSectionConfigurationProperty]
set :: PropertyType
"FooterSections" SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty
set PropertyType
"FooterSections" SectionBasedLayoutConfigurationProperty
newValue SectionBasedLayoutConfigurationProperty {[HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: SectionBasedLayoutConfigurationProperty -> ()
bodySections :: SectionBasedLayoutConfigurationProperty
-> [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
headerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
= SectionBasedLayoutConfigurationProperty
{footerSections :: [HeaderFooterSectionConfigurationProperty]
footerSections = [HeaderFooterSectionConfigurationProperty]
PropertyType
"FooterSections" SectionBasedLayoutConfigurationProperty
newValue, [HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
headerSections :: [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
instance Property "HeaderSections" SectionBasedLayoutConfigurationProperty where
type PropertyType "HeaderSections" SectionBasedLayoutConfigurationProperty = [HeaderFooterSectionConfigurationProperty]
set :: PropertyType
"HeaderSections" SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutConfigurationProperty
set PropertyType
"HeaderSections" SectionBasedLayoutConfigurationProperty
newValue SectionBasedLayoutConfigurationProperty {[HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: SectionBasedLayoutConfigurationProperty -> ()
bodySections :: SectionBasedLayoutConfigurationProperty
-> [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutConfigurationProperty
-> SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
headerSections :: SectionBasedLayoutConfigurationProperty
-> [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections :: [HeaderFooterSectionConfigurationProperty]
..}
= SectionBasedLayoutConfigurationProperty
{headerSections :: [HeaderFooterSectionConfigurationProperty]
headerSections = [HeaderFooterSectionConfigurationProperty]
PropertyType
"HeaderSections" SectionBasedLayoutConfigurationProperty
newValue, [HeaderFooterSectionConfigurationProperty]
[BodySectionConfigurationProperty]
()
SectionBasedLayoutCanvasSizeOptionsProperty
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
haddock_workaround_ :: ()
bodySections :: [BodySectionConfigurationProperty]
canvasSizeOptions :: SectionBasedLayoutCanvasSizeOptionsProperty
footerSections :: [HeaderFooterSectionConfigurationProperty]
..}