module Stratosphere.BedrockAgentCore.Memory.SemanticMemoryStrategyProperty (
SemanticMemoryStrategyProperty(..),
mkSemanticMemoryStrategyProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SemanticMemoryStrategyProperty
=
SemanticMemoryStrategyProperty {SemanticMemoryStrategyProperty -> ()
haddock_workaround_ :: (),
SemanticMemoryStrategyProperty -> Maybe (Value Text)
createdAt :: (Prelude.Maybe (Value Prelude.Text)),
SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
SemanticMemoryStrategyProperty -> Value Text
name :: (Value Prelude.Text),
SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
namespaces :: (Prelude.Maybe (ValueList Prelude.Text)),
SemanticMemoryStrategyProperty -> Maybe (Value Text)
status :: (Prelude.Maybe (Value Prelude.Text)),
SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: (Prelude.Maybe (Value Prelude.Text)),
SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: (Prelude.Maybe (Value Prelude.Text)),
SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> Bool
(SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> Bool)
-> (SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> Bool)
-> Eq SemanticMemoryStrategyProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> Bool
== :: SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> Bool
$c/= :: SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> Bool
/= :: SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> Bool
Prelude.Eq, Int -> SemanticMemoryStrategyProperty -> ShowS
[SemanticMemoryStrategyProperty] -> ShowS
SemanticMemoryStrategyProperty -> String
(Int -> SemanticMemoryStrategyProperty -> ShowS)
-> (SemanticMemoryStrategyProperty -> String)
-> ([SemanticMemoryStrategyProperty] -> ShowS)
-> Show SemanticMemoryStrategyProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SemanticMemoryStrategyProperty -> ShowS
showsPrec :: Int -> SemanticMemoryStrategyProperty -> ShowS
$cshow :: SemanticMemoryStrategyProperty -> String
show :: SemanticMemoryStrategyProperty -> String
$cshowList :: [SemanticMemoryStrategyProperty] -> ShowS
showList :: [SemanticMemoryStrategyProperty] -> ShowS
Prelude.Show)
mkSemanticMemoryStrategyProperty ::
Value Prelude.Text -> SemanticMemoryStrategyProperty
mkSemanticMemoryStrategyProperty :: Value Text -> SemanticMemoryStrategyProperty
mkSemanticMemoryStrategyProperty Value Text
name
= SemanticMemoryStrategyProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name,
createdAt :: Maybe (Value Text)
createdAt = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
namespaces :: Maybe (ValueList Text)
namespaces = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, status :: Maybe (Value Text)
status = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
strategyId :: Maybe (Value Text)
strategyId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, type' :: Maybe (Value Text)
type' = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
updatedAt :: Maybe (Value Text)
updatedAt = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SemanticMemoryStrategyProperty where
toResourceProperties :: SemanticMemoryStrategyProperty -> ResourceProperties
toResourceProperties SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::BedrockAgentCore::Memory.SemanticMemoryStrategy",
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 -> 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
"CreatedAt" (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)
createdAt,
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 -> 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..=) Key
"Namespaces" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
namespaces,
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
"Status" (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)
status,
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
"StrategyId" (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)
strategyId,
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
"Type" (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)
type',
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
"UpdatedAt" (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)
updatedAt]))}
instance JSON.ToJSON SemanticMemoryStrategyProperty where
toJSON :: SemanticMemoryStrategyProperty -> Value
toJSON SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: 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
"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 -> 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
"CreatedAt" (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)
createdAt,
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 -> 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..=) Key
"Namespaces" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
namespaces,
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
"Status" (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)
status,
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
"StrategyId" (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)
strategyId,
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
"Type" (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)
type',
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
"UpdatedAt" (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)
updatedAt])))
instance Property "CreatedAt" SemanticMemoryStrategyProperty where
type PropertyType "CreatedAt" SemanticMemoryStrategyProperty = Value Prelude.Text
set :: PropertyType "CreatedAt" SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> SemanticMemoryStrategyProperty
set PropertyType "CreatedAt" SemanticMemoryStrategyProperty
newValue SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= SemanticMemoryStrategyProperty
{createdAt :: Maybe (Value Text)
createdAt = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CreatedAt" SemanticMemoryStrategyProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
instance Property "Description" SemanticMemoryStrategyProperty where
type PropertyType "Description" SemanticMemoryStrategyProperty = Value Prelude.Text
set :: PropertyType "Description" SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> SemanticMemoryStrategyProperty
set PropertyType "Description" SemanticMemoryStrategyProperty
newValue SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= SemanticMemoryStrategyProperty
{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" SemanticMemoryStrategyProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
instance Property "Name" SemanticMemoryStrategyProperty where
type PropertyType "Name" SemanticMemoryStrategyProperty = Value Prelude.Text
set :: PropertyType "Name" SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> SemanticMemoryStrategyProperty
set PropertyType "Name" SemanticMemoryStrategyProperty
newValue SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= SemanticMemoryStrategyProperty {name :: Value Text
name = PropertyType "Name" SemanticMemoryStrategyProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
instance Property "Namespaces" SemanticMemoryStrategyProperty where
type PropertyType "Namespaces" SemanticMemoryStrategyProperty = ValueList Prelude.Text
set :: PropertyType "Namespaces" SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> SemanticMemoryStrategyProperty
set PropertyType "Namespaces" SemanticMemoryStrategyProperty
newValue SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= SemanticMemoryStrategyProperty
{namespaces :: Maybe (ValueList Text)
namespaces = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Namespaces" SemanticMemoryStrategyProperty
ValueList Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
instance Property "Status" SemanticMemoryStrategyProperty where
type PropertyType "Status" SemanticMemoryStrategyProperty = Value Prelude.Text
set :: PropertyType "Status" SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> SemanticMemoryStrategyProperty
set PropertyType "Status" SemanticMemoryStrategyProperty
newValue SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= SemanticMemoryStrategyProperty
{status :: Maybe (Value Text)
status = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Status" SemanticMemoryStrategyProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
instance Property "StrategyId" SemanticMemoryStrategyProperty where
type PropertyType "StrategyId" SemanticMemoryStrategyProperty = Value Prelude.Text
set :: PropertyType "StrategyId" SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> SemanticMemoryStrategyProperty
set PropertyType "StrategyId" SemanticMemoryStrategyProperty
newValue SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= SemanticMemoryStrategyProperty
{strategyId :: Maybe (Value Text)
strategyId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StrategyId" SemanticMemoryStrategyProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
instance Property "Type" SemanticMemoryStrategyProperty where
type PropertyType "Type" SemanticMemoryStrategyProperty = Value Prelude.Text
set :: PropertyType "Type" SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> SemanticMemoryStrategyProperty
set PropertyType "Type" SemanticMemoryStrategyProperty
newValue SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= SemanticMemoryStrategyProperty
{type' :: Maybe (Value Text)
type' = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Type" SemanticMemoryStrategyProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
instance Property "UpdatedAt" SemanticMemoryStrategyProperty where
type PropertyType "UpdatedAt" SemanticMemoryStrategyProperty = Value Prelude.Text
set :: PropertyType "UpdatedAt" SemanticMemoryStrategyProperty
-> SemanticMemoryStrategyProperty -> SemanticMemoryStrategyProperty
set PropertyType "UpdatedAt" SemanticMemoryStrategyProperty
newValue SemanticMemoryStrategyProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SemanticMemoryStrategyProperty -> ()
createdAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
description :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
name :: SemanticMemoryStrategyProperty -> Value Text
namespaces :: SemanticMemoryStrategyProperty -> Maybe (ValueList Text)
status :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
strategyId :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
type' :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
updatedAt :: SemanticMemoryStrategyProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
updatedAt :: Maybe (Value Text)
..}
= SemanticMemoryStrategyProperty
{updatedAt :: Maybe (Value Text)
updatedAt = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UpdatedAt" SemanticMemoryStrategyProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Value Text
namespaces :: Maybe (ValueList Text)
status :: Maybe (Value Text)
strategyId :: Maybe (Value Text)
type' :: Maybe (Value Text)
..}