module Stratosphere.CE.AnomalySubscription (
module Exports, AnomalySubscription(..), mkAnomalySubscription
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CE.AnomalySubscription.ResourceTagProperty as Exports
import {-# SOURCE #-} Stratosphere.CE.AnomalySubscription.SubscriberProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AnomalySubscription
=
AnomalySubscription {AnomalySubscription -> ()
haddock_workaround_ :: (),
AnomalySubscription -> Value Text
frequency :: (Value Prelude.Text),
AnomalySubscription -> ValueList Text
monitorArnList :: (ValueList Prelude.Text),
AnomalySubscription -> Maybe [ResourceTagProperty]
resourceTags :: (Prelude.Maybe [ResourceTagProperty]),
AnomalySubscription -> [SubscriberProperty]
subscribers :: [SubscriberProperty],
AnomalySubscription -> Value Text
subscriptionName :: (Value Prelude.Text),
AnomalySubscription -> Maybe (Value Double)
threshold :: (Prelude.Maybe (Value Prelude.Double)),
AnomalySubscription -> Maybe (Value Text)
thresholdExpression :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (AnomalySubscription -> AnomalySubscription -> Bool
(AnomalySubscription -> AnomalySubscription -> Bool)
-> (AnomalySubscription -> AnomalySubscription -> Bool)
-> Eq AnomalySubscription
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AnomalySubscription -> AnomalySubscription -> Bool
== :: AnomalySubscription -> AnomalySubscription -> Bool
$c/= :: AnomalySubscription -> AnomalySubscription -> Bool
/= :: AnomalySubscription -> AnomalySubscription -> Bool
Prelude.Eq, Int -> AnomalySubscription -> ShowS
[AnomalySubscription] -> ShowS
AnomalySubscription -> String
(Int -> AnomalySubscription -> ShowS)
-> (AnomalySubscription -> String)
-> ([AnomalySubscription] -> ShowS)
-> Show AnomalySubscription
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AnomalySubscription -> ShowS
showsPrec :: Int -> AnomalySubscription -> ShowS
$cshow :: AnomalySubscription -> String
show :: AnomalySubscription -> String
$cshowList :: [AnomalySubscription] -> ShowS
showList :: [AnomalySubscription] -> ShowS
Prelude.Show)
mkAnomalySubscription ::
Value Prelude.Text
-> ValueList Prelude.Text
-> [SubscriberProperty]
-> Value Prelude.Text -> AnomalySubscription
mkAnomalySubscription :: Value Text
-> ValueList Text
-> [SubscriberProperty]
-> Value Text
-> AnomalySubscription
mkAnomalySubscription
Value Text
frequency
ValueList Text
monitorArnList
[SubscriberProperty]
subscribers
Value Text
subscriptionName
= AnomalySubscription
{haddock_workaround_ :: ()
haddock_workaround_ = (), frequency :: Value Text
frequency = Value Text
frequency,
monitorArnList :: ValueList Text
monitorArnList = ValueList Text
monitorArnList, subscribers :: [SubscriberProperty]
subscribers = [SubscriberProperty]
subscribers,
subscriptionName :: Value Text
subscriptionName = Value Text
subscriptionName,
resourceTags :: Maybe [ResourceTagProperty]
resourceTags = Maybe [ResourceTagProperty]
forall a. Maybe a
Prelude.Nothing, threshold :: Maybe (Value Double)
threshold = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
thresholdExpression :: Maybe (Value Text)
thresholdExpression = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AnomalySubscription where
toResourceProperties :: AnomalySubscription -> ResourceProperties
toResourceProperties AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::CE::AnomalySubscription",
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
"Frequency" 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
frequency,
Key
"MonitorArnList" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
monitorArnList,
Key
"Subscribers" Key -> [SubscriberProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [SubscriberProperty]
subscribers,
Key
"SubscriptionName" 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
subscriptionName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> [ResourceTagProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ResourceTags" ([ResourceTagProperty] -> (Key, Value))
-> Maybe [ResourceTagProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ResourceTagProperty]
resourceTags,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Threshold" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
threshold,
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
"ThresholdExpression" (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)
thresholdExpression]))}
instance JSON.ToJSON AnomalySubscription where
toJSON :: AnomalySubscription -> Value
toJSON AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (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
"Frequency" 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
frequency,
Key
"MonitorArnList" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
monitorArnList,
Key
"Subscribers" Key -> [SubscriberProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [SubscriberProperty]
subscribers,
Key
"SubscriptionName" 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
subscriptionName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> [ResourceTagProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ResourceTags" ([ResourceTagProperty] -> (Key, Value))
-> Maybe [ResourceTagProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ResourceTagProperty]
resourceTags,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Threshold" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
threshold,
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
"ThresholdExpression" (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)
thresholdExpression])))
instance Property "Frequency" AnomalySubscription where
type PropertyType "Frequency" AnomalySubscription = Value Prelude.Text
set :: PropertyType "Frequency" AnomalySubscription
-> AnomalySubscription -> AnomalySubscription
set PropertyType "Frequency" AnomalySubscription
newValue AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
= AnomalySubscription {frequency :: Value Text
frequency = PropertyType "Frequency" AnomalySubscription
Value Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
instance Property "MonitorArnList" AnomalySubscription where
type PropertyType "MonitorArnList" AnomalySubscription = ValueList Prelude.Text
set :: PropertyType "MonitorArnList" AnomalySubscription
-> AnomalySubscription -> AnomalySubscription
set PropertyType "MonitorArnList" AnomalySubscription
newValue AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
= AnomalySubscription {monitorArnList :: ValueList Text
monitorArnList = PropertyType "MonitorArnList" AnomalySubscription
ValueList Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
frequency :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
instance Property "ResourceTags" AnomalySubscription where
type PropertyType "ResourceTags" AnomalySubscription = [ResourceTagProperty]
set :: PropertyType "ResourceTags" AnomalySubscription
-> AnomalySubscription -> AnomalySubscription
set PropertyType "ResourceTags" AnomalySubscription
newValue AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
= AnomalySubscription {resourceTags :: Maybe [ResourceTagProperty]
resourceTags = [ResourceTagProperty] -> Maybe [ResourceTagProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ResourceTagProperty]
PropertyType "ResourceTags" AnomalySubscription
newValue, [SubscriberProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
instance Property "Subscribers" AnomalySubscription where
type PropertyType "Subscribers" AnomalySubscription = [SubscriberProperty]
set :: PropertyType "Subscribers" AnomalySubscription
-> AnomalySubscription -> AnomalySubscription
set PropertyType "Subscribers" AnomalySubscription
newValue AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
= AnomalySubscription {subscribers :: [SubscriberProperty]
subscribers = [SubscriberProperty]
PropertyType "Subscribers" AnomalySubscription
newValue, Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
instance Property "SubscriptionName" AnomalySubscription where
type PropertyType "SubscriptionName" AnomalySubscription = Value Prelude.Text
set :: PropertyType "SubscriptionName" AnomalySubscription
-> AnomalySubscription -> AnomalySubscription
set PropertyType "SubscriptionName" AnomalySubscription
newValue AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
= AnomalySubscription {subscriptionName :: Value Text
subscriptionName = PropertyType "SubscriptionName" AnomalySubscription
Value Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
instance Property "Threshold" AnomalySubscription where
type PropertyType "Threshold" AnomalySubscription = Value Prelude.Double
set :: PropertyType "Threshold" AnomalySubscription
-> AnomalySubscription -> AnomalySubscription
set PropertyType "Threshold" AnomalySubscription
newValue AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
= AnomalySubscription {threshold :: Maybe (Value Double)
threshold = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Threshold" AnomalySubscription
Value Double
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
thresholdExpression :: Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
thresholdExpression :: Maybe (Value Text)
..}
instance Property "ThresholdExpression" AnomalySubscription where
type PropertyType "ThresholdExpression" AnomalySubscription = Value Prelude.Text
set :: PropertyType "ThresholdExpression" AnomalySubscription
-> AnomalySubscription -> AnomalySubscription
set PropertyType "ThresholdExpression" AnomalySubscription
newValue AnomalySubscription {[SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: AnomalySubscription -> ()
frequency :: AnomalySubscription -> Value Text
monitorArnList :: AnomalySubscription -> ValueList Text
resourceTags :: AnomalySubscription -> Maybe [ResourceTagProperty]
subscribers :: AnomalySubscription -> [SubscriberProperty]
subscriptionName :: AnomalySubscription -> Value Text
threshold :: AnomalySubscription -> Maybe (Value Double)
thresholdExpression :: AnomalySubscription -> Maybe (Value Text)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
thresholdExpression :: Maybe (Value Text)
..}
= AnomalySubscription
{thresholdExpression :: Maybe (Value Text)
thresholdExpression = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ThresholdExpression" AnomalySubscription
Value Text
newValue, [SubscriberProperty]
Maybe [ResourceTagProperty]
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
haddock_workaround_ :: ()
frequency :: Value Text
monitorArnList :: ValueList Text
resourceTags :: Maybe [ResourceTagProperty]
subscribers :: [SubscriberProperty]
subscriptionName :: Value Text
threshold :: Maybe (Value Double)
..}