ApplyGuardrailResponse
¶
Source code in docs_src/capo_bedrock_runtime/types/apply_guardrail_response.py
action
instance-attribute
¶
action: GuardrailAction
The action taken in the response from the guardrail.
action_reason
instance-attribute
¶
action_reason: NotRequired[str]
The reason for the action taken when harmful content is detected.
assessments
instance-attribute
¶
assessments: GuardrailAssessmentList
The assessment details in the response from the guardrail.
guardrail_coverage
instance-attribute
¶
guardrail_coverage: NotRequired[GuardrailCoverage]
The guardrail coverage details in the apply guardrail response.
outputs
instance-attribute
¶
outputs: GuardrailOutputContentList
The output details in the response from the guardrail.
usage
instance-attribute
¶
usage: GuardrailUsage
The usage details in the response from the guardrail.