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