Skip to content

UpdateRetrievalInstructionRequest

Source code in docs_src/capo_bedrock_agent/types/update_retrieval_instruction_request.py
class UpdateRetrievalInstructionRequest(TypedDict, closed=True):
    retrieval_instruction_id: (
        "capo_bedrock_agent.types.retrieval_instruction_id.RetrievalInstructionId"
    )
    """<p>The identifier of the retrieval instruction to update.</p>"""
    instruction: "capo_bedrock_agent.types.retrieval_instruction_content.RetrievalInstructionContent"
    """<p>The replacement instruction content. This is a full replacement of all four fields, not a patch. During UPDATING, Get continues to return the previously-served content until the update review passes.</p>"""
    description: NotRequired[
        "capo_bedrock_agent.types.retrieval_instruction_description.RetrievalInstructionDescription"
    ]
    """<p>A replacement description; applied together with the content when the review passes. Omit to clear.</p>"""

description instance-attribute

description: NotRequired[RetrievalInstructionDescription]

A replacement description; applied together with the content when the review passes. Omit to clear.

instruction instance-attribute

The replacement instruction content. This is a full replacement of all four fields, not a patch. During UPDATING, Get continues to return the previously-served content until the update review passes.

retrieval_instruction_id instance-attribute

retrieval_instruction_id: RetrievalInstructionId

The identifier of the retrieval instruction to update.