module Stratosphere.Bedrock.Guardrail.RegexConfigProperty (
RegexConfigProperty(..), mkRegexConfigProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data RegexConfigProperty
=
RegexConfigProperty {RegexConfigProperty -> ()
haddock_workaround_ :: (),
RegexConfigProperty -> Value Text
action :: (Value Prelude.Text),
RegexConfigProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
RegexConfigProperty -> Maybe (Value Text)
inputAction :: (Prelude.Maybe (Value Prelude.Text)),
RegexConfigProperty -> Maybe (Value Bool)
inputEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
RegexConfigProperty -> Value Text
name :: (Value Prelude.Text),
RegexConfigProperty -> Maybe (Value Text)
outputAction :: (Prelude.Maybe (Value Prelude.Text)),
RegexConfigProperty -> Maybe (Value Bool)
outputEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
RegexConfigProperty -> Value Text
pattern :: (Value Prelude.Text)}
deriving stock (RegexConfigProperty -> RegexConfigProperty -> Bool
(RegexConfigProperty -> RegexConfigProperty -> Bool)
-> (RegexConfigProperty -> RegexConfigProperty -> Bool)
-> Eq RegexConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RegexConfigProperty -> RegexConfigProperty -> Bool
== :: RegexConfigProperty -> RegexConfigProperty -> Bool
$c/= :: RegexConfigProperty -> RegexConfigProperty -> Bool
/= :: RegexConfigProperty -> RegexConfigProperty -> Bool
Prelude.Eq, Int -> RegexConfigProperty -> ShowS
[RegexConfigProperty] -> ShowS
RegexConfigProperty -> String
(Int -> RegexConfigProperty -> ShowS)
-> (RegexConfigProperty -> String)
-> ([RegexConfigProperty] -> ShowS)
-> Show RegexConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RegexConfigProperty -> ShowS
showsPrec :: Int -> RegexConfigProperty -> ShowS
$cshow :: RegexConfigProperty -> String
show :: RegexConfigProperty -> String
$cshowList :: [RegexConfigProperty] -> ShowS
showList :: [RegexConfigProperty] -> ShowS
Prelude.Show)
mkRegexConfigProperty ::
Value Prelude.Text
-> Value Prelude.Text -> Value Prelude.Text -> RegexConfigProperty
mkRegexConfigProperty :: Value Text -> Value Text -> Value Text -> RegexConfigProperty
mkRegexConfigProperty Value Text
action Value Text
name Value Text
pattern
= RegexConfigProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), action :: Value Text
action = Value Text
action, name :: Value Text
name = Value Text
name,
pattern :: Value Text
pattern = Value Text
pattern, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
inputAction :: Maybe (Value Text)
inputAction = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, inputEnabled :: Maybe (Value Bool)
inputEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
outputAction :: Maybe (Value Text)
outputAction = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, outputEnabled :: Maybe (Value Bool)
outputEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RegexConfigProperty where
toResourceProperties :: RegexConfigProperty -> ResourceProperties
toResourceProperties RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Bedrock::Guardrail.RegexConfig",
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
"Action" 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
action, 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,
Key
"Pattern" 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
pattern]
([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
"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 -> 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
"InputAction" (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)
inputAction,
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
"InputEnabled" (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)
inputEnabled,
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
"OutputAction" (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)
outputAction,
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
"OutputEnabled" (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)
outputEnabled]))}
instance JSON.ToJSON RegexConfigProperty where
toJSON :: RegexConfigProperty -> Value
toJSON RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: 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
"Action" 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
action, 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,
Key
"Pattern" 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
pattern]
([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
"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 -> 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
"InputAction" (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)
inputAction,
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
"InputEnabled" (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)
inputEnabled,
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
"OutputAction" (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)
outputAction,
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
"OutputEnabled" (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)
outputEnabled])))
instance Property "Action" RegexConfigProperty where
type PropertyType "Action" RegexConfigProperty = Value Prelude.Text
set :: PropertyType "Action" RegexConfigProperty
-> RegexConfigProperty -> RegexConfigProperty
set PropertyType "Action" RegexConfigProperty
newValue RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= RegexConfigProperty {action :: Value Text
action = PropertyType "Action" RegexConfigProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
instance Property "Description" RegexConfigProperty where
type PropertyType "Description" RegexConfigProperty = Value Prelude.Text
set :: PropertyType "Description" RegexConfigProperty
-> RegexConfigProperty -> RegexConfigProperty
set PropertyType "Description" RegexConfigProperty
newValue RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= RegexConfigProperty {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" RegexConfigProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
action :: Value Text
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
haddock_workaround_ :: ()
action :: Value Text
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
instance Property "InputAction" RegexConfigProperty where
type PropertyType "InputAction" RegexConfigProperty = Value Prelude.Text
set :: PropertyType "InputAction" RegexConfigProperty
-> RegexConfigProperty -> RegexConfigProperty
set PropertyType "InputAction" RegexConfigProperty
newValue RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= RegexConfigProperty {inputAction :: Maybe (Value Text)
inputAction = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InputAction" RegexConfigProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
instance Property "InputEnabled" RegexConfigProperty where
type PropertyType "InputEnabled" RegexConfigProperty = Value Prelude.Bool
set :: PropertyType "InputEnabled" RegexConfigProperty
-> RegexConfigProperty -> RegexConfigProperty
set PropertyType "InputEnabled" RegexConfigProperty
newValue RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= RegexConfigProperty {inputEnabled :: Maybe (Value Bool)
inputEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InputEnabled" RegexConfigProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
instance Property "Name" RegexConfigProperty where
type PropertyType "Name" RegexConfigProperty = Value Prelude.Text
set :: PropertyType "Name" RegexConfigProperty
-> RegexConfigProperty -> RegexConfigProperty
set PropertyType "Name" RegexConfigProperty
newValue RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= RegexConfigProperty {name :: Value Text
name = PropertyType "Name" RegexConfigProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
instance Property "OutputAction" RegexConfigProperty where
type PropertyType "OutputAction" RegexConfigProperty = Value Prelude.Text
set :: PropertyType "OutputAction" RegexConfigProperty
-> RegexConfigProperty -> RegexConfigProperty
set PropertyType "OutputAction" RegexConfigProperty
newValue RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= RegexConfigProperty {outputAction :: Maybe (Value Text)
outputAction = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutputAction" RegexConfigProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
instance Property "OutputEnabled" RegexConfigProperty where
type PropertyType "OutputEnabled" RegexConfigProperty = Value Prelude.Bool
set :: PropertyType "OutputEnabled" RegexConfigProperty
-> RegexConfigProperty -> RegexConfigProperty
set PropertyType "OutputEnabled" RegexConfigProperty
newValue RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= RegexConfigProperty {outputEnabled :: Maybe (Value Bool)
outputEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutputEnabled" RegexConfigProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
pattern :: Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
pattern :: Value Text
..}
instance Property "Pattern" RegexConfigProperty where
type PropertyType "Pattern" RegexConfigProperty = Value Prelude.Text
set :: PropertyType "Pattern" RegexConfigProperty
-> RegexConfigProperty -> RegexConfigProperty
set PropertyType "Pattern" RegexConfigProperty
newValue RegexConfigProperty {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RegexConfigProperty -> ()
action :: RegexConfigProperty -> Value Text
description :: RegexConfigProperty -> Maybe (Value Text)
inputAction :: RegexConfigProperty -> Maybe (Value Text)
inputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
name :: RegexConfigProperty -> Value Text
outputAction :: RegexConfigProperty -> Maybe (Value Text)
outputEnabled :: RegexConfigProperty -> Maybe (Value Bool)
pattern :: RegexConfigProperty -> Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
pattern :: Value Text
..}
= RegexConfigProperty {pattern :: Value Text
pattern = PropertyType "Pattern" RegexConfigProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
haddock_workaround_ :: ()
action :: Value Text
description :: Maybe (Value Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
..}