module Stratosphere.APS.AnomalyDetector (
        module Exports, AnomalyDetector(..), mkAnomalyDetector
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.APS.AnomalyDetector.AnomalyDetectorConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.APS.AnomalyDetector.LabelProperty as Exports
import {-# SOURCE #-} Stratosphere.APS.AnomalyDetector.MissingDataActionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data AnomalyDetector
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html>
    AnomalyDetector {AnomalyDetector -> ()
haddock_workaround_ :: (),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html#cfn-aps-anomalydetector-alias>
                     AnomalyDetector -> Value Text
alias :: (Value Prelude.Text),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html#cfn-aps-anomalydetector-configuration>
                     AnomalyDetector -> AnomalyDetectorConfigurationProperty
configuration :: AnomalyDetectorConfigurationProperty,
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html#cfn-aps-anomalydetector-evaluationintervalinseconds>
                     AnomalyDetector -> Maybe (Value Integer)
evaluationIntervalInSeconds :: (Prelude.Maybe (Value Prelude.Integer)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html#cfn-aps-anomalydetector-labels>
                     AnomalyDetector -> Maybe [LabelProperty]
labels :: (Prelude.Maybe [LabelProperty]),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html#cfn-aps-anomalydetector-missingdataaction>
                     AnomalyDetector -> Maybe MissingDataActionProperty
missingDataAction :: (Prelude.Maybe MissingDataActionProperty),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html#cfn-aps-anomalydetector-tags>
                     AnomalyDetector -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html#cfn-aps-anomalydetector-workspace>
                     AnomalyDetector -> Value Text
workspace :: (Value Prelude.Text)}
  deriving stock (AnomalyDetector -> AnomalyDetector -> Bool
(AnomalyDetector -> AnomalyDetector -> Bool)
-> (AnomalyDetector -> AnomalyDetector -> Bool)
-> Eq AnomalyDetector
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AnomalyDetector -> AnomalyDetector -> Bool
== :: AnomalyDetector -> AnomalyDetector -> Bool
$c/= :: AnomalyDetector -> AnomalyDetector -> Bool
/= :: AnomalyDetector -> AnomalyDetector -> Bool
Prelude.Eq, Int -> AnomalyDetector -> ShowS
[AnomalyDetector] -> ShowS
AnomalyDetector -> String
(Int -> AnomalyDetector -> ShowS)
-> (AnomalyDetector -> String)
-> ([AnomalyDetector] -> ShowS)
-> Show AnomalyDetector
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AnomalyDetector -> ShowS
showsPrec :: Int -> AnomalyDetector -> ShowS
$cshow :: AnomalyDetector -> String
show :: AnomalyDetector -> String
$cshowList :: [AnomalyDetector] -> ShowS
showList :: [AnomalyDetector] -> ShowS
Prelude.Show)
mkAnomalyDetector ::
  Value Prelude.Text
  -> AnomalyDetectorConfigurationProperty
     -> Value Prelude.Text -> AnomalyDetector
mkAnomalyDetector :: Value Text
-> AnomalyDetectorConfigurationProperty
-> Value Text
-> AnomalyDetector
mkAnomalyDetector Value Text
alias AnomalyDetectorConfigurationProperty
configuration Value Text
workspace
  = AnomalyDetector
      {haddock_workaround_ :: ()
haddock_workaround_ = (), alias :: Value Text
alias = Value Text
alias,
       configuration :: AnomalyDetectorConfigurationProperty
configuration = AnomalyDetectorConfigurationProperty
configuration, workspace :: Value Text
workspace = Value Text
workspace,
       evaluationIntervalInSeconds :: Maybe (Value Integer)
evaluationIntervalInSeconds = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       labels :: Maybe [LabelProperty]
labels = Maybe [LabelProperty]
forall a. Maybe a
Prelude.Nothing, missingDataAction :: Maybe MissingDataActionProperty
missingDataAction = Maybe MissingDataActionProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AnomalyDetector where
  toResourceProperties :: AnomalyDetector -> ResourceProperties
toResourceProperties AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::APS::AnomalyDetector",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"Alias" 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
alias, Key
"Configuration" Key -> AnomalyDetectorConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= AnomalyDetectorConfigurationProperty
configuration,
                            Key
"Workspace" 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
workspace]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"EvaluationIntervalInSeconds"
                                 (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)
evaluationIntervalInSeconds,
                               Key -> [LabelProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Labels" ([LabelProperty] -> (Key, Value))
-> Maybe [LabelProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [LabelProperty]
labels,
                               Key -> MissingDataActionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MissingDataAction" (MissingDataActionProperty -> (Key, Value))
-> Maybe MissingDataActionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MissingDataActionProperty
missingDataAction,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON AnomalyDetector where
  toJSON :: AnomalyDetector -> Value
toJSON AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: 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
"Alias" 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
alias, Key
"Configuration" Key -> AnomalyDetectorConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= AnomalyDetectorConfigurationProperty
configuration,
               Key
"Workspace" 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
workspace]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"EvaluationIntervalInSeconds"
                    (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)
evaluationIntervalInSeconds,
                  Key -> [LabelProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Labels" ([LabelProperty] -> (Key, Value))
-> Maybe [LabelProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [LabelProperty]
labels,
                  Key -> MissingDataActionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MissingDataAction" (MissingDataActionProperty -> (Key, Value))
-> Maybe MissingDataActionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MissingDataActionProperty
missingDataAction,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "Alias" AnomalyDetector where
  type PropertyType "Alias" AnomalyDetector = Value Prelude.Text
  set :: PropertyType "Alias" AnomalyDetector
-> AnomalyDetector -> AnomalyDetector
set PropertyType "Alias" AnomalyDetector
newValue AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
    = AnomalyDetector {alias :: Value Text
alias = PropertyType "Alias" AnomalyDetector
Value Text
newValue, Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: ()
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
haddock_workaround_ :: ()
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
instance Property "Configuration" AnomalyDetector where
  type PropertyType "Configuration" AnomalyDetector = AnomalyDetectorConfigurationProperty
  set :: PropertyType "Configuration" AnomalyDetector
-> AnomalyDetector -> AnomalyDetector
set PropertyType "Configuration" AnomalyDetector
newValue AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
    = AnomalyDetector {configuration :: AnomalyDetectorConfigurationProperty
configuration = PropertyType "Configuration" AnomalyDetector
AnomalyDetectorConfigurationProperty
newValue, Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
haddock_workaround_ :: ()
alias :: Value Text
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
haddock_workaround_ :: ()
alias :: Value Text
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
instance Property "EvaluationIntervalInSeconds" AnomalyDetector where
  type PropertyType "EvaluationIntervalInSeconds" AnomalyDetector = Value Prelude.Integer
  set :: PropertyType "EvaluationIntervalInSeconds" AnomalyDetector
-> AnomalyDetector -> AnomalyDetector
set PropertyType "EvaluationIntervalInSeconds" AnomalyDetector
newValue AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
    = AnomalyDetector
        {evaluationIntervalInSeconds :: Maybe (Value Integer)
evaluationIntervalInSeconds = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EvaluationIntervalInSeconds" AnomalyDetector
Value Integer
newValue, Maybe [Tag]
Maybe [LabelProperty]
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
instance Property "Labels" AnomalyDetector where
  type PropertyType "Labels" AnomalyDetector = [LabelProperty]
  set :: PropertyType "Labels" AnomalyDetector
-> AnomalyDetector -> AnomalyDetector
set PropertyType "Labels" AnomalyDetector
newValue AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
    = AnomalyDetector {labels :: Maybe [LabelProperty]
labels = [LabelProperty] -> Maybe [LabelProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [LabelProperty]
PropertyType "Labels" AnomalyDetector
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
instance Property "MissingDataAction" AnomalyDetector where
  type PropertyType "MissingDataAction" AnomalyDetector = MissingDataActionProperty
  set :: PropertyType "MissingDataAction" AnomalyDetector
-> AnomalyDetector -> AnomalyDetector
set PropertyType "MissingDataAction" AnomalyDetector
newValue AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
    = AnomalyDetector {missingDataAction :: Maybe MissingDataActionProperty
missingDataAction = MissingDataActionProperty -> Maybe MissingDataActionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MissingDataAction" AnomalyDetector
MissingDataActionProperty
newValue, Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
tags :: Maybe [Tag]
workspace :: Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
tags :: Maybe [Tag]
workspace :: Value Text
..}
instance Property "Tags" AnomalyDetector where
  type PropertyType "Tags" AnomalyDetector = [Tag]
  set :: PropertyType "Tags" AnomalyDetector
-> AnomalyDetector -> AnomalyDetector
set PropertyType "Tags" AnomalyDetector
newValue AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
    = AnomalyDetector {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" AnomalyDetector
newValue, Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
workspace :: Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
workspace :: Value Text
..}
instance Property "Workspace" AnomalyDetector where
  type PropertyType "Workspace" AnomalyDetector = Value Prelude.Text
  set :: PropertyType "Workspace" AnomalyDetector
-> AnomalyDetector -> AnomalyDetector
set PropertyType "Workspace" AnomalyDetector
newValue AnomalyDetector {Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: AnomalyDetector -> ()
alias :: AnomalyDetector -> Value Text
configuration :: AnomalyDetector -> AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: AnomalyDetector -> Maybe (Value Integer)
labels :: AnomalyDetector -> Maybe [LabelProperty]
missingDataAction :: AnomalyDetector -> Maybe MissingDataActionProperty
tags :: AnomalyDetector -> Maybe [Tag]
workspace :: AnomalyDetector -> Value Text
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
workspace :: Value Text
..}
    = AnomalyDetector {workspace :: Value Text
workspace = PropertyType "Workspace" AnomalyDetector
Value Text
newValue, Maybe [Tag]
Maybe [LabelProperty]
Maybe (Value Integer)
Maybe MissingDataActionProperty
()
Value Text
AnomalyDetectorConfigurationProperty
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
alias :: Value Text
configuration :: AnomalyDetectorConfigurationProperty
evaluationIntervalInSeconds :: Maybe (Value Integer)
labels :: Maybe [LabelProperty]
missingDataAction :: Maybe MissingDataActionProperty
tags :: Maybe [Tag]
..}