module Stratosphere.Timestream.ScheduledQuery.TimestreamConfigurationProperty (
module Exports, TimestreamConfigurationProperty(..),
mkTimestreamConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Timestream.ScheduledQuery.DimensionMappingProperty as Exports
import {-# SOURCE #-} Stratosphere.Timestream.ScheduledQuery.MixedMeasureMappingProperty as Exports
import {-# SOURCE #-} Stratosphere.Timestream.ScheduledQuery.MultiMeasureMappingsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TimestreamConfigurationProperty
=
TimestreamConfigurationProperty {TimestreamConfigurationProperty -> ()
haddock_workaround_ :: (),
TimestreamConfigurationProperty -> Value Text
databaseName :: (Value Prelude.Text),
TimestreamConfigurationProperty -> [DimensionMappingProperty]
dimensionMappings :: [DimensionMappingProperty],
TimestreamConfigurationProperty -> Maybe (Value Text)
measureNameColumn :: (Prelude.Maybe (Value Prelude.Text)),
TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
mixedMeasureMappings :: (Prelude.Maybe [MixedMeasureMappingProperty]),
TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
multiMeasureMappings :: (Prelude.Maybe MultiMeasureMappingsProperty),
TimestreamConfigurationProperty -> Value Text
tableName :: (Value Prelude.Text),
TimestreamConfigurationProperty -> Value Text
timeColumn :: (Value Prelude.Text)}
deriving stock (TimestreamConfigurationProperty
-> TimestreamConfigurationProperty -> Bool
(TimestreamConfigurationProperty
-> TimestreamConfigurationProperty -> Bool)
-> (TimestreamConfigurationProperty
-> TimestreamConfigurationProperty -> Bool)
-> Eq TimestreamConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TimestreamConfigurationProperty
-> TimestreamConfigurationProperty -> Bool
== :: TimestreamConfigurationProperty
-> TimestreamConfigurationProperty -> Bool
$c/= :: TimestreamConfigurationProperty
-> TimestreamConfigurationProperty -> Bool
/= :: TimestreamConfigurationProperty
-> TimestreamConfigurationProperty -> Bool
Prelude.Eq, Int -> TimestreamConfigurationProperty -> ShowS
[TimestreamConfigurationProperty] -> ShowS
TimestreamConfigurationProperty -> String
(Int -> TimestreamConfigurationProperty -> ShowS)
-> (TimestreamConfigurationProperty -> String)
-> ([TimestreamConfigurationProperty] -> ShowS)
-> Show TimestreamConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TimestreamConfigurationProperty -> ShowS
showsPrec :: Int -> TimestreamConfigurationProperty -> ShowS
$cshow :: TimestreamConfigurationProperty -> String
show :: TimestreamConfigurationProperty -> String
$cshowList :: [TimestreamConfigurationProperty] -> ShowS
showList :: [TimestreamConfigurationProperty] -> ShowS
Prelude.Show)
mkTimestreamConfigurationProperty ::
Value Prelude.Text
-> [DimensionMappingProperty]
-> Value Prelude.Text
-> Value Prelude.Text -> TimestreamConfigurationProperty
mkTimestreamConfigurationProperty :: Value Text
-> [DimensionMappingProperty]
-> Value Text
-> Value Text
-> TimestreamConfigurationProperty
mkTimestreamConfigurationProperty
Value Text
databaseName
[DimensionMappingProperty]
dimensionMappings
Value Text
tableName
Value Text
timeColumn
= TimestreamConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), databaseName :: Value Text
databaseName = Value Text
databaseName,
dimensionMappings :: [DimensionMappingProperty]
dimensionMappings = [DimensionMappingProperty]
dimensionMappings, tableName :: Value Text
tableName = Value Text
tableName,
timeColumn :: Value Text
timeColumn = Value Text
timeColumn, measureNameColumn :: Maybe (Value Text)
measureNameColumn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
mixedMeasureMappings = Maybe [MixedMeasureMappingProperty]
forall a. Maybe a
Prelude.Nothing,
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
multiMeasureMappings = Maybe MultiMeasureMappingsProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TimestreamConfigurationProperty where
toResourceProperties :: TimestreamConfigurationProperty -> ResourceProperties
toResourceProperties TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Timestream::ScheduledQuery.TimestreamConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"DatabaseName" 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..= Value Text
databaseName,
Key
"DimensionMappings" Key -> [DimensionMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [DimensionMappingProperty]
dimensionMappings,
Key
"TableName" 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..= Value Text
tableName, Key
"TimeColumn" 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..= Value Text
timeColumn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"MeasureNameColumn" (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)
measureNameColumn,
Key -> [MixedMeasureMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MixedMeasureMappings" ([MixedMeasureMappingProperty] -> (Key, Value))
-> Maybe [MixedMeasureMappingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MixedMeasureMappingProperty]
mixedMeasureMappings,
Key -> MultiMeasureMappingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MultiMeasureMappings"
(MultiMeasureMappingsProperty -> (Key, Value))
-> Maybe MultiMeasureMappingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MultiMeasureMappingsProperty
multiMeasureMappings]))}
instance JSON.ToJSON TimestreamConfigurationProperty where
toJSON :: TimestreamConfigurationProperty -> Value
toJSON TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"DatabaseName" 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..= Value Text
databaseName,
Key
"DimensionMappings" Key -> [DimensionMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [DimensionMappingProperty]
dimensionMappings,
Key
"TableName" 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..= Value Text
tableName, Key
"TimeColumn" 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..= Value Text
timeColumn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"MeasureNameColumn" (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)
measureNameColumn,
Key -> [MixedMeasureMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MixedMeasureMappings" ([MixedMeasureMappingProperty] -> (Key, Value))
-> Maybe [MixedMeasureMappingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MixedMeasureMappingProperty]
mixedMeasureMappings,
Key -> MultiMeasureMappingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MultiMeasureMappings"
(MultiMeasureMappingsProperty -> (Key, Value))
-> Maybe MultiMeasureMappingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MultiMeasureMappingsProperty
multiMeasureMappings])))
instance Property "DatabaseName" TimestreamConfigurationProperty where
type PropertyType "DatabaseName" TimestreamConfigurationProperty = Value Prelude.Text
set :: PropertyType "DatabaseName" TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
set PropertyType "DatabaseName" TimestreamConfigurationProperty
newValue TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= TimestreamConfigurationProperty {databaseName :: Value Text
databaseName = PropertyType "DatabaseName" TimestreamConfigurationProperty
Value Text
newValue, [DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: ()
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
haddock_workaround_ :: ()
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
instance Property "DimensionMappings" TimestreamConfigurationProperty where
type PropertyType "DimensionMappings" TimestreamConfigurationProperty = [DimensionMappingProperty]
set :: PropertyType "DimensionMappings" TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
set PropertyType "DimensionMappings" TimestreamConfigurationProperty
newValue TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= TimestreamConfigurationProperty
{dimensionMappings :: [DimensionMappingProperty]
dimensionMappings = [DimensionMappingProperty]
PropertyType "DimensionMappings" TimestreamConfigurationProperty
newValue, Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
instance Property "MeasureNameColumn" TimestreamConfigurationProperty where
type PropertyType "MeasureNameColumn" TimestreamConfigurationProperty = Value Prelude.Text
set :: PropertyType "MeasureNameColumn" TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
set PropertyType "MeasureNameColumn" TimestreamConfigurationProperty
newValue TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= TimestreamConfigurationProperty
{measureNameColumn :: Maybe (Value Text)
measureNameColumn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MeasureNameColumn" TimestreamConfigurationProperty
Value Text
newValue, [DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
instance Property "MixedMeasureMappings" TimestreamConfigurationProperty where
type PropertyType "MixedMeasureMappings" TimestreamConfigurationProperty = [MixedMeasureMappingProperty]
set :: PropertyType "MixedMeasureMappings" TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
set PropertyType "MixedMeasureMappings" TimestreamConfigurationProperty
newValue TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= TimestreamConfigurationProperty
{mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
mixedMeasureMappings = [MixedMeasureMappingProperty]
-> Maybe [MixedMeasureMappingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [MixedMeasureMappingProperty]
PropertyType "MixedMeasureMappings" TimestreamConfigurationProperty
newValue, [DimensionMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
instance Property "MultiMeasureMappings" TimestreamConfigurationProperty where
type PropertyType "MultiMeasureMappings" TimestreamConfigurationProperty = MultiMeasureMappingsProperty
set :: PropertyType "MultiMeasureMappings" TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
set PropertyType "MultiMeasureMappings" TimestreamConfigurationProperty
newValue TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= TimestreamConfigurationProperty
{multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
multiMeasureMappings = MultiMeasureMappingsProperty -> Maybe MultiMeasureMappingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MultiMeasureMappings" TimestreamConfigurationProperty
MultiMeasureMappingsProperty
newValue, [DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
tableName :: Value Text
timeColumn :: Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
tableName :: Value Text
timeColumn :: Value Text
..}
instance Property "TableName" TimestreamConfigurationProperty where
type PropertyType "TableName" TimestreamConfigurationProperty = Value Prelude.Text
set :: PropertyType "TableName" TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
set PropertyType "TableName" TimestreamConfigurationProperty
newValue TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= TimestreamConfigurationProperty {tableName :: Value Text
tableName = PropertyType "TableName" TimestreamConfigurationProperty
Value Text
newValue, [DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
timeColumn :: Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
timeColumn :: Value Text
..}
instance Property "TimeColumn" TimestreamConfigurationProperty where
type PropertyType "TimeColumn" TimestreamConfigurationProperty = Value Prelude.Text
set :: PropertyType "TimeColumn" TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
-> TimestreamConfigurationProperty
set PropertyType "TimeColumn" TimestreamConfigurationProperty
newValue TimestreamConfigurationProperty {[DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: TimestreamConfigurationProperty -> ()
databaseName :: TimestreamConfigurationProperty -> Value Text
dimensionMappings :: TimestreamConfigurationProperty -> [DimensionMappingProperty]
measureNameColumn :: TimestreamConfigurationProperty -> Maybe (Value Text)
mixedMeasureMappings :: TimestreamConfigurationProperty
-> Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: TimestreamConfigurationProperty
-> Maybe MultiMeasureMappingsProperty
tableName :: TimestreamConfigurationProperty -> Value Text
timeColumn :: TimestreamConfigurationProperty -> Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
timeColumn :: Value Text
..}
= TimestreamConfigurationProperty {timeColumn :: Value Text
timeColumn = PropertyType "TimeColumn" TimestreamConfigurationProperty
Value Text
newValue, [DimensionMappingProperty]
Maybe [MixedMeasureMappingProperty]
Maybe (Value Text)
Maybe MultiMeasureMappingsProperty
()
Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
haddock_workaround_ :: ()
databaseName :: Value Text
dimensionMappings :: [DimensionMappingProperty]
measureNameColumn :: Maybe (Value Text)
mixedMeasureMappings :: Maybe [MixedMeasureMappingProperty]
multiMeasureMappings :: Maybe MultiMeasureMappingsProperty
tableName :: Value Text
..}