Values.UpdateAIGuardrailRequestSourceUpdates an 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.
*)aiGuardrailId : UuidOrArnOrEitherWithQualifier.t;The identifier of the Amazon Q in Connect AI Guardrail.
*)visibilityStatus : VisibilityStatus.t;The visibility status of the Amazon Q in Connect 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.
*)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:??? ->
assistantId:UuidOrArn.t ->
aiGuardrailId:UuidOrArnOrEitherWithQualifier.t ->
visibilityStatus:VisibilityStatus.t ->
blockedInputMessaging:AIGuardrailBlockedMessaging.t ->
blockedOutputsMessaging:AIGuardrailBlockedMessaging.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `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 ]