module Stratosphere.Wisdom.AIGuardrail (
        module Exports, AIGuardrail(..), mkAIGuardrail
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Wisdom.AIGuardrail.AIGuardrailContentPolicyConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.Wisdom.AIGuardrail.AIGuardrailContextualGroundingPolicyConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.Wisdom.AIGuardrail.AIGuardrailSensitiveInformationPolicyConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.Wisdom.AIGuardrail.AIGuardrailTopicPolicyConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.Wisdom.AIGuardrail.AIGuardrailWordPolicyConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AIGuardrail
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html>
    AIGuardrail {AIGuardrail -> ()
haddock_workaround_ :: (),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-assistantid>
                 AIGuardrail -> Value Text
assistantId :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-blockedinputmessaging>
                 AIGuardrail -> Value Text
blockedInputMessaging :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-blockedoutputsmessaging>
                 AIGuardrail -> Value Text
blockedOutputsMessaging :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-contentpolicyconfig>
                 AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contentPolicyConfig :: (Prelude.Maybe AIGuardrailContentPolicyConfigProperty),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-contextualgroundingpolicyconfig>
                 AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
contextualGroundingPolicyConfig :: (Prelude.Maybe AIGuardrailContextualGroundingPolicyConfigProperty),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-description>
                 AIGuardrail -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-name>
                 AIGuardrail -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-sensitiveinformationpolicyconfig>
                 AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
sensitiveInformationPolicyConfig :: (Prelude.Maybe AIGuardrailSensitiveInformationPolicyConfigProperty),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-tags>
                 AIGuardrail -> 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-aiguardrail.html#cfn-wisdom-aiguardrail-topicpolicyconfig>
                 AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
topicPolicyConfig :: (Prelude.Maybe AIGuardrailTopicPolicyConfigProperty),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#cfn-wisdom-aiguardrail-wordpolicyconfig>
                 AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
wordPolicyConfig :: (Prelude.Maybe AIGuardrailWordPolicyConfigProperty)}
  deriving stock (AIGuardrail -> AIGuardrail -> Bool
(AIGuardrail -> AIGuardrail -> Bool)
-> (AIGuardrail -> AIGuardrail -> Bool) -> Eq AIGuardrail
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AIGuardrail -> AIGuardrail -> Bool
== :: AIGuardrail -> AIGuardrail -> Bool
$c/= :: AIGuardrail -> AIGuardrail -> Bool
/= :: AIGuardrail -> AIGuardrail -> Bool
Prelude.Eq, Int -> AIGuardrail -> ShowS
[AIGuardrail] -> ShowS
AIGuardrail -> String
(Int -> AIGuardrail -> ShowS)
-> (AIGuardrail -> String)
-> ([AIGuardrail] -> ShowS)
-> Show AIGuardrail
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AIGuardrail -> ShowS
showsPrec :: Int -> AIGuardrail -> ShowS
$cshow :: AIGuardrail -> String
show :: AIGuardrail -> String
$cshowList :: [AIGuardrail] -> ShowS
showList :: [AIGuardrail] -> ShowS
Prelude.Show)
mkAIGuardrail ::
  Value Prelude.Text
  -> Value Prelude.Text -> Value Prelude.Text -> AIGuardrail
mkAIGuardrail :: Value Text -> Value Text -> Value Text -> AIGuardrail
mkAIGuardrail
  Value Text
assistantId
  Value Text
blockedInputMessaging
  Value Text
blockedOutputsMessaging
  = AIGuardrail
      {haddock_workaround_ :: ()
haddock_workaround_ = (), assistantId :: Value Text
assistantId = Value Text
assistantId,
       blockedInputMessaging :: Value Text
blockedInputMessaging = Value Text
blockedInputMessaging,
       blockedOutputsMessaging :: Value Text
blockedOutputsMessaging = Value Text
blockedOutputsMessaging,
       contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contentPolicyConfig = Maybe AIGuardrailContentPolicyConfigProperty
forall a. Maybe a
Prelude.Nothing,
       contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
contextualGroundingPolicyConfig = Maybe AIGuardrailContextualGroundingPolicyConfigProperty
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,
       sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
sensitiveInformationPolicyConfig = Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe (Map Text (Value Text))
tags = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing, topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
topicPolicyConfig = Maybe AIGuardrailTopicPolicyConfigProperty
forall a. Maybe a
Prelude.Nothing,
       wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
wordPolicyConfig = Maybe AIGuardrailWordPolicyConfigProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AIGuardrail where
  toResourceProperties :: AIGuardrail -> ResourceProperties
toResourceProperties AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Wisdom::AIGuardrail", 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
"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..= Value Text
assistantId,
                            Key
"BlockedInputMessaging" 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
blockedInputMessaging,
                            Key
"BlockedOutputsMessaging" 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
blockedOutputsMessaging]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> AIGuardrailContentPolicyConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContentPolicyConfig" (AIGuardrailContentPolicyConfigProperty -> (Key, Value))
-> Maybe AIGuardrailContentPolicyConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailContentPolicyConfigProperty
contentPolicyConfig,
                               Key
-> AIGuardrailContextualGroundingPolicyConfigProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContextualGroundingPolicyConfig"
                                 (AIGuardrailContextualGroundingPolicyConfigProperty
 -> (Key, Value))
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
contextualGroundingPolicyConfig,
                               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
-> AIGuardrailSensitiveInformationPolicyConfigProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SensitiveInformationPolicyConfig"
                                 (AIGuardrailSensitiveInformationPolicyConfigProperty
 -> (Key, Value))
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
sensitiveInformationPolicyConfig,
                               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,
                               Key -> AIGuardrailTopicPolicyConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TopicPolicyConfig" (AIGuardrailTopicPolicyConfigProperty -> (Key, Value))
-> Maybe AIGuardrailTopicPolicyConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailTopicPolicyConfigProperty
topicPolicyConfig,
                               Key -> AIGuardrailWordPolicyConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WordPolicyConfig" (AIGuardrailWordPolicyConfigProperty -> (Key, Value))
-> Maybe AIGuardrailWordPolicyConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailWordPolicyConfigProperty
wordPolicyConfig]))}
instance JSON.ToJSON AIGuardrail where
  toJSON :: AIGuardrail -> Value
toJSON AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = [(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
"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..= Value Text
assistantId,
               Key
"BlockedInputMessaging" 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
blockedInputMessaging,
               Key
"BlockedOutputsMessaging" 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
blockedOutputsMessaging]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> AIGuardrailContentPolicyConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContentPolicyConfig" (AIGuardrailContentPolicyConfigProperty -> (Key, Value))
-> Maybe AIGuardrailContentPolicyConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailContentPolicyConfigProperty
contentPolicyConfig,
                  Key
-> AIGuardrailContextualGroundingPolicyConfigProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContextualGroundingPolicyConfig"
                    (AIGuardrailContextualGroundingPolicyConfigProperty
 -> (Key, Value))
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
contextualGroundingPolicyConfig,
                  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
-> AIGuardrailSensitiveInformationPolicyConfigProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SensitiveInformationPolicyConfig"
                    (AIGuardrailSensitiveInformationPolicyConfigProperty
 -> (Key, Value))
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
sensitiveInformationPolicyConfig,
                  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,
                  Key -> AIGuardrailTopicPolicyConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TopicPolicyConfig" (AIGuardrailTopicPolicyConfigProperty -> (Key, Value))
-> Maybe AIGuardrailTopicPolicyConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailTopicPolicyConfigProperty
topicPolicyConfig,
                  Key -> AIGuardrailWordPolicyConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WordPolicyConfig" (AIGuardrailWordPolicyConfigProperty -> (Key, Value))
-> Maybe AIGuardrailWordPolicyConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AIGuardrailWordPolicyConfigProperty
wordPolicyConfig])))
instance Property "AssistantId" AIGuardrail where
  type PropertyType "AssistantId" AIGuardrail = Value Prelude.Text
  set :: PropertyType "AssistantId" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "AssistantId" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {assistantId :: Value Text
assistantId = PropertyType "AssistantId" AIGuardrail
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "BlockedInputMessaging" AIGuardrail where
  type PropertyType "BlockedInputMessaging" AIGuardrail = Value Prelude.Text
  set :: PropertyType "BlockedInputMessaging" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "BlockedInputMessaging" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {blockedInputMessaging :: Value Text
blockedInputMessaging = PropertyType "BlockedInputMessaging" AIGuardrail
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "BlockedOutputsMessaging" AIGuardrail where
  type PropertyType "BlockedOutputsMessaging" AIGuardrail = Value Prelude.Text
  set :: PropertyType "BlockedOutputsMessaging" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "BlockedOutputsMessaging" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {blockedOutputsMessaging :: Value Text
blockedOutputsMessaging = PropertyType "BlockedOutputsMessaging" AIGuardrail
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "ContentPolicyConfig" AIGuardrail where
  type PropertyType "ContentPolicyConfig" AIGuardrail = AIGuardrailContentPolicyConfigProperty
  set :: PropertyType "ContentPolicyConfig" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "ContentPolicyConfig" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contentPolicyConfig = AIGuardrailContentPolicyConfigProperty
-> Maybe AIGuardrailContentPolicyConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ContentPolicyConfig" AIGuardrail
AIGuardrailContentPolicyConfigProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "ContextualGroundingPolicyConfig" AIGuardrail where
  type PropertyType "ContextualGroundingPolicyConfig" AIGuardrail = AIGuardrailContextualGroundingPolicyConfigProperty
  set :: PropertyType "ContextualGroundingPolicyConfig" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "ContextualGroundingPolicyConfig" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail
        {contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
contextualGroundingPolicyConfig = AIGuardrailContextualGroundingPolicyConfigProperty
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ContextualGroundingPolicyConfig" AIGuardrail
AIGuardrailContextualGroundingPolicyConfigProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "Description" AIGuardrail where
  type PropertyType "Description" AIGuardrail = Value Prelude.Text
  set :: PropertyType "Description" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "Description" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {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" AIGuardrail
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "Name" AIGuardrail where
  type PropertyType "Name" AIGuardrail = Value Prelude.Text
  set :: PropertyType "Name" AIGuardrail -> AIGuardrail -> AIGuardrail
set PropertyType "Name" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {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" AIGuardrail
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "SensitiveInformationPolicyConfig" AIGuardrail where
  type PropertyType "SensitiveInformationPolicyConfig" AIGuardrail = AIGuardrailSensitiveInformationPolicyConfigProperty
  set :: PropertyType "SensitiveInformationPolicyConfig" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "SensitiveInformationPolicyConfig" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail
        {sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
sensitiveInformationPolicyConfig = AIGuardrailSensitiveInformationPolicyConfigProperty
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SensitiveInformationPolicyConfig" AIGuardrail
AIGuardrailSensitiveInformationPolicyConfigProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "Tags" AIGuardrail where
  type PropertyType "Tags" AIGuardrail = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "Tags" AIGuardrail -> AIGuardrail -> AIGuardrail
set PropertyType "Tags" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {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" AIGuardrail
newValue, Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "TopicPolicyConfig" AIGuardrail where
  type PropertyType "TopicPolicyConfig" AIGuardrail = AIGuardrailTopicPolicyConfigProperty
  set :: PropertyType "TopicPolicyConfig" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "TopicPolicyConfig" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
topicPolicyConfig = AIGuardrailTopicPolicyConfigProperty
-> Maybe AIGuardrailTopicPolicyConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TopicPolicyConfig" AIGuardrail
AIGuardrailTopicPolicyConfigProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
instance Property "WordPolicyConfig" AIGuardrail where
  type PropertyType "WordPolicyConfig" AIGuardrail = AIGuardrailWordPolicyConfigProperty
  set :: PropertyType "WordPolicyConfig" AIGuardrail
-> AIGuardrail -> AIGuardrail
set PropertyType "WordPolicyConfig" AIGuardrail
newValue AIGuardrail {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
Maybe AIGuardrailWordPolicyConfigProperty
()
Value Text
haddock_workaround_ :: AIGuardrail -> ()
assistantId :: AIGuardrail -> Value Text
blockedInputMessaging :: AIGuardrail -> Value Text
blockedOutputsMessaging :: AIGuardrail -> Value Text
contentPolicyConfig :: AIGuardrail -> Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: AIGuardrail -> Maybe (Value Text)
name :: AIGuardrail -> Maybe (Value Text)
sensitiveInformationPolicyConfig :: AIGuardrail
-> Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: AIGuardrail -> Maybe (Map Text (Value Text))
topicPolicyConfig :: AIGuardrail -> Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: AIGuardrail -> Maybe AIGuardrailWordPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
..}
    = AIGuardrail {wordPolicyConfig :: Maybe AIGuardrailWordPolicyConfigProperty
wordPolicyConfig = AIGuardrailWordPolicyConfigProperty
-> Maybe AIGuardrailWordPolicyConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "WordPolicyConfig" AIGuardrail
AIGuardrailWordPolicyConfigProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe AIGuardrailContentPolicyConfigProperty
Maybe AIGuardrailContextualGroundingPolicyConfigProperty
Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
Maybe AIGuardrailTopicPolicyConfigProperty
()
Value Text
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
haddock_workaround_ :: ()
assistantId :: Value Text
blockedInputMessaging :: Value Text
blockedOutputsMessaging :: Value Text
contentPolicyConfig :: Maybe AIGuardrailContentPolicyConfigProperty
contextualGroundingPolicyConfig :: Maybe AIGuardrailContextualGroundingPolicyConfigProperty
description :: Maybe (Value Text)
name :: Maybe (Value Text)
sensitiveInformationPolicyConfig :: Maybe AIGuardrailSensitiveInformationPolicyConfigProperty
tags :: Maybe (Map Text (Value Text))
topicPolicyConfig :: Maybe AIGuardrailTopicPolicyConfigProperty
..}