module Stratosphere.IoT.TopicRule.TopicRulePayloadProperty (
        module Exports, TopicRulePayloadProperty(..),
        mkTopicRulePayloadProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoT.TopicRule.ActionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TopicRulePayloadProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html>
    TopicRulePayloadProperty {TopicRulePayloadProperty -> ()
haddock_workaround_ :: (),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-actions>
                              TopicRulePayloadProperty -> [ActionProperty]
actions :: [ActionProperty],
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-awsiotsqlversion>
                              TopicRulePayloadProperty -> Maybe (Value Text)
awsIotSqlVersion :: (Prelude.Maybe (Value Prelude.Text)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-description>
                              TopicRulePayloadProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-erroraction>
                              TopicRulePayloadProperty -> Maybe ActionProperty
errorAction :: (Prelude.Maybe ActionProperty),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-ruledisabled>
                              TopicRulePayloadProperty -> Maybe (Value Bool)
ruleDisabled :: (Prelude.Maybe (Value Prelude.Bool)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-sql>
                              TopicRulePayloadProperty -> Value Text
sql :: (Value Prelude.Text)}
  deriving stock (TopicRulePayloadProperty -> TopicRulePayloadProperty -> Bool
(TopicRulePayloadProperty -> TopicRulePayloadProperty -> Bool)
-> (TopicRulePayloadProperty -> TopicRulePayloadProperty -> Bool)
-> Eq TopicRulePayloadProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TopicRulePayloadProperty -> TopicRulePayloadProperty -> Bool
== :: TopicRulePayloadProperty -> TopicRulePayloadProperty -> Bool
$c/= :: TopicRulePayloadProperty -> TopicRulePayloadProperty -> Bool
/= :: TopicRulePayloadProperty -> TopicRulePayloadProperty -> Bool
Prelude.Eq, Int -> TopicRulePayloadProperty -> ShowS
[TopicRulePayloadProperty] -> ShowS
TopicRulePayloadProperty -> String
(Int -> TopicRulePayloadProperty -> ShowS)
-> (TopicRulePayloadProperty -> String)
-> ([TopicRulePayloadProperty] -> ShowS)
-> Show TopicRulePayloadProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TopicRulePayloadProperty -> ShowS
showsPrec :: Int -> TopicRulePayloadProperty -> ShowS
$cshow :: TopicRulePayloadProperty -> String
show :: TopicRulePayloadProperty -> String
$cshowList :: [TopicRulePayloadProperty] -> ShowS
showList :: [TopicRulePayloadProperty] -> ShowS
Prelude.Show)
mkTopicRulePayloadProperty ::
  [ActionProperty] -> Value Prelude.Text -> TopicRulePayloadProperty
mkTopicRulePayloadProperty :: [ActionProperty] -> Value Text -> TopicRulePayloadProperty
mkTopicRulePayloadProperty [ActionProperty]
actions Value Text
sql
  = TopicRulePayloadProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), actions :: [ActionProperty]
actions = [ActionProperty]
actions, sql :: Value Text
sql = Value Text
sql,
       awsIotSqlVersion :: Maybe (Value Text)
awsIotSqlVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       errorAction :: Maybe ActionProperty
errorAction = Maybe ActionProperty
forall a. Maybe a
Prelude.Nothing, ruleDisabled :: Maybe (Value Bool)
ruleDisabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TopicRulePayloadProperty where
  toResourceProperties :: TopicRulePayloadProperty -> ResourceProperties
toResourceProperties TopicRulePayloadProperty {[ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: TopicRulePayloadProperty -> ()
actions :: TopicRulePayloadProperty -> [ActionProperty]
awsIotSqlVersion :: TopicRulePayloadProperty -> Maybe (Value Text)
description :: TopicRulePayloadProperty -> Maybe (Value Text)
errorAction :: TopicRulePayloadProperty -> Maybe ActionProperty
ruleDisabled :: TopicRulePayloadProperty -> Maybe (Value Bool)
sql :: TopicRulePayloadProperty -> Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IoT::TopicRule.TopicRulePayload",
         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
"Actions" Key -> [ActionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [ActionProperty]
actions, Key
"Sql" 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
sql]
                           ([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
"AwsIotSqlVersion" (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)
awsIotSqlVersion,
                               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
"Description" (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)
description,
                               Key -> ActionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ErrorAction" (ActionProperty -> (Key, Value))
-> Maybe ActionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ActionProperty
errorAction,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuleDisabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
ruleDisabled]))}
instance JSON.ToJSON TopicRulePayloadProperty where
  toJSON :: TopicRulePayloadProperty -> Value
toJSON TopicRulePayloadProperty {[ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: TopicRulePayloadProperty -> ()
actions :: TopicRulePayloadProperty -> [ActionProperty]
awsIotSqlVersion :: TopicRulePayloadProperty -> Maybe (Value Text)
description :: TopicRulePayloadProperty -> Maybe (Value Text)
errorAction :: TopicRulePayloadProperty -> Maybe ActionProperty
ruleDisabled :: TopicRulePayloadProperty -> Maybe (Value Bool)
sql :: TopicRulePayloadProperty -> Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: 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
"Actions" Key -> [ActionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [ActionProperty]
actions, Key
"Sql" 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
sql]
              ([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
"AwsIotSqlVersion" (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)
awsIotSqlVersion,
                  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
"Description" (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)
description,
                  Key -> ActionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ErrorAction" (ActionProperty -> (Key, Value))
-> Maybe ActionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ActionProperty
errorAction,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuleDisabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
ruleDisabled])))
instance Property "Actions" TopicRulePayloadProperty where
  type PropertyType "Actions" TopicRulePayloadProperty = [ActionProperty]
  set :: PropertyType "Actions" TopicRulePayloadProperty
-> TopicRulePayloadProperty -> TopicRulePayloadProperty
set PropertyType "Actions" TopicRulePayloadProperty
newValue TopicRulePayloadProperty {[ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: TopicRulePayloadProperty -> ()
actions :: TopicRulePayloadProperty -> [ActionProperty]
awsIotSqlVersion :: TopicRulePayloadProperty -> Maybe (Value Text)
description :: TopicRulePayloadProperty -> Maybe (Value Text)
errorAction :: TopicRulePayloadProperty -> Maybe ActionProperty
ruleDisabled :: TopicRulePayloadProperty -> Maybe (Value Bool)
sql :: TopicRulePayloadProperty -> Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
    = TopicRulePayloadProperty {actions :: [ActionProperty]
actions = [ActionProperty]
PropertyType "Actions" TopicRulePayloadProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: ()
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
haddock_workaround_ :: ()
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
instance Property "AwsIotSqlVersion" TopicRulePayloadProperty where
  type PropertyType "AwsIotSqlVersion" TopicRulePayloadProperty = Value Prelude.Text
  set :: PropertyType "AwsIotSqlVersion" TopicRulePayloadProperty
-> TopicRulePayloadProperty -> TopicRulePayloadProperty
set PropertyType "AwsIotSqlVersion" TopicRulePayloadProperty
newValue TopicRulePayloadProperty {[ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: TopicRulePayloadProperty -> ()
actions :: TopicRulePayloadProperty -> [ActionProperty]
awsIotSqlVersion :: TopicRulePayloadProperty -> Maybe (Value Text)
description :: TopicRulePayloadProperty -> Maybe (Value Text)
errorAction :: TopicRulePayloadProperty -> Maybe ActionProperty
ruleDisabled :: TopicRulePayloadProperty -> Maybe (Value Bool)
sql :: TopicRulePayloadProperty -> Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
    = TopicRulePayloadProperty
        {awsIotSqlVersion :: Maybe (Value Text)
awsIotSqlVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AwsIotSqlVersion" TopicRulePayloadProperty
Value Text
newValue, [ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
instance Property "Description" TopicRulePayloadProperty where
  type PropertyType "Description" TopicRulePayloadProperty = Value Prelude.Text
  set :: PropertyType "Description" TopicRulePayloadProperty
-> TopicRulePayloadProperty -> TopicRulePayloadProperty
set PropertyType "Description" TopicRulePayloadProperty
newValue TopicRulePayloadProperty {[ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: TopicRulePayloadProperty -> ()
actions :: TopicRulePayloadProperty -> [ActionProperty]
awsIotSqlVersion :: TopicRulePayloadProperty -> Maybe (Value Text)
description :: TopicRulePayloadProperty -> Maybe (Value Text)
errorAction :: TopicRulePayloadProperty -> Maybe ActionProperty
ruleDisabled :: TopicRulePayloadProperty -> Maybe (Value Bool)
sql :: TopicRulePayloadProperty -> Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
    = TopicRulePayloadProperty
        {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" TopicRulePayloadProperty
Value Text
newValue, [ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
instance Property "ErrorAction" TopicRulePayloadProperty where
  type PropertyType "ErrorAction" TopicRulePayloadProperty = ActionProperty
  set :: PropertyType "ErrorAction" TopicRulePayloadProperty
-> TopicRulePayloadProperty -> TopicRulePayloadProperty
set PropertyType "ErrorAction" TopicRulePayloadProperty
newValue TopicRulePayloadProperty {[ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: TopicRulePayloadProperty -> ()
actions :: TopicRulePayloadProperty -> [ActionProperty]
awsIotSqlVersion :: TopicRulePayloadProperty -> Maybe (Value Text)
description :: TopicRulePayloadProperty -> Maybe (Value Text)
errorAction :: TopicRulePayloadProperty -> Maybe ActionProperty
ruleDisabled :: TopicRulePayloadProperty -> Maybe (Value Bool)
sql :: TopicRulePayloadProperty -> Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
    = TopicRulePayloadProperty
        {errorAction :: Maybe ActionProperty
errorAction = ActionProperty -> Maybe ActionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ErrorAction" TopicRulePayloadProperty
ActionProperty
newValue, [ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
instance Property "RuleDisabled" TopicRulePayloadProperty where
  type PropertyType "RuleDisabled" TopicRulePayloadProperty = Value Prelude.Bool
  set :: PropertyType "RuleDisabled" TopicRulePayloadProperty
-> TopicRulePayloadProperty -> TopicRulePayloadProperty
set PropertyType "RuleDisabled" TopicRulePayloadProperty
newValue TopicRulePayloadProperty {[ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: TopicRulePayloadProperty -> ()
actions :: TopicRulePayloadProperty -> [ActionProperty]
awsIotSqlVersion :: TopicRulePayloadProperty -> Maybe (Value Text)
description :: TopicRulePayloadProperty -> Maybe (Value Text)
errorAction :: TopicRulePayloadProperty -> Maybe ActionProperty
ruleDisabled :: TopicRulePayloadProperty -> Maybe (Value Bool)
sql :: TopicRulePayloadProperty -> Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
    = TopicRulePayloadProperty
        {ruleDisabled :: Maybe (Value Bool)
ruleDisabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RuleDisabled" TopicRulePayloadProperty
Value Bool
newValue, [ActionProperty]
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
sql :: Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
sql :: Value Text
..}
instance Property "Sql" TopicRulePayloadProperty where
  type PropertyType "Sql" TopicRulePayloadProperty = Value Prelude.Text
  set :: PropertyType "Sql" TopicRulePayloadProperty
-> TopicRulePayloadProperty -> TopicRulePayloadProperty
set PropertyType "Sql" TopicRulePayloadProperty
newValue TopicRulePayloadProperty {[ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
Value Text
haddock_workaround_ :: TopicRulePayloadProperty -> ()
actions :: TopicRulePayloadProperty -> [ActionProperty]
awsIotSqlVersion :: TopicRulePayloadProperty -> Maybe (Value Text)
description :: TopicRulePayloadProperty -> Maybe (Value Text)
errorAction :: TopicRulePayloadProperty -> Maybe ActionProperty
ruleDisabled :: TopicRulePayloadProperty -> Maybe (Value Bool)
sql :: TopicRulePayloadProperty -> Value Text
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
sql :: Value Text
..}
    = TopicRulePayloadProperty {sql :: Value Text
sql = PropertyType "Sql" TopicRulePayloadProperty
Value Text
newValue, [ActionProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe ActionProperty
()
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
haddock_workaround_ :: ()
actions :: [ActionProperty]
awsIotSqlVersion :: Maybe (Value Text)
description :: Maybe (Value Text)
errorAction :: Maybe ActionProperty
ruleDisabled :: Maybe (Value Bool)
..}