Values.CreateAIGuardrailRequestSourceCreates an Amazon Q in Connect AI Guardrail.
type nonrec t = {clientToken : ClientToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..
*)assistantId : UuidOrArn.t;The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
*)name : Name.t;The name of the AI Guardrail.
*)blockedInputMessaging : AIGuardrailBlockedMessaging.t;The message to return when the AI Guardrail blocks a prompt.
*)blockedOutputsMessaging : AIGuardrailBlockedMessaging.t;The message to return when the AI Guardrail blocks a model response.
*)visibilityStatus : VisibilityStatus.t;The visibility status of the AI Guardrail.
*)description : AIGuardrailDescription.t option;A description of the AI Guardrail.
*)topicPolicyConfig : AIGuardrailTopicPolicyConfig.t option;The topic policies to configure for the AI Guardrail.
*)contentPolicyConfig : AIGuardrailContentPolicyConfig.t option;The content filter policies to configure for the AI Guardrail.
*)wordPolicyConfig : AIGuardrailWordPolicyConfig.t option;The word policy you configure for the AI Guardrail.
*)sensitiveInformationPolicyConfig : AIGuardrailSensitiveInformationPolicyConfig.t
option;The sensitive information policy to configure for the AI Guardrail.
*)contextualGroundingPolicyConfig : AIGuardrailContextualGroundingPolicyConfig.t
option;The contextual grounding policy configuration used to create an AI Guardrail.
*)}val make :
?clientToken:??? ->
?description:??? ->
?topicPolicyConfig:??? ->
?contentPolicyConfig:??? ->
?wordPolicyConfig:??? ->
?sensitiveInformationPolicyConfig:??? ->
?contextualGroundingPolicyConfig:??? ->
?tags:??? ->
assistantId:UuidOrArn.t ->
name:Name.t ->
blockedInputMessaging:AIGuardrailBlockedMessaging.t ->
blockedOutputsMessaging:AIGuardrailBlockedMessaging.t ->
visibilityStatus:VisibilityStatus.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of ClientToken.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Double of
GuardrailContextualGroundingFilterThreshold.t
| `Enum of string
| `List of
[> `String of GuardrailTopicExample.t ] list
| `String of GuardrailTopicName.t ])
list ]
list ])
list ])
list ]