module Stratosphere.IoTEvents.DetectorModel (
        module Exports, DetectorModel(..), mkDetectorModel
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoTEvents.DetectorModel.DetectorModelDefinitionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data DetectorModel
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html>
    DetectorModel {DetectorModel -> ()
haddock_workaround_ :: (),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-detectormodeldefinition>
                   DetectorModel -> DetectorModelDefinitionProperty
detectorModelDefinition :: DetectorModelDefinitionProperty,
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-detectormodeldescription>
                   DetectorModel -> Maybe (Value Text)
detectorModelDescription :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-detectormodelname>
                   DetectorModel -> Maybe (Value Text)
detectorModelName :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-evaluationmethod>
                   DetectorModel -> Maybe (Value Text)
evaluationMethod :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-key>
                   DetectorModel -> Maybe (Value Text)
key :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-rolearn>
                   DetectorModel -> Value Text
roleArn :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-tags>
                   DetectorModel -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (DetectorModel -> DetectorModel -> Bool
(DetectorModel -> DetectorModel -> Bool)
-> (DetectorModel -> DetectorModel -> Bool) -> Eq DetectorModel
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DetectorModel -> DetectorModel -> Bool
== :: DetectorModel -> DetectorModel -> Bool
$c/= :: DetectorModel -> DetectorModel -> Bool
/= :: DetectorModel -> DetectorModel -> Bool
Prelude.Eq, Int -> DetectorModel -> ShowS
[DetectorModel] -> ShowS
DetectorModel -> String
(Int -> DetectorModel -> ShowS)
-> (DetectorModel -> String)
-> ([DetectorModel] -> ShowS)
-> Show DetectorModel
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DetectorModel -> ShowS
showsPrec :: Int -> DetectorModel -> ShowS
$cshow :: DetectorModel -> String
show :: DetectorModel -> String
$cshowList :: [DetectorModel] -> ShowS
showList :: [DetectorModel] -> ShowS
Prelude.Show)
mkDetectorModel ::
  DetectorModelDefinitionProperty
  -> Value Prelude.Text -> DetectorModel
mkDetectorModel :: DetectorModelDefinitionProperty -> Value Text -> DetectorModel
mkDetectorModel DetectorModelDefinitionProperty
detectorModelDefinition Value Text
roleArn
  = DetectorModel
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDefinition = DetectorModelDefinitionProperty
detectorModelDefinition,
       roleArn :: Value Text
roleArn = Value Text
roleArn, detectorModelDescription :: Maybe (Value Text)
detectorModelDescription = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       detectorModelName :: Maybe (Value Text)
detectorModelName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       evaluationMethod :: Maybe (Value Text)
evaluationMethod = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, key :: Maybe (Value Text)
key = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DetectorModel where
  toResourceProperties :: DetectorModel -> ResourceProperties
toResourceProperties DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IoTEvents::DetectorModel",
         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
"DetectorModelDefinition" Key -> DetectorModelDefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DetectorModelDefinitionProperty
detectorModelDefinition,
                            Key
"RoleArn" 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
roleArn]
                           ([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
"DetectorModelDescription"
                                 (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)
detectorModelDescription,
                               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
"DetectorModelName" (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)
detectorModelName,
                               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
"EvaluationMethod" (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)
evaluationMethod,
                               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
"Key" (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)
key,
                               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 DetectorModel where
  toJSON :: DetectorModel -> Value
toJSON DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = [(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
"DetectorModelDefinition" Key -> DetectorModelDefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DetectorModelDefinitionProperty
detectorModelDefinition,
               Key
"RoleArn" 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
roleArn]
              ([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
"DetectorModelDescription"
                    (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)
detectorModelDescription,
                  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
"DetectorModelName" (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)
detectorModelName,
                  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
"EvaluationMethod" (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)
evaluationMethod,
                  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
"Key" (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)
key,
                  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 "DetectorModelDefinition" DetectorModel where
  type PropertyType "DetectorModelDefinition" DetectorModel = DetectorModelDefinitionProperty
  set :: PropertyType "DetectorModelDefinition" DetectorModel
-> DetectorModel -> DetectorModel
set PropertyType "DetectorModelDefinition" DetectorModel
newValue DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = DetectorModel {detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDefinition = PropertyType "DetectorModelDefinition" DetectorModel
DetectorModelDefinitionProperty
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "DetectorModelDescription" DetectorModel where
  type PropertyType "DetectorModelDescription" DetectorModel = Value Prelude.Text
  set :: PropertyType "DetectorModelDescription" DetectorModel
-> DetectorModel -> DetectorModel
set PropertyType "DetectorModelDescription" DetectorModel
newValue DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = DetectorModel
        {detectorModelDescription :: Maybe (Value Text)
detectorModelDescription = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DetectorModelDescription" DetectorModel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "DetectorModelName" DetectorModel where
  type PropertyType "DetectorModelName" DetectorModel = Value Prelude.Text
  set :: PropertyType "DetectorModelName" DetectorModel
-> DetectorModel -> DetectorModel
set PropertyType "DetectorModelName" DetectorModel
newValue DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = DetectorModel {detectorModelName :: Maybe (Value Text)
detectorModelName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DetectorModelName" DetectorModel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "EvaluationMethod" DetectorModel where
  type PropertyType "EvaluationMethod" DetectorModel = Value Prelude.Text
  set :: PropertyType "EvaluationMethod" DetectorModel
-> DetectorModel -> DetectorModel
set PropertyType "EvaluationMethod" DetectorModel
newValue DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = DetectorModel {evaluationMethod :: Maybe (Value Text)
evaluationMethod = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EvaluationMethod" DetectorModel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Key" DetectorModel where
  type PropertyType "Key" DetectorModel = Value Prelude.Text
  set :: PropertyType "Key" DetectorModel -> DetectorModel -> DetectorModel
set PropertyType "Key" DetectorModel
newValue DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = DetectorModel {key :: Maybe (Value Text)
key = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Key" DetectorModel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "RoleArn" DetectorModel where
  type PropertyType "RoleArn" DetectorModel = Value Prelude.Text
  set :: PropertyType "RoleArn" DetectorModel
-> DetectorModel -> DetectorModel
set PropertyType "RoleArn" DetectorModel
newValue DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = DetectorModel {roleArn :: Value Text
roleArn = PropertyType "RoleArn" DetectorModel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
()
DetectorModelDefinitionProperty
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" DetectorModel where
  type PropertyType "Tags" DetectorModel = [Tag]
  set :: PropertyType "Tags" DetectorModel -> DetectorModel -> DetectorModel
set PropertyType "Tags" DetectorModel
newValue DetectorModel {Maybe [Tag]
Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: DetectorModel -> ()
detectorModelDefinition :: DetectorModel -> DetectorModelDefinitionProperty
detectorModelDescription :: DetectorModel -> Maybe (Value Text)
detectorModelName :: DetectorModel -> Maybe (Value Text)
evaluationMethod :: DetectorModel -> Maybe (Value Text)
key :: DetectorModel -> Maybe (Value Text)
roleArn :: DetectorModel -> Value Text
tags :: DetectorModel -> Maybe [Tag]
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
    = DetectorModel {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" DetectorModel
newValue, Maybe (Value Text)
()
Value Text
DetectorModelDefinitionProperty
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
haddock_workaround_ :: ()
detectorModelDefinition :: DetectorModelDefinitionProperty
detectorModelDescription :: Maybe (Value Text)
detectorModelName :: Maybe (Value Text)
evaluationMethod :: Maybe (Value Text)
key :: Maybe (Value Text)
roleArn :: Value Text
..}