module Stratosphere.Wisdom.AIPrompt (
        module Exports, AIPrompt(..), mkAIPrompt
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Wisdom.AIPrompt.AIPromptTemplateConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AIPrompt
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html>
    AIPrompt {AIPrompt -> ()
haddock_workaround_ :: (),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-apiformat>
              AIPrompt -> Value Text
apiFormat :: (Value Prelude.Text),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-assistantid>
              AIPrompt -> Maybe (Value Text)
assistantId :: (Prelude.Maybe (Value Prelude.Text)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-description>
              AIPrompt -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-modelid>
              AIPrompt -> Value Text
modelId :: (Value Prelude.Text),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-name>
              AIPrompt -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-tags>
              AIPrompt -> Maybe (Map Text (Value Text))
tags :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-templateconfiguration>
              AIPrompt -> AIPromptTemplateConfigurationProperty
templateConfiguration :: AIPromptTemplateConfigurationProperty,
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-templatetype>
              AIPrompt -> Value Text
templateType :: (Value Prelude.Text),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-type>
              AIPrompt -> Value Text
type' :: (Value Prelude.Text)}
  deriving stock (AIPrompt -> AIPrompt -> Bool
(AIPrompt -> AIPrompt -> Bool)
-> (AIPrompt -> AIPrompt -> Bool) -> Eq AIPrompt
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AIPrompt -> AIPrompt -> Bool
== :: AIPrompt -> AIPrompt -> Bool
$c/= :: AIPrompt -> AIPrompt -> Bool
/= :: AIPrompt -> AIPrompt -> Bool
Prelude.Eq, Int -> AIPrompt -> ShowS
[AIPrompt] -> ShowS
AIPrompt -> String
(Int -> AIPrompt -> ShowS)
-> (AIPrompt -> String) -> ([AIPrompt] -> ShowS) -> Show AIPrompt
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AIPrompt -> ShowS
showsPrec :: Int -> AIPrompt -> ShowS
$cshow :: AIPrompt -> String
show :: AIPrompt -> String
$cshowList :: [AIPrompt] -> ShowS
showList :: [AIPrompt] -> ShowS
Prelude.Show)
mkAIPrompt ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> AIPromptTemplateConfigurationProperty
        -> Value Prelude.Text -> Value Prelude.Text -> AIPrompt
mkAIPrompt :: Value Text
-> Value Text
-> AIPromptTemplateConfigurationProperty
-> Value Text
-> Value Text
-> AIPrompt
mkAIPrompt
  Value Text
apiFormat
  Value Text
modelId
  AIPromptTemplateConfigurationProperty
templateConfiguration
  Value Text
templateType
  Value Text
type'
  = AIPrompt
      {haddock_workaround_ :: ()
haddock_workaround_ = (), apiFormat :: Value Text
apiFormat = Value Text
apiFormat,
       modelId :: Value Text
modelId = Value Text
modelId, templateConfiguration :: AIPromptTemplateConfigurationProperty
templateConfiguration = AIPromptTemplateConfigurationProperty
templateConfiguration,
       templateType :: Value Text
templateType = Value Text
templateType, type' :: Value Text
type' = Value Text
type',
       assistantId :: Maybe (Value Text)
assistantId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe (Map Text (Value Text))
tags = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AIPrompt where
  toResourceProperties :: AIPrompt -> ResourceProperties
toResourceProperties AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Wisdom::AIPrompt", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"ApiFormat" 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
apiFormat, Key
"ModelId" 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
modelId,
                            Key
"TemplateConfiguration" Key -> AIPromptTemplateConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= AIPromptTemplateConfigurationProperty
templateConfiguration,
                            Key
"TemplateType" 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
templateType, Key
"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..= Value Text
type']
                           ([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
"AssistantId" (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)
assistantId,
                               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
"Name" (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)
name,
                               Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags]))}
instance JSON.ToJSON AIPrompt where
  toJSON :: AIPrompt -> Value
toJSON AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: 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
"ApiFormat" 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
apiFormat, Key
"ModelId" 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
modelId,
               Key
"TemplateConfiguration" Key -> AIPromptTemplateConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= AIPromptTemplateConfigurationProperty
templateConfiguration,
               Key
"TemplateType" 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
templateType, Key
"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..= Value Text
type']
              ([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
"AssistantId" (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)
assistantId,
                  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
"Name" (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)
name,
                  Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags])))
instance Property "ApiFormat" AIPrompt where
  type PropertyType "ApiFormat" AIPrompt = Value Prelude.Text
  set :: PropertyType "ApiFormat" AIPrompt -> AIPrompt -> AIPrompt
set PropertyType "ApiFormat" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..} = AIPrompt {apiFormat :: Value Text
apiFormat = PropertyType "ApiFormat" AIPrompt
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: ()
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
instance Property "AssistantId" AIPrompt where
  type PropertyType "AssistantId" AIPrompt = Value Prelude.Text
  set :: PropertyType "AssistantId" AIPrompt -> AIPrompt -> AIPrompt
set PropertyType "AssistantId" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
    = AIPrompt {assistantId :: Maybe (Value Text)
assistantId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AssistantId" AIPrompt
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: ()
apiFormat :: Value Text
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
instance Property "Description" AIPrompt where
  type PropertyType "Description" AIPrompt = Value Prelude.Text
  set :: PropertyType "Description" AIPrompt -> AIPrompt -> AIPrompt
set PropertyType "Description" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
    = AIPrompt {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" AIPrompt
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
instance Property "ModelId" AIPrompt where
  type PropertyType "ModelId" AIPrompt = Value Prelude.Text
  set :: PropertyType "ModelId" AIPrompt -> AIPrompt -> AIPrompt
set PropertyType "ModelId" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..} = AIPrompt {modelId :: Value Text
modelId = PropertyType "ModelId" AIPrompt
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
instance Property "Name" AIPrompt where
  type PropertyType "Name" AIPrompt = Value Prelude.Text
  set :: PropertyType "Name" AIPrompt -> AIPrompt -> AIPrompt
set PropertyType "Name" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
    = AIPrompt {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" AIPrompt
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
instance Property "Tags" AIPrompt where
  type PropertyType "Tags" AIPrompt = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "Tags" AIPrompt -> AIPrompt -> AIPrompt
set PropertyType "Tags" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
    = AIPrompt {tags :: Maybe (Map Text (Value Text))
tags = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "Tags" AIPrompt
newValue, Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
instance Property "TemplateConfiguration" AIPrompt where
  type PropertyType "TemplateConfiguration" AIPrompt = AIPromptTemplateConfigurationProperty
  set :: PropertyType "TemplateConfiguration" AIPrompt
-> AIPrompt -> AIPrompt
set PropertyType "TemplateConfiguration" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..}
    = AIPrompt {templateConfiguration :: AIPromptTemplateConfigurationProperty
templateConfiguration = PropertyType "TemplateConfiguration" AIPrompt
AIPromptTemplateConfigurationProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateType :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateType :: Value Text
type' :: Value Text
..}
instance Property "TemplateType" AIPrompt where
  type PropertyType "TemplateType" AIPrompt = Value Prelude.Text
  set :: PropertyType "TemplateType" AIPrompt -> AIPrompt -> AIPrompt
set PropertyType "TemplateType" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..} = AIPrompt {templateType :: Value Text
templateType = PropertyType "TemplateType" AIPrompt
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
type' :: Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
type' :: Value Text
..}
instance Property "Type" AIPrompt where
  type PropertyType "Type" AIPrompt = Value Prelude.Text
  set :: PropertyType "Type" AIPrompt -> AIPrompt -> AIPrompt
set PropertyType "Type" AIPrompt
newValue AIPrompt {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: AIPrompt -> ()
apiFormat :: AIPrompt -> Value Text
assistantId :: AIPrompt -> Maybe (Value Text)
description :: AIPrompt -> Maybe (Value Text)
modelId :: AIPrompt -> Value Text
name :: AIPrompt -> Maybe (Value Text)
tags :: AIPrompt -> Maybe (Map Text (Value Text))
templateConfiguration :: AIPrompt -> AIPromptTemplateConfigurationProperty
templateType :: AIPrompt -> Value Text
type' :: AIPrompt -> Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
type' :: Value Text
..} = AIPrompt {type' :: Value Text
type' = PropertyType "Type" AIPrompt
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
AIPromptTemplateConfigurationProperty
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
haddock_workaround_ :: ()
apiFormat :: Value Text
assistantId :: Maybe (Value Text)
description :: Maybe (Value Text)
modelId :: Value Text
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
templateConfiguration :: AIPromptTemplateConfigurationProperty
templateType :: Value Text
..}