module Stratosphere.SecurityHub.AutomationRuleV2 (
        module Exports, AutomationRuleV2(..), mkAutomationRuleV2
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SecurityHub.AutomationRuleV2.AutomationRulesActionV2Property as Exports
import {-# SOURCE #-} Stratosphere.SecurityHub.AutomationRuleV2.CriteriaProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AutomationRuleV2
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html>
    AutomationRuleV2 {AutomationRuleV2 -> ()
haddock_workaround_ :: (),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-actions>
                      AutomationRuleV2 -> [AutomationRulesActionV2Property]
actions :: [AutomationRulesActionV2Property],
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-criteria>
                      AutomationRuleV2 -> CriteriaProperty
criteria :: CriteriaProperty,
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-description>
                      AutomationRuleV2 -> Value Text
description :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-rulename>
                      AutomationRuleV2 -> Value Text
ruleName :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-ruleorder>
                      AutomationRuleV2 -> Value Double
ruleOrder :: (Value Prelude.Double),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-rulestatus>
                      AutomationRuleV2 -> Maybe (Value Text)
ruleStatus :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-tags>
                      AutomationRuleV2 -> Maybe (Map Text (Value Text))
tags :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text)))}
  deriving stock (AutomationRuleV2 -> AutomationRuleV2 -> Bool
(AutomationRuleV2 -> AutomationRuleV2 -> Bool)
-> (AutomationRuleV2 -> AutomationRuleV2 -> Bool)
-> Eq AutomationRuleV2
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AutomationRuleV2 -> AutomationRuleV2 -> Bool
== :: AutomationRuleV2 -> AutomationRuleV2 -> Bool
$c/= :: AutomationRuleV2 -> AutomationRuleV2 -> Bool
/= :: AutomationRuleV2 -> AutomationRuleV2 -> Bool
Prelude.Eq, Int -> AutomationRuleV2 -> ShowS
[AutomationRuleV2] -> ShowS
AutomationRuleV2 -> String
(Int -> AutomationRuleV2 -> ShowS)
-> (AutomationRuleV2 -> String)
-> ([AutomationRuleV2] -> ShowS)
-> Show AutomationRuleV2
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AutomationRuleV2 -> ShowS
showsPrec :: Int -> AutomationRuleV2 -> ShowS
$cshow :: AutomationRuleV2 -> String
show :: AutomationRuleV2 -> String
$cshowList :: [AutomationRuleV2] -> ShowS
showList :: [AutomationRuleV2] -> ShowS
Prelude.Show)
mkAutomationRuleV2 ::
  [AutomationRulesActionV2Property]
  -> CriteriaProperty
     -> Value Prelude.Text
        -> Value Prelude.Text -> Value Prelude.Double -> AutomationRuleV2
mkAutomationRuleV2 :: [AutomationRulesActionV2Property]
-> CriteriaProperty
-> Value Text
-> Value Text
-> Value Double
-> AutomationRuleV2
mkAutomationRuleV2 [AutomationRulesActionV2Property]
actions CriteriaProperty
criteria Value Text
description Value Text
ruleName Value Double
ruleOrder
  = AutomationRuleV2
      {haddock_workaround_ :: ()
haddock_workaround_ = (), actions :: [AutomationRulesActionV2Property]
actions = [AutomationRulesActionV2Property]
actions, criteria :: CriteriaProperty
criteria = CriteriaProperty
criteria,
       description :: Value Text
description = Value Text
description, ruleName :: Value Text
ruleName = Value Text
ruleName,
       ruleOrder :: Value Double
ruleOrder = Value Double
ruleOrder, ruleStatus :: Maybe (Value Text)
ruleStatus = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe (Map Text (Value Text))
tags = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AutomationRuleV2 where
  toResourceProperties :: AutomationRuleV2 -> ResourceProperties
toResourceProperties AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SecurityHub::AutomationRuleV2",
         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
"Actions" Key -> [AutomationRulesActionV2Property] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [AutomationRulesActionV2Property]
actions, Key
"Criteria" Key -> CriteriaProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= CriteriaProperty
criteria,
                            Key
"Description" 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
description, Key
"RuleName" 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
ruleName,
                            Key
"RuleOrder" 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..= Value Double
ruleOrder]
                           ([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
"RuleStatus" (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)
ruleStatus,
                               Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags]))}
instance JSON.ToJSON AutomationRuleV2 where
  toJSON :: AutomationRuleV2 -> Value
toJSON AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (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 -> [AutomationRulesActionV2Property] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [AutomationRulesActionV2Property]
actions, Key
"Criteria" Key -> CriteriaProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= CriteriaProperty
criteria,
               Key
"Description" 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
description, Key
"RuleName" 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
ruleName,
               Key
"RuleOrder" 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..= Value Double
ruleOrder]
              ([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
"RuleStatus" (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)
ruleStatus,
                  Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags])))
instance Property "Actions" AutomationRuleV2 where
  type PropertyType "Actions" AutomationRuleV2 = [AutomationRulesActionV2Property]
  set :: PropertyType "Actions" AutomationRuleV2
-> AutomationRuleV2 -> AutomationRuleV2
set PropertyType "Actions" AutomationRuleV2
newValue AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
    = AutomationRuleV2 {actions :: [AutomationRulesActionV2Property]
actions = [AutomationRulesActionV2Property]
PropertyType "Actions" AutomationRuleV2
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: ()
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
instance Property "Criteria" AutomationRuleV2 where
  type PropertyType "Criteria" AutomationRuleV2 = CriteriaProperty
  set :: PropertyType "Criteria" AutomationRuleV2
-> AutomationRuleV2 -> AutomationRuleV2
set PropertyType "Criteria" AutomationRuleV2
newValue AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
    = AutomationRuleV2 {criteria :: CriteriaProperty
criteria = PropertyType "Criteria" AutomationRuleV2
CriteriaProperty
newValue, [AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
instance Property "Description" AutomationRuleV2 where
  type PropertyType "Description" AutomationRuleV2 = Value Prelude.Text
  set :: PropertyType "Description" AutomationRuleV2
-> AutomationRuleV2 -> AutomationRuleV2
set PropertyType "Description" AutomationRuleV2
newValue AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
    = AutomationRuleV2 {description :: Value Text
description = PropertyType "Description" AutomationRuleV2
Value Text
newValue, [AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
instance Property "RuleName" AutomationRuleV2 where
  type PropertyType "RuleName" AutomationRuleV2 = Value Prelude.Text
  set :: PropertyType "RuleName" AutomationRuleV2
-> AutomationRuleV2 -> AutomationRuleV2
set PropertyType "RuleName" AutomationRuleV2
newValue AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
    = AutomationRuleV2 {ruleName :: Value Text
ruleName = PropertyType "RuleName" AutomationRuleV2
Value Text
newValue, [AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
instance Property "RuleOrder" AutomationRuleV2 where
  type PropertyType "RuleOrder" AutomationRuleV2 = Value Prelude.Double
  set :: PropertyType "RuleOrder" AutomationRuleV2
-> AutomationRuleV2 -> AutomationRuleV2
set PropertyType "RuleOrder" AutomationRuleV2
newValue AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
    = AutomationRuleV2 {ruleOrder :: Value Double
ruleOrder = PropertyType "RuleOrder" AutomationRuleV2
Value Double
newValue, [AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
CriteriaProperty
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
instance Property "RuleStatus" AutomationRuleV2 where
  type PropertyType "RuleStatus" AutomationRuleV2 = Value Prelude.Text
  set :: PropertyType "RuleStatus" AutomationRuleV2
-> AutomationRuleV2 -> AutomationRuleV2
set PropertyType "RuleStatus" AutomationRuleV2
newValue AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
    = AutomationRuleV2 {ruleStatus :: Maybe (Value Text)
ruleStatus = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RuleStatus" AutomationRuleV2
Value Text
newValue, [AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
tags :: Maybe (Map Text (Value Text))
..}
instance Property "Tags" AutomationRuleV2 where
  type PropertyType "Tags" AutomationRuleV2 = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "Tags" AutomationRuleV2
-> AutomationRuleV2 -> AutomationRuleV2
set PropertyType "Tags" AutomationRuleV2
newValue AutomationRuleV2 {[AutomationRulesActionV2Property]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: AutomationRuleV2 -> ()
actions :: AutomationRuleV2 -> [AutomationRulesActionV2Property]
criteria :: AutomationRuleV2 -> CriteriaProperty
description :: AutomationRuleV2 -> Value Text
ruleName :: AutomationRuleV2 -> Value Text
ruleOrder :: AutomationRuleV2 -> Value Double
ruleStatus :: AutomationRuleV2 -> Maybe (Value Text)
tags :: AutomationRuleV2 -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
..}
    = AutomationRuleV2 {tags :: Maybe (Map Text (Value Text))
tags = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "Tags" AutomationRuleV2
newValue, [AutomationRulesActionV2Property]
Maybe (Value Text)
()
Value Double
Value Text
CriteriaProperty
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
haddock_workaround_ :: ()
actions :: [AutomationRulesActionV2Property]
criteria :: CriteriaProperty
description :: Value Text
ruleName :: Value Text
ruleOrder :: Value Double
ruleStatus :: Maybe (Value Text)
..}