module Stratosphere.LookoutMetrics.AnomalyDetector.MetricSetProperty (
module Exports, MetricSetProperty(..), mkMetricSetProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.LookoutMetrics.AnomalyDetector.MetricProperty as Exports
import {-# SOURCE #-} Stratosphere.LookoutMetrics.AnomalyDetector.MetricSourceProperty as Exports
import {-# SOURCE #-} Stratosphere.LookoutMetrics.AnomalyDetector.TimestampColumnProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data MetricSetProperty
=
MetricSetProperty {MetricSetProperty -> ()
haddock_workaround_ :: (),
MetricSetProperty -> Maybe (ValueList Text)
dimensionList :: (Prelude.Maybe (ValueList Prelude.Text)),
MetricSetProperty -> [MetricProperty]
metricList :: [MetricProperty],
MetricSetProperty -> Maybe (Value Text)
metricSetDescription :: (Prelude.Maybe (Value Prelude.Text)),
MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: (Prelude.Maybe (Value Prelude.Text)),
MetricSetProperty -> Value Text
metricSetName :: (Value Prelude.Text),
MetricSetProperty -> MetricSourceProperty
metricSource :: MetricSourceProperty,
MetricSetProperty -> Maybe (Value Integer)
offset :: (Prelude.Maybe (Value Prelude.Integer)),
MetricSetProperty -> Maybe TimestampColumnProperty
timestampColumn :: (Prelude.Maybe TimestampColumnProperty),
MetricSetProperty -> Maybe (Value Text)
timezone :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (MetricSetProperty -> MetricSetProperty -> Bool
(MetricSetProperty -> MetricSetProperty -> Bool)
-> (MetricSetProperty -> MetricSetProperty -> Bool)
-> Eq MetricSetProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MetricSetProperty -> MetricSetProperty -> Bool
== :: MetricSetProperty -> MetricSetProperty -> Bool
$c/= :: MetricSetProperty -> MetricSetProperty -> Bool
/= :: MetricSetProperty -> MetricSetProperty -> Bool
Prelude.Eq, Int -> MetricSetProperty -> ShowS
[MetricSetProperty] -> ShowS
MetricSetProperty -> String
(Int -> MetricSetProperty -> ShowS)
-> (MetricSetProperty -> String)
-> ([MetricSetProperty] -> ShowS)
-> Show MetricSetProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MetricSetProperty -> ShowS
showsPrec :: Int -> MetricSetProperty -> ShowS
$cshow :: MetricSetProperty -> String
show :: MetricSetProperty -> String
$cshowList :: [MetricSetProperty] -> ShowS
showList :: [MetricSetProperty] -> ShowS
Prelude.Show)
mkMetricSetProperty ::
[MetricProperty]
-> Value Prelude.Text -> MetricSourceProperty -> MetricSetProperty
mkMetricSetProperty :: [MetricProperty]
-> Value Text -> MetricSourceProperty -> MetricSetProperty
mkMetricSetProperty [MetricProperty]
metricList Value Text
metricSetName MetricSourceProperty
metricSource
= MetricSetProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), metricList :: [MetricProperty]
metricList = [MetricProperty]
metricList,
metricSetName :: Value Text
metricSetName = Value Text
metricSetName, metricSource :: MetricSourceProperty
metricSource = MetricSourceProperty
metricSource,
dimensionList :: Maybe (ValueList Text)
dimensionList = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
metricSetDescription :: Maybe (Value Text)
metricSetDescription = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
metricSetFrequency :: Maybe (Value Text)
metricSetFrequency = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, offset :: Maybe (Value Integer)
offset = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
timestampColumn :: Maybe TimestampColumnProperty
timestampColumn = Maybe TimestampColumnProperty
forall a. Maybe a
Prelude.Nothing, timezone :: Maybe (Value Text)
timezone = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties MetricSetProperty where
toResourceProperties :: MetricSetProperty -> ResourceProperties
toResourceProperties MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::LookoutMetrics::AnomalyDetector.MetricSet",
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
"MetricList" Key -> [MetricProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [MetricProperty]
metricList,
Key
"MetricSetName" 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
metricSetName,
Key
"MetricSource" Key -> MetricSourceProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= MetricSourceProperty
metricSource]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList 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
"DimensionList" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
dimensionList,
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
"MetricSetDescription" (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)
metricSetDescription,
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
"MetricSetFrequency" (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)
metricSetFrequency,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Offset" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
offset,
Key -> TimestampColumnProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TimestampColumn" (TimestampColumnProperty -> (Key, Value))
-> Maybe TimestampColumnProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimestampColumnProperty
timestampColumn,
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
"Timezone" (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)
timezone]))}
instance JSON.ToJSON MetricSetProperty where
toJSON :: MetricSetProperty -> Value
toJSON MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (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
"MetricList" Key -> [MetricProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [MetricProperty]
metricList,
Key
"MetricSetName" 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
metricSetName,
Key
"MetricSource" Key -> MetricSourceProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= MetricSourceProperty
metricSource]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList 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
"DimensionList" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
dimensionList,
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
"MetricSetDescription" (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)
metricSetDescription,
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
"MetricSetFrequency" (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)
metricSetFrequency,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Offset" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
offset,
Key -> TimestampColumnProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TimestampColumn" (TimestampColumnProperty -> (Key, Value))
-> Maybe TimestampColumnProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimestampColumnProperty
timestampColumn,
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
"Timezone" (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)
timezone])))
instance Property "DimensionList" MetricSetProperty where
type PropertyType "DimensionList" MetricSetProperty = ValueList Prelude.Text
set :: PropertyType "DimensionList" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "DimensionList" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty {dimensionList :: Maybe (ValueList Text)
dimensionList = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DimensionList" MetricSetProperty
ValueList Text
newValue, [MetricProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: ()
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
haddock_workaround_ :: ()
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
instance Property "MetricList" MetricSetProperty where
type PropertyType "MetricList" MetricSetProperty = [MetricProperty]
set :: PropertyType "MetricList" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "MetricList" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty {metricList :: [MetricProperty]
metricList = [MetricProperty]
PropertyType "MetricList" MetricSetProperty
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
instance Property "MetricSetDescription" MetricSetProperty where
type PropertyType "MetricSetDescription" MetricSetProperty = Value Prelude.Text
set :: PropertyType "MetricSetDescription" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "MetricSetDescription" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty
{metricSetDescription :: Maybe (Value Text)
metricSetDescription = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MetricSetDescription" MetricSetProperty
Value Text
newValue, [MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
instance Property "MetricSetFrequency" MetricSetProperty where
type PropertyType "MetricSetFrequency" MetricSetProperty = Value Prelude.Text
set :: PropertyType "MetricSetFrequency" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "MetricSetFrequency" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty
{metricSetFrequency :: Maybe (Value Text)
metricSetFrequency = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MetricSetFrequency" MetricSetProperty
Value Text
newValue, [MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
instance Property "MetricSetName" MetricSetProperty where
type PropertyType "MetricSetName" MetricSetProperty = Value Prelude.Text
set :: PropertyType "MetricSetName" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "MetricSetName" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty {metricSetName :: Value Text
metricSetName = PropertyType "MetricSetName" MetricSetProperty
Value Text
newValue, [MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
MetricSourceProperty
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
instance Property "MetricSource" MetricSetProperty where
type PropertyType "MetricSource" MetricSetProperty = MetricSourceProperty
set :: PropertyType "MetricSource" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "MetricSource" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty {metricSource :: MetricSourceProperty
metricSource = PropertyType "MetricSource" MetricSetProperty
MetricSourceProperty
newValue, [MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
instance Property "Offset" MetricSetProperty where
type PropertyType "Offset" MetricSetProperty = Value Prelude.Integer
set :: PropertyType "Offset" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "Offset" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty {offset :: Maybe (Value Integer)
offset = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Offset" MetricSetProperty
Value Integer
newValue, [MetricProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
instance Property "TimestampColumn" MetricSetProperty where
type PropertyType "TimestampColumn" MetricSetProperty = TimestampColumnProperty
set :: PropertyType "TimestampColumn" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "TimestampColumn" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty {timestampColumn :: Maybe TimestampColumnProperty
timestampColumn = TimestampColumnProperty -> Maybe TimestampColumnProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TimestampColumn" MetricSetProperty
TimestampColumnProperty
newValue, [MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
MetricSourceProperty
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timezone :: Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timezone :: Maybe (Value Text)
..}
instance Property "Timezone" MetricSetProperty where
type PropertyType "Timezone" MetricSetProperty = Value Prelude.Text
set :: PropertyType "Timezone" MetricSetProperty
-> MetricSetProperty -> MetricSetProperty
set PropertyType "Timezone" MetricSetProperty
newValue MetricSetProperty {[MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: MetricSetProperty -> ()
dimensionList :: MetricSetProperty -> Maybe (ValueList Text)
metricList :: MetricSetProperty -> [MetricProperty]
metricSetDescription :: MetricSetProperty -> Maybe (Value Text)
metricSetFrequency :: MetricSetProperty -> Maybe (Value Text)
metricSetName :: MetricSetProperty -> Value Text
metricSource :: MetricSetProperty -> MetricSourceProperty
offset :: MetricSetProperty -> Maybe (Value Integer)
timestampColumn :: MetricSetProperty -> Maybe TimestampColumnProperty
timezone :: MetricSetProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
timezone :: Maybe (Value Text)
..}
= MetricSetProperty {timezone :: Maybe (Value Text)
timezone = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Timezone" MetricSetProperty
Value Text
newValue, [MetricProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimestampColumnProperty
()
Value Text
MetricSourceProperty
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
haddock_workaround_ :: ()
dimensionList :: Maybe (ValueList Text)
metricList :: [MetricProperty]
metricSetDescription :: Maybe (Value Text)
metricSetFrequency :: Maybe (Value Text)
metricSetName :: Value Text
metricSource :: MetricSourceProperty
offset :: Maybe (Value Integer)
timestampColumn :: Maybe TimestampColumnProperty
..}