module Stratosphere.IoT.SecurityProfile.BehaviorProperty (
        module Exports, BehaviorProperty(..), mkBehaviorProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoT.SecurityProfile.BehaviorCriteriaProperty as Exports
import {-# SOURCE #-} Stratosphere.IoT.SecurityProfile.MetricDimensionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data BehaviorProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html>
    BehaviorProperty {BehaviorProperty -> ()
haddock_workaround_ :: (),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-criteria>
                      BehaviorProperty -> Maybe BehaviorCriteriaProperty
criteria :: (Prelude.Maybe BehaviorCriteriaProperty),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-exportmetric>
                      BehaviorProperty -> Maybe (Value Bool)
exportMetric :: (Prelude.Maybe (Value Prelude.Bool)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-metric>
                      BehaviorProperty -> Maybe (Value Text)
metric :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-metricdimension>
                      BehaviorProperty -> Maybe MetricDimensionProperty
metricDimension :: (Prelude.Maybe MetricDimensionProperty),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-name>
                      BehaviorProperty -> Value Text
name :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-suppressalerts>
                      BehaviorProperty -> Maybe (Value Bool)
suppressAlerts :: (Prelude.Maybe (Value Prelude.Bool))}
  deriving stock (BehaviorProperty -> BehaviorProperty -> Bool
(BehaviorProperty -> BehaviorProperty -> Bool)
-> (BehaviorProperty -> BehaviorProperty -> Bool)
-> Eq BehaviorProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BehaviorProperty -> BehaviorProperty -> Bool
== :: BehaviorProperty -> BehaviorProperty -> Bool
$c/= :: BehaviorProperty -> BehaviorProperty -> Bool
/= :: BehaviorProperty -> BehaviorProperty -> Bool
Prelude.Eq, Int -> BehaviorProperty -> ShowS
[BehaviorProperty] -> ShowS
BehaviorProperty -> String
(Int -> BehaviorProperty -> ShowS)
-> (BehaviorProperty -> String)
-> ([BehaviorProperty] -> ShowS)
-> Show BehaviorProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BehaviorProperty -> ShowS
showsPrec :: Int -> BehaviorProperty -> ShowS
$cshow :: BehaviorProperty -> String
show :: BehaviorProperty -> String
$cshowList :: [BehaviorProperty] -> ShowS
showList :: [BehaviorProperty] -> ShowS
Prelude.Show)
mkBehaviorProperty :: Value Prelude.Text -> BehaviorProperty
mkBehaviorProperty :: Value Text -> BehaviorProperty
mkBehaviorProperty Value Text
name
  = BehaviorProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name, criteria :: Maybe BehaviorCriteriaProperty
criteria = Maybe BehaviorCriteriaProperty
forall a. Maybe a
Prelude.Nothing,
       exportMetric :: Maybe (Value Bool)
exportMetric = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, metric :: Maybe (Value Text)
metric = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       metricDimension :: Maybe MetricDimensionProperty
metricDimension = Maybe MetricDimensionProperty
forall a. Maybe a
Prelude.Nothing,
       suppressAlerts :: Maybe (Value Bool)
suppressAlerts = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties BehaviorProperty where
  toResourceProperties :: BehaviorProperty -> ResourceProperties
toResourceProperties BehaviorProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: BehaviorProperty -> ()
criteria :: BehaviorProperty -> Maybe BehaviorCriteriaProperty
exportMetric :: BehaviorProperty -> Maybe (Value Bool)
metric :: BehaviorProperty -> Maybe (Value Text)
metricDimension :: BehaviorProperty -> Maybe MetricDimensionProperty
name :: BehaviorProperty -> Value Text
suppressAlerts :: BehaviorProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IoT::SecurityProfile.Behavior",
         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
"Name" 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
name]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> BehaviorCriteriaProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Criteria" (BehaviorCriteriaProperty -> (Key, Value))
-> Maybe BehaviorCriteriaProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BehaviorCriteriaProperty
criteria,
                               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
"ExportMetric" (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)
exportMetric,
                               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
"Metric" (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)
metric,
                               Key -> MetricDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MetricDimension" (MetricDimensionProperty -> (Key, Value))
-> Maybe MetricDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MetricDimensionProperty
metricDimension,
                               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
"SuppressAlerts" (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)
suppressAlerts]))}
instance JSON.ToJSON BehaviorProperty where
  toJSON :: BehaviorProperty -> Value
toJSON BehaviorProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: BehaviorProperty -> ()
criteria :: BehaviorProperty -> Maybe BehaviorCriteriaProperty
exportMetric :: BehaviorProperty -> Maybe (Value Bool)
metric :: BehaviorProperty -> Maybe (Value Text)
metricDimension :: BehaviorProperty -> Maybe MetricDimensionProperty
name :: BehaviorProperty -> Value Text
suppressAlerts :: BehaviorProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
    = [(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
"Name" 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
name]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> BehaviorCriteriaProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Criteria" (BehaviorCriteriaProperty -> (Key, Value))
-> Maybe BehaviorCriteriaProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BehaviorCriteriaProperty
criteria,
                  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
"ExportMetric" (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)
exportMetric,
                  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
"Metric" (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)
metric,
                  Key -> MetricDimensionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MetricDimension" (MetricDimensionProperty -> (Key, Value))
-> Maybe MetricDimensionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MetricDimensionProperty
metricDimension,
                  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
"SuppressAlerts" (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)
suppressAlerts])))
instance Property "Criteria" BehaviorProperty where
  type PropertyType "Criteria" BehaviorProperty = BehaviorCriteriaProperty
  set :: PropertyType "Criteria" BehaviorProperty
-> BehaviorProperty -> BehaviorProperty
set PropertyType "Criteria" BehaviorProperty
newValue BehaviorProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: BehaviorProperty -> ()
criteria :: BehaviorProperty -> Maybe BehaviorCriteriaProperty
exportMetric :: BehaviorProperty -> Maybe (Value Bool)
metric :: BehaviorProperty -> Maybe (Value Text)
metricDimension :: BehaviorProperty -> Maybe MetricDimensionProperty
name :: BehaviorProperty -> Value Text
suppressAlerts :: BehaviorProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
    = BehaviorProperty {criteria :: Maybe BehaviorCriteriaProperty
criteria = BehaviorCriteriaProperty -> Maybe BehaviorCriteriaProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Criteria" BehaviorProperty
BehaviorCriteriaProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
()
Value Text
haddock_workaround_ :: ()
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
haddock_workaround_ :: ()
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
instance Property "ExportMetric" BehaviorProperty where
  type PropertyType "ExportMetric" BehaviorProperty = Value Prelude.Bool
  set :: PropertyType "ExportMetric" BehaviorProperty
-> BehaviorProperty -> BehaviorProperty
set PropertyType "ExportMetric" BehaviorProperty
newValue BehaviorProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: BehaviorProperty -> ()
criteria :: BehaviorProperty -> Maybe BehaviorCriteriaProperty
exportMetric :: BehaviorProperty -> Maybe (Value Bool)
metric :: BehaviorProperty -> Maybe (Value Text)
metricDimension :: BehaviorProperty -> Maybe MetricDimensionProperty
name :: BehaviorProperty -> Value Text
suppressAlerts :: BehaviorProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
    = BehaviorProperty {exportMetric :: Maybe (Value Bool)
exportMetric = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExportMetric" BehaviorProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
instance Property "Metric" BehaviorProperty where
  type PropertyType "Metric" BehaviorProperty = Value Prelude.Text
  set :: PropertyType "Metric" BehaviorProperty
-> BehaviorProperty -> BehaviorProperty
set PropertyType "Metric" BehaviorProperty
newValue BehaviorProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: BehaviorProperty -> ()
criteria :: BehaviorProperty -> Maybe BehaviorCriteriaProperty
exportMetric :: BehaviorProperty -> Maybe (Value Bool)
metric :: BehaviorProperty -> Maybe (Value Text)
metricDimension :: BehaviorProperty -> Maybe MetricDimensionProperty
name :: BehaviorProperty -> Value Text
suppressAlerts :: BehaviorProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
    = BehaviorProperty {metric :: Maybe (Value Text)
metric = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Metric" BehaviorProperty
Value Text
newValue, Maybe (Value Bool)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
instance Property "MetricDimension" BehaviorProperty where
  type PropertyType "MetricDimension" BehaviorProperty = MetricDimensionProperty
  set :: PropertyType "MetricDimension" BehaviorProperty
-> BehaviorProperty -> BehaviorProperty
set PropertyType "MetricDimension" BehaviorProperty
newValue BehaviorProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: BehaviorProperty -> ()
criteria :: BehaviorProperty -> Maybe BehaviorCriteriaProperty
exportMetric :: BehaviorProperty -> Maybe (Value Bool)
metric :: BehaviorProperty -> Maybe (Value Text)
metricDimension :: BehaviorProperty -> Maybe MetricDimensionProperty
name :: BehaviorProperty -> Value Text
suppressAlerts :: BehaviorProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
    = BehaviorProperty {metricDimension :: Maybe MetricDimensionProperty
metricDimension = MetricDimensionProperty -> Maybe MetricDimensionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MetricDimension" BehaviorProperty
MetricDimensionProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
instance Property "Name" BehaviorProperty where
  type PropertyType "Name" BehaviorProperty = Value Prelude.Text
  set :: PropertyType "Name" BehaviorProperty
-> BehaviorProperty -> BehaviorProperty
set PropertyType "Name" BehaviorProperty
newValue BehaviorProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: BehaviorProperty -> ()
criteria :: BehaviorProperty -> Maybe BehaviorCriteriaProperty
exportMetric :: BehaviorProperty -> Maybe (Value Bool)
metric :: BehaviorProperty -> Maybe (Value Text)
metricDimension :: BehaviorProperty -> Maybe MetricDimensionProperty
name :: BehaviorProperty -> Value Text
suppressAlerts :: BehaviorProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
    = BehaviorProperty {name :: Value Text
name = PropertyType "Name" BehaviorProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
suppressAlerts :: Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
suppressAlerts :: Maybe (Value Bool)
..}
instance Property "SuppressAlerts" BehaviorProperty where
  type PropertyType "SuppressAlerts" BehaviorProperty = Value Prelude.Bool
  set :: PropertyType "SuppressAlerts" BehaviorProperty
-> BehaviorProperty -> BehaviorProperty
set PropertyType "SuppressAlerts" BehaviorProperty
newValue BehaviorProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: BehaviorProperty -> ()
criteria :: BehaviorProperty -> Maybe BehaviorCriteriaProperty
exportMetric :: BehaviorProperty -> Maybe (Value Bool)
metric :: BehaviorProperty -> Maybe (Value Text)
metricDimension :: BehaviorProperty -> Maybe MetricDimensionProperty
name :: BehaviorProperty -> Value Text
suppressAlerts :: BehaviorProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
suppressAlerts :: Maybe (Value Bool)
..}
    = BehaviorProperty {suppressAlerts :: Maybe (Value Bool)
suppressAlerts = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SuppressAlerts" BehaviorProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe MetricDimensionProperty
Maybe BehaviorCriteriaProperty
()
Value Text
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
haddock_workaround_ :: ()
criteria :: Maybe BehaviorCriteriaProperty
exportMetric :: Maybe (Value Bool)
metric :: Maybe (Value Text)
metricDimension :: Maybe MetricDimensionProperty
name :: Value Text
..}