CreateAIGuardrailRequest
¶
Source code in docs_src/capo_qconnect/types/create_ai_guardrail_request.py
assistant_id
instance-attribute
¶
assistant_id: UuidOrArn
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
blocked_input_messaging
instance-attribute
¶
blocked_input_messaging: AIGuardrailBlockedMessaging
The message to return when the AI Guardrail blocks a prompt.
blocked_outputs_messaging
instance-attribute
¶
blocked_outputs_messaging: AIGuardrailBlockedMessaging
The message to return when the AI Guardrail blocks a model response.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
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..
content_policy_config
instance-attribute
¶
content_policy_config: NotRequired[AIGuardrailContentPolicyConfig]
The content filter policies to configure for the AI Guardrail.
contextual_grounding_policy_config
instance-attribute
¶
contextual_grounding_policy_config: NotRequired[
AIGuardrailContextualGroundingPolicyConfig
]
The contextual grounding policy configuration used to create an AI Guardrail.
description
instance-attribute
¶
description: NotRequired[AIGuardrailDescription]
A description of the AI Guardrail.
sensitive_information_policy_config
instance-attribute
¶
sensitive_information_policy_config: NotRequired[
AIGuardrailSensitiveInformationPolicyConfig
]
The sensitive information policy to configure for the AI Guardrail.
tags
instance-attribute
¶
tags: NotRequired[Tags]
The tags used to organize, track, or control access for this resource.
topic_policy_config
instance-attribute
¶
topic_policy_config: NotRequired[AIGuardrailTopicPolicyConfig]
The topic policies to configure for the AI Guardrail.
visibility_status
instance-attribute
¶
visibility_status: VisibilityStatus
The visibility status of the AI Guardrail.
word_policy_config
instance-attribute
¶
word_policy_config: NotRequired[AIGuardrailWordPolicyConfig]
The word policy you configure for the AI Guardrail.