module Stratosphere.Wisdom.AIAgent.AnswerRecommendationAIAgentConfigurationProperty (
module Exports,
AnswerRecommendationAIAgentConfigurationProperty(..),
mkAnswerRecommendationAIAgentConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Wisdom.AIAgent.AssociationConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AnswerRecommendationAIAgentConfigurationProperty
=
AnswerRecommendationAIAgentConfigurationProperty {AnswerRecommendationAIAgentConfigurationProperty -> ()
haddock_workaround_ :: (),
AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIGuardrailId :: (Prelude.Maybe (Value Prelude.Text)),
AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: (Prelude.Maybe (Value Prelude.Text)),
AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
associationConfigurations :: (Prelude.Maybe [AssociationConfigurationProperty]),
AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
intentLabelingGenerationAIPromptId :: (Prelude.Maybe (Value Prelude.Text)),
AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: (Prelude.Maybe (Value Prelude.Text)),
AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty -> Bool
(AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty -> Bool)
-> (AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty -> Bool)
-> Eq AnswerRecommendationAIAgentConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty -> Bool
== :: AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty -> Bool
$c/= :: AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty -> Bool
/= :: AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty -> Bool
Prelude.Eq, Int -> AnswerRecommendationAIAgentConfigurationProperty -> ShowS
[AnswerRecommendationAIAgentConfigurationProperty] -> ShowS
AnswerRecommendationAIAgentConfigurationProperty -> String
(Int -> AnswerRecommendationAIAgentConfigurationProperty -> ShowS)
-> (AnswerRecommendationAIAgentConfigurationProperty -> String)
-> ([AnswerRecommendationAIAgentConfigurationProperty] -> ShowS)
-> Show AnswerRecommendationAIAgentConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AnswerRecommendationAIAgentConfigurationProperty -> ShowS
showsPrec :: Int -> AnswerRecommendationAIAgentConfigurationProperty -> ShowS
$cshow :: AnswerRecommendationAIAgentConfigurationProperty -> String
show :: AnswerRecommendationAIAgentConfigurationProperty -> String
$cshowList :: [AnswerRecommendationAIAgentConfigurationProperty] -> ShowS
showList :: [AnswerRecommendationAIAgentConfigurationProperty] -> ShowS
Prelude.Show)
mkAnswerRecommendationAIAgentConfigurationProperty ::
AnswerRecommendationAIAgentConfigurationProperty
mkAnswerRecommendationAIAgentConfigurationProperty :: AnswerRecommendationAIAgentConfigurationProperty
mkAnswerRecommendationAIAgentConfigurationProperty
= AnswerRecommendationAIAgentConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIGuardrailId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
answerGenerationAIPromptId :: Maybe (Value Text)
answerGenerationAIPromptId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
associationConfigurations :: Maybe [AssociationConfigurationProperty]
associationConfigurations = Maybe [AssociationConfigurationProperty]
forall a. Maybe a
Prelude.Nothing,
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
intentLabelingGenerationAIPromptId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
locale :: Maybe (Value Text)
locale = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
queryReformulationAIPromptId :: Maybe (Value Text)
queryReformulationAIPromptId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AnswerRecommendationAIAgentConfigurationProperty where
toResourceProperties :: AnswerRecommendationAIAgentConfigurationProperty
-> ResourceProperties
toResourceProperties
AnswerRecommendationAIAgentConfigurationProperty {Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: AnswerRecommendationAIAgentConfigurationProperty -> ()
answerGenerationAIGuardrailId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
associationConfigurations :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Wisdom::AIAgent.AnswerRecommendationAIAgentConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([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
"AnswerGenerationAIGuardrailId"
(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)
answerGenerationAIGuardrailId,
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
"AnswerGenerationAIPromptId"
(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)
answerGenerationAIPromptId,
Key -> [AssociationConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AssociationConfigurations"
([AssociationConfigurationProperty] -> (Key, Value))
-> Maybe [AssociationConfigurationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AssociationConfigurationProperty]
associationConfigurations,
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
"IntentLabelingGenerationAIPromptId"
(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)
intentLabelingGenerationAIPromptId,
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
"Locale" (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)
locale,
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
"QueryReformulationAIPromptId"
(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)
queryReformulationAIPromptId])}
instance JSON.ToJSON AnswerRecommendationAIAgentConfigurationProperty where
toJSON :: AnswerRecommendationAIAgentConfigurationProperty -> Value
toJSON AnswerRecommendationAIAgentConfigurationProperty {Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: AnswerRecommendationAIAgentConfigurationProperty -> ()
answerGenerationAIGuardrailId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
associationConfigurations :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([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
"AnswerGenerationAIGuardrailId"
(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)
answerGenerationAIGuardrailId,
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
"AnswerGenerationAIPromptId"
(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)
answerGenerationAIPromptId,
Key -> [AssociationConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AssociationConfigurations"
([AssociationConfigurationProperty] -> (Key, Value))
-> Maybe [AssociationConfigurationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AssociationConfigurationProperty]
associationConfigurations,
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
"IntentLabelingGenerationAIPromptId"
(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)
intentLabelingGenerationAIPromptId,
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
"Locale" (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)
locale,
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
"QueryReformulationAIPromptId"
(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)
queryReformulationAIPromptId]))
instance Property "AnswerGenerationAIGuardrailId" AnswerRecommendationAIAgentConfigurationProperty where
type PropertyType "AnswerGenerationAIGuardrailId" AnswerRecommendationAIAgentConfigurationProperty = Value Prelude.Text
set :: PropertyType
"AnswerGenerationAIGuardrailId"
AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
set PropertyType
"AnswerGenerationAIGuardrailId"
AnswerRecommendationAIAgentConfigurationProperty
newValue AnswerRecommendationAIAgentConfigurationProperty {Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: AnswerRecommendationAIAgentConfigurationProperty -> ()
answerGenerationAIGuardrailId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
associationConfigurations :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
= AnswerRecommendationAIAgentConfigurationProperty
{answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIGuardrailId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"AnswerGenerationAIGuardrailId"
AnswerRecommendationAIAgentConfigurationProperty
Value Text
newValue, Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
instance Property "AnswerGenerationAIPromptId" AnswerRecommendationAIAgentConfigurationProperty where
type PropertyType "AnswerGenerationAIPromptId" AnswerRecommendationAIAgentConfigurationProperty = Value Prelude.Text
set :: PropertyType
"AnswerGenerationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
set PropertyType
"AnswerGenerationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
newValue AnswerRecommendationAIAgentConfigurationProperty {Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: AnswerRecommendationAIAgentConfigurationProperty -> ()
answerGenerationAIGuardrailId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
associationConfigurations :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
= AnswerRecommendationAIAgentConfigurationProperty
{answerGenerationAIPromptId :: Maybe (Value Text)
answerGenerationAIPromptId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"AnswerGenerationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
Value Text
newValue, Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
instance Property "AssociationConfigurations" AnswerRecommendationAIAgentConfigurationProperty where
type PropertyType "AssociationConfigurations" AnswerRecommendationAIAgentConfigurationProperty = [AssociationConfigurationProperty]
set :: PropertyType
"AssociationConfigurations"
AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
set PropertyType
"AssociationConfigurations"
AnswerRecommendationAIAgentConfigurationProperty
newValue AnswerRecommendationAIAgentConfigurationProperty {Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: AnswerRecommendationAIAgentConfigurationProperty -> ()
answerGenerationAIGuardrailId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
associationConfigurations :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
= AnswerRecommendationAIAgentConfigurationProperty
{associationConfigurations :: Maybe [AssociationConfigurationProperty]
associationConfigurations = [AssociationConfigurationProperty]
-> Maybe [AssociationConfigurationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [AssociationConfigurationProperty]
PropertyType
"AssociationConfigurations"
AnswerRecommendationAIAgentConfigurationProperty
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
instance Property "IntentLabelingGenerationAIPromptId" AnswerRecommendationAIAgentConfigurationProperty where
type PropertyType "IntentLabelingGenerationAIPromptId" AnswerRecommendationAIAgentConfigurationProperty = Value Prelude.Text
set :: PropertyType
"IntentLabelingGenerationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
set PropertyType
"IntentLabelingGenerationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
newValue AnswerRecommendationAIAgentConfigurationProperty {Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: AnswerRecommendationAIAgentConfigurationProperty -> ()
answerGenerationAIGuardrailId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
associationConfigurations :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
= AnswerRecommendationAIAgentConfigurationProperty
{intentLabelingGenerationAIPromptId :: Maybe (Value Text)
intentLabelingGenerationAIPromptId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"IntentLabelingGenerationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
Value Text
newValue, Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
instance Property "Locale" AnswerRecommendationAIAgentConfigurationProperty where
type PropertyType "Locale" AnswerRecommendationAIAgentConfigurationProperty = Value Prelude.Text
set :: PropertyType
"Locale" AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
set PropertyType
"Locale" AnswerRecommendationAIAgentConfigurationProperty
newValue AnswerRecommendationAIAgentConfigurationProperty {Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: AnswerRecommendationAIAgentConfigurationProperty -> ()
answerGenerationAIGuardrailId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
associationConfigurations :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
= AnswerRecommendationAIAgentConfigurationProperty
{locale :: Maybe (Value Text)
locale = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"Locale" AnswerRecommendationAIAgentConfigurationProperty
Value Text
newValue, Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
instance Property "QueryReformulationAIPromptId" AnswerRecommendationAIAgentConfigurationProperty where
type PropertyType "QueryReformulationAIPromptId" AnswerRecommendationAIAgentConfigurationProperty = Value Prelude.Text
set :: PropertyType
"QueryReformulationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
-> AnswerRecommendationAIAgentConfigurationProperty
set PropertyType
"QueryReformulationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
newValue AnswerRecommendationAIAgentConfigurationProperty {Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: AnswerRecommendationAIAgentConfigurationProperty -> ()
answerGenerationAIGuardrailId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
answerGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
associationConfigurations :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
locale :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
queryReformulationAIPromptId :: AnswerRecommendationAIAgentConfigurationProperty
-> Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
queryReformulationAIPromptId :: Maybe (Value Text)
..}
= AnswerRecommendationAIAgentConfigurationProperty
{queryReformulationAIPromptId :: Maybe (Value Text)
queryReformulationAIPromptId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"QueryReformulationAIPromptId"
AnswerRecommendationAIAgentConfigurationProperty
Value Text
newValue, Maybe [AssociationConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
haddock_workaround_ :: ()
answerGenerationAIGuardrailId :: Maybe (Value Text)
answerGenerationAIPromptId :: Maybe (Value Text)
associationConfigurations :: Maybe [AssociationConfigurationProperty]
intentLabelingGenerationAIPromptId :: Maybe (Value Text)
locale :: Maybe (Value Text)
..}