Skip to content

GetRetrievalInstructionRequest

Source code in docs_src/capo_bedrock_agent/types/get_retrieval_instruction_request.py
class GetRetrievalInstructionRequest(TypedDict, closed=True):
    retrieval_instruction_id: (
        "capo_bedrock_agent.types.retrieval_instruction_id.RetrievalInstructionId"
    )
    """<p>The identifier of the retrieval instruction to get.</p>"""
    retrieval_instruction_version: NotRequired[
        "capo_bedrock_agent.types.retrieval_instruction_version_selector.RetrievalInstructionVersionSelector"
    ]
    """<p>The version to return: a version number, or DRAFT for the retrieval instruction's current reviewed content. When omitted, DRAFT is used. This default is permanent: omitting retrievalInstructionVersion will never resolve to a numbered version.</p>"""

retrieval_instruction_id instance-attribute

retrieval_instruction_id: RetrievalInstructionId

The identifier of the retrieval instruction to get.

retrieval_instruction_version instance-attribute

retrieval_instruction_version: NotRequired[RetrievalInstructionVersionSelector]

The version to return: a version number, or DRAFT for the retrieval instruction's current reviewed content. When omitted, DRAFT is used. This default is permanent: omitting retrievalInstructionVersion will never resolve to a numbered version.