GetGuardrailResponse
¶
Source code in docs_src/capo_bedrock/types/get_guardrail_response.py
automated_reasoning_policy
instance-attribute
¶
automated_reasoning_policy: NotRequired[GuardrailAutomatedReasoningPolicy]
The current Automated Reasoning policy configuration for the guardrail, if any is configured.
blocked_input_messaging
instance-attribute
¶
blocked_input_messaging: GuardrailBlockedMessaging
The message that the guardrail returns when it blocks a prompt.
blocked_outputs_messaging
instance-attribute
¶
blocked_outputs_messaging: GuardrailBlockedMessaging
The message that the guardrail returns when it blocks a model response.
content_policy
instance-attribute
¶
content_policy: NotRequired[GuardrailContentPolicy]
The content policy that was configured for the guardrail.
contextual_grounding_policy
instance-attribute
¶
contextual_grounding_policy: NotRequired[GuardrailContextualGroundingPolicy]
The contextual grounding policy used in the guardrail.
created_at
instance-attribute
¶
created_at: Timestamp
The date and time at which the guardrail was created.
cross_region_details
instance-attribute
¶
cross_region_details: NotRequired[GuardrailCrossRegionDetails]
Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).
description
instance-attribute
¶
description: NotRequired[GuardrailDescription]
The description of the guardrail.
failure_recommendations
instance-attribute
¶
failure_recommendations: NotRequired[GuardrailFailureRecommendations]
Appears if the status of the guardrail is FAILED. A list of recommendations to carry out before retrying the request.
kms_key_arn
instance-attribute
¶
kms_key_arn: NotRequired[KmsKeyArn]
The ARN of the KMS key that encrypts the guardrail.
sensitive_information_policy
instance-attribute
¶
sensitive_information_policy: NotRequired[GuardrailSensitiveInformationPolicy]
The sensitive information policy that was configured for the guardrail.
status_reasons
instance-attribute
¶
status_reasons: NotRequired[GuardrailStatusReasons]
Appears if the status is FAILED. A list of reasons for why the guardrail failed to be created, updated, versioned, or deleted.
topic_policy
instance-attribute
¶
topic_policy: NotRequired[GuardrailTopicPolicy]
The topic policy that was configured for the guardrail.
updated_at
instance-attribute
¶
updated_at: Timestamp
The date and time at which the guardrail was updated.
word_policy
instance-attribute
¶
word_policy: NotRequired[GuardrailWordPolicy]
The word policy that was configured for the guardrail.