module Stratosphere.Logs.LogAnomalyDetector (
LogAnomalyDetector(..), mkLogAnomalyDetector
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data LogAnomalyDetector
=
LogAnomalyDetector {LogAnomalyDetector -> ()
haddock_workaround_ :: (),
LogAnomalyDetector -> Maybe (Value Text)
accountId :: (Prelude.Maybe (Value Prelude.Text)),
LogAnomalyDetector -> Maybe (Value Double)
anomalyVisibilityTime :: (Prelude.Maybe (Value Prelude.Double)),
LogAnomalyDetector -> Maybe (Value Text)
detectorName :: (Prelude.Maybe (Value Prelude.Text)),
LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: (Prelude.Maybe (Value Prelude.Text)),
LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: (Prelude.Maybe (Value Prelude.Text)),
LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: (Prelude.Maybe (Value Prelude.Text)),
LogAnomalyDetector -> Maybe (ValueList Text)
logGroupArnList :: (Prelude.Maybe (ValueList Prelude.Text))}
deriving stock (LogAnomalyDetector -> LogAnomalyDetector -> Bool
(LogAnomalyDetector -> LogAnomalyDetector -> Bool)
-> (LogAnomalyDetector -> LogAnomalyDetector -> Bool)
-> Eq LogAnomalyDetector
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: LogAnomalyDetector -> LogAnomalyDetector -> Bool
== :: LogAnomalyDetector -> LogAnomalyDetector -> Bool
$c/= :: LogAnomalyDetector -> LogAnomalyDetector -> Bool
/= :: LogAnomalyDetector -> LogAnomalyDetector -> Bool
Prelude.Eq, Int -> LogAnomalyDetector -> ShowS
[LogAnomalyDetector] -> ShowS
LogAnomalyDetector -> String
(Int -> LogAnomalyDetector -> ShowS)
-> (LogAnomalyDetector -> String)
-> ([LogAnomalyDetector] -> ShowS)
-> Show LogAnomalyDetector
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> LogAnomalyDetector -> ShowS
showsPrec :: Int -> LogAnomalyDetector -> ShowS
$cshow :: LogAnomalyDetector -> String
show :: LogAnomalyDetector -> String
$cshowList :: [LogAnomalyDetector] -> ShowS
showList :: [LogAnomalyDetector] -> ShowS
Prelude.Show)
mkLogAnomalyDetector :: LogAnomalyDetector
mkLogAnomalyDetector :: LogAnomalyDetector
mkLogAnomalyDetector
= LogAnomalyDetector
{haddock_workaround_ :: ()
haddock_workaround_ = (), accountId :: Maybe (Value Text)
accountId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
anomalyVisibilityTime :: Maybe (Value Double)
anomalyVisibilityTime = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
detectorName :: Maybe (Value Text)
detectorName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
evaluationFrequency :: Maybe (Value Text)
evaluationFrequency = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
filterPattern :: Maybe (Value Text)
filterPattern = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, kmsKeyId :: Maybe (Value Text)
kmsKeyId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
logGroupArnList :: Maybe (ValueList Text)
logGroupArnList = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties LogAnomalyDetector where
toResourceProperties :: LogAnomalyDetector -> ResourceProperties
toResourceProperties LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Logs::LogAnomalyDetector",
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 -> 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
"AccountId" (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)
accountId,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AnomalyVisibilityTime"
(Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
anomalyVisibilityTime,
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
"DetectorName" (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)
detectorName,
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
"EvaluationFrequency" (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)
evaluationFrequency,
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
"FilterPattern" (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)
filterPattern,
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
"KmsKeyId" (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)
kmsKeyId,
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
"LogGroupArnList" (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)
logGroupArnList])}
instance JSON.ToJSON LogAnomalyDetector where
toJSON :: LogAnomalyDetector -> Value
toJSON LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList 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 -> 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
"AccountId" (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)
accountId,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AnomalyVisibilityTime"
(Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
anomalyVisibilityTime,
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
"DetectorName" (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)
detectorName,
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
"EvaluationFrequency" (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)
evaluationFrequency,
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
"FilterPattern" (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)
filterPattern,
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
"KmsKeyId" (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)
kmsKeyId,
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
"LogGroupArnList" (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)
logGroupArnList]))
instance Property "AccountId" LogAnomalyDetector where
type PropertyType "AccountId" LogAnomalyDetector = Value Prelude.Text
set :: PropertyType "AccountId" LogAnomalyDetector
-> LogAnomalyDetector -> LogAnomalyDetector
set PropertyType "AccountId" LogAnomalyDetector
newValue LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
= LogAnomalyDetector {accountId :: Maybe (Value Text)
accountId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AccountId" LogAnomalyDetector
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
haddock_workaround_ :: ()
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
instance Property "AnomalyVisibilityTime" LogAnomalyDetector where
type PropertyType "AnomalyVisibilityTime" LogAnomalyDetector = Value Prelude.Double
set :: PropertyType "AnomalyVisibilityTime" LogAnomalyDetector
-> LogAnomalyDetector -> LogAnomalyDetector
set PropertyType "AnomalyVisibilityTime" LogAnomalyDetector
newValue LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
= LogAnomalyDetector
{anomalyVisibilityTime :: Maybe (Value Double)
anomalyVisibilityTime = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AnomalyVisibilityTime" LogAnomalyDetector
Value Double
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
instance Property "DetectorName" LogAnomalyDetector where
type PropertyType "DetectorName" LogAnomalyDetector = Value Prelude.Text
set :: PropertyType "DetectorName" LogAnomalyDetector
-> LogAnomalyDetector -> LogAnomalyDetector
set PropertyType "DetectorName" LogAnomalyDetector
newValue LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
= LogAnomalyDetector {detectorName :: Maybe (Value Text)
detectorName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DetectorName" LogAnomalyDetector
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
instance Property "EvaluationFrequency" LogAnomalyDetector where
type PropertyType "EvaluationFrequency" LogAnomalyDetector = Value Prelude.Text
set :: PropertyType "EvaluationFrequency" LogAnomalyDetector
-> LogAnomalyDetector -> LogAnomalyDetector
set PropertyType "EvaluationFrequency" LogAnomalyDetector
newValue LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
= LogAnomalyDetector
{evaluationFrequency :: Maybe (Value Text)
evaluationFrequency = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EvaluationFrequency" LogAnomalyDetector
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
instance Property "FilterPattern" LogAnomalyDetector where
type PropertyType "FilterPattern" LogAnomalyDetector = Value Prelude.Text
set :: PropertyType "FilterPattern" LogAnomalyDetector
-> LogAnomalyDetector -> LogAnomalyDetector
set PropertyType "FilterPattern" LogAnomalyDetector
newValue LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
= LogAnomalyDetector {filterPattern :: Maybe (Value Text)
filterPattern = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FilterPattern" LogAnomalyDetector
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
instance Property "KmsKeyId" LogAnomalyDetector where
type PropertyType "KmsKeyId" LogAnomalyDetector = Value Prelude.Text
set :: PropertyType "KmsKeyId" LogAnomalyDetector
-> LogAnomalyDetector -> LogAnomalyDetector
set PropertyType "KmsKeyId" LogAnomalyDetector
newValue LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
= LogAnomalyDetector {kmsKeyId :: Maybe (Value Text)
kmsKeyId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyId" LogAnomalyDetector
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
instance Property "LogGroupArnList" LogAnomalyDetector where
type PropertyType "LogGroupArnList" LogAnomalyDetector = ValueList Prelude.Text
set :: PropertyType "LogGroupArnList" LogAnomalyDetector
-> LogAnomalyDetector -> LogAnomalyDetector
set PropertyType "LogGroupArnList" LogAnomalyDetector
newValue LogAnomalyDetector {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: LogAnomalyDetector -> ()
accountId :: LogAnomalyDetector -> Maybe (Value Text)
anomalyVisibilityTime :: LogAnomalyDetector -> Maybe (Value Double)
detectorName :: LogAnomalyDetector -> Maybe (Value Text)
evaluationFrequency :: LogAnomalyDetector -> Maybe (Value Text)
filterPattern :: LogAnomalyDetector -> Maybe (Value Text)
kmsKeyId :: LogAnomalyDetector -> Maybe (Value Text)
logGroupArnList :: LogAnomalyDetector -> Maybe (ValueList Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
logGroupArnList :: Maybe (ValueList Text)
..}
= LogAnomalyDetector {logGroupArnList :: Maybe (ValueList Text)
logGroupArnList = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogGroupArnList" LogAnomalyDetector
ValueList Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
haddock_workaround_ :: ()
accountId :: Maybe (Value Text)
anomalyVisibilityTime :: Maybe (Value Double)
detectorName :: Maybe (Value Text)
evaluationFrequency :: Maybe (Value Text)
filterPattern :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
..}