Skip to content

GetGuardrailRequest

Source code in docs_src/capo_bedrock/types/get_guardrail_request.py
class GetGuardrailRequest(TypedDict, closed=True):
    guardrail_identifier: "capo_bedrock.types.guardrail_identifier.GuardrailIdentifier"
    """<p>The unique identifier of the guardrail for which to get details. This can be an ID or the ARN.</p>"""
    guardrail_version: NotRequired[
        "capo_bedrock.types.guardrail_version.GuardrailVersion"
    ]
    """<p>The version of the guardrail for which to get details. If you don't specify a version, the response returns details for the <code>DRAFT</code> version.</p>"""

guardrail_identifier instance-attribute

guardrail_identifier: GuardrailIdentifier

The unique identifier of the guardrail for which to get details. This can be an ID or the ARN.

guardrail_version instance-attribute

guardrail_version: NotRequired[GuardrailVersion]

The version of the guardrail for which to get details. If you don't specify a version, the response returns details for the DRAFT version.