module Stratosphere.QuickSight.Analysis.DefaultNewSheetConfigurationProperty (
module Exports, DefaultNewSheetConfigurationProperty(..),
mkDefaultNewSheetConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.DefaultInteractiveLayoutConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.DefaultPaginatedLayoutConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DefaultNewSheetConfigurationProperty
=
DefaultNewSheetConfigurationProperty {DefaultNewSheetConfigurationProperty -> ()
haddock_workaround_ :: (),
DefaultNewSheetConfigurationProperty
-> Maybe DefaultInteractiveLayoutConfigurationProperty
interactiveLayoutConfiguration :: (Prelude.Maybe DefaultInteractiveLayoutConfigurationProperty),
DefaultNewSheetConfigurationProperty
-> Maybe DefaultPaginatedLayoutConfigurationProperty
paginatedLayoutConfiguration :: (Prelude.Maybe DefaultPaginatedLayoutConfigurationProperty),
DefaultNewSheetConfigurationProperty -> Maybe (Value Text)
sheetContentType :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty -> Bool
(DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty -> Bool)
-> (DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty -> Bool)
-> Eq DefaultNewSheetConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty -> Bool
== :: DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty -> Bool
$c/= :: DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty -> Bool
/= :: DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty -> Bool
Prelude.Eq, Int -> DefaultNewSheetConfigurationProperty -> ShowS
[DefaultNewSheetConfigurationProperty] -> ShowS
DefaultNewSheetConfigurationProperty -> String
(Int -> DefaultNewSheetConfigurationProperty -> ShowS)
-> (DefaultNewSheetConfigurationProperty -> String)
-> ([DefaultNewSheetConfigurationProperty] -> ShowS)
-> Show DefaultNewSheetConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DefaultNewSheetConfigurationProperty -> ShowS
showsPrec :: Int -> DefaultNewSheetConfigurationProperty -> ShowS
$cshow :: DefaultNewSheetConfigurationProperty -> String
show :: DefaultNewSheetConfigurationProperty -> String
$cshowList :: [DefaultNewSheetConfigurationProperty] -> ShowS
showList :: [DefaultNewSheetConfigurationProperty] -> ShowS
Prelude.Show)
mkDefaultNewSheetConfigurationProperty ::
DefaultNewSheetConfigurationProperty
mkDefaultNewSheetConfigurationProperty :: DefaultNewSheetConfigurationProperty
mkDefaultNewSheetConfigurationProperty
= DefaultNewSheetConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
interactiveLayoutConfiguration = Maybe DefaultInteractiveLayoutConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
paginatedLayoutConfiguration = Maybe DefaultPaginatedLayoutConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
sheetContentType :: Maybe (Value Text)
sheetContentType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DefaultNewSheetConfigurationProperty where
toResourceProperties :: DefaultNewSheetConfigurationProperty -> ResourceProperties
toResourceProperties DefaultNewSheetConfigurationProperty {Maybe (Value Text)
Maybe DefaultInteractiveLayoutConfigurationProperty
Maybe DefaultPaginatedLayoutConfigurationProperty
()
haddock_workaround_ :: DefaultNewSheetConfigurationProperty -> ()
interactiveLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: DefaultNewSheetConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Analysis.DefaultNewSheetConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key
-> DefaultInteractiveLayoutConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InteractiveLayoutConfiguration"
(DefaultInteractiveLayoutConfigurationProperty -> (Key, Value))
-> Maybe DefaultInteractiveLayoutConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DefaultInteractiveLayoutConfigurationProperty
interactiveLayoutConfiguration,
Key -> DefaultPaginatedLayoutConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PaginatedLayoutConfiguration"
(DefaultPaginatedLayoutConfigurationProperty -> (Key, Value))
-> Maybe DefaultPaginatedLayoutConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DefaultPaginatedLayoutConfigurationProperty
paginatedLayoutConfiguration,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SheetContentType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sheetContentType])}
instance JSON.ToJSON DefaultNewSheetConfigurationProperty where
toJSON :: DefaultNewSheetConfigurationProperty -> Value
toJSON DefaultNewSheetConfigurationProperty {Maybe (Value Text)
Maybe DefaultInteractiveLayoutConfigurationProperty
Maybe DefaultPaginatedLayoutConfigurationProperty
()
haddock_workaround_ :: DefaultNewSheetConfigurationProperty -> ()
interactiveLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: DefaultNewSheetConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key
-> DefaultInteractiveLayoutConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InteractiveLayoutConfiguration"
(DefaultInteractiveLayoutConfigurationProperty -> (Key, Value))
-> Maybe DefaultInteractiveLayoutConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DefaultInteractiveLayoutConfigurationProperty
interactiveLayoutConfiguration,
Key -> DefaultPaginatedLayoutConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PaginatedLayoutConfiguration"
(DefaultPaginatedLayoutConfigurationProperty -> (Key, Value))
-> Maybe DefaultPaginatedLayoutConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DefaultPaginatedLayoutConfigurationProperty
paginatedLayoutConfiguration,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SheetContentType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sheetContentType]))
instance Property "InteractiveLayoutConfiguration" DefaultNewSheetConfigurationProperty where
type PropertyType "InteractiveLayoutConfiguration" DefaultNewSheetConfigurationProperty = DefaultInteractiveLayoutConfigurationProperty
set :: PropertyType
"InteractiveLayoutConfiguration"
DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty
set PropertyType
"InteractiveLayoutConfiguration"
DefaultNewSheetConfigurationProperty
newValue DefaultNewSheetConfigurationProperty {Maybe (Value Text)
Maybe DefaultInteractiveLayoutConfigurationProperty
Maybe DefaultPaginatedLayoutConfigurationProperty
()
haddock_workaround_ :: DefaultNewSheetConfigurationProperty -> ()
interactiveLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: DefaultNewSheetConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
..}
= DefaultNewSheetConfigurationProperty
{interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
interactiveLayoutConfiguration = DefaultInteractiveLayoutConfigurationProperty
-> Maybe DefaultInteractiveLayoutConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"InteractiveLayoutConfiguration"
DefaultNewSheetConfigurationProperty
DefaultInteractiveLayoutConfigurationProperty
newValue, Maybe (Value Text)
Maybe DefaultPaginatedLayoutConfigurationProperty
()
haddock_workaround_ :: ()
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
haddock_workaround_ :: ()
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
..}
instance Property "PaginatedLayoutConfiguration" DefaultNewSheetConfigurationProperty where
type PropertyType "PaginatedLayoutConfiguration" DefaultNewSheetConfigurationProperty = DefaultPaginatedLayoutConfigurationProperty
set :: PropertyType
"PaginatedLayoutConfiguration" DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty
set PropertyType
"PaginatedLayoutConfiguration" DefaultNewSheetConfigurationProperty
newValue DefaultNewSheetConfigurationProperty {Maybe (Value Text)
Maybe DefaultInteractiveLayoutConfigurationProperty
Maybe DefaultPaginatedLayoutConfigurationProperty
()
haddock_workaround_ :: DefaultNewSheetConfigurationProperty -> ()
interactiveLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: DefaultNewSheetConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
..}
= DefaultNewSheetConfigurationProperty
{paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
paginatedLayoutConfiguration = DefaultPaginatedLayoutConfigurationProperty
-> Maybe DefaultPaginatedLayoutConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"PaginatedLayoutConfiguration" DefaultNewSheetConfigurationProperty
DefaultPaginatedLayoutConfigurationProperty
newValue, Maybe (Value Text)
Maybe DefaultInteractiveLayoutConfigurationProperty
()
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
..}
instance Property "SheetContentType" DefaultNewSheetConfigurationProperty where
type PropertyType "SheetContentType" DefaultNewSheetConfigurationProperty = Value Prelude.Text
set :: PropertyType
"SheetContentType" DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty
-> DefaultNewSheetConfigurationProperty
set PropertyType
"SheetContentType" DefaultNewSheetConfigurationProperty
newValue DefaultNewSheetConfigurationProperty {Maybe (Value Text)
Maybe DefaultInteractiveLayoutConfigurationProperty
Maybe DefaultPaginatedLayoutConfigurationProperty
()
haddock_workaround_ :: DefaultNewSheetConfigurationProperty -> ()
interactiveLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: DefaultNewSheetConfigurationProperty
-> Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: DefaultNewSheetConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
sheetContentType :: Maybe (Value Text)
..}
= DefaultNewSheetConfigurationProperty
{sheetContentType :: Maybe (Value Text)
sheetContentType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"SheetContentType" DefaultNewSheetConfigurationProperty
Value Text
newValue, Maybe DefaultInteractiveLayoutConfigurationProperty
Maybe DefaultPaginatedLayoutConfigurationProperty
()
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
haddock_workaround_ :: ()
interactiveLayoutConfiguration :: Maybe DefaultInteractiveLayoutConfigurationProperty
paginatedLayoutConfiguration :: Maybe DefaultPaginatedLayoutConfigurationProperty
..}