Skip to content

DeleteRetrievalInstructionRequest

Source code in docs_src/capo_bedrock_agent/types/delete_retrieval_instruction_request.py
class DeleteRetrievalInstructionRequest(TypedDict, closed=True):
    retrieval_instruction_id: (
        "capo_bedrock_agent.types.retrieval_instruction_id.RetrievalInstructionId"
    )
    """<p>The identifier of the retrieval instruction to delete.</p>"""
    retrieval_instruction_version: NotRequired[
        "capo_bedrock_agent.types.retrieval_instruction_numerical_version.RetrievalInstructionNumericalVersion"
    ]
    """<p>The version to delete. Omit this field to delete the retrieval instruction itself, which you can do only when it has no versions; while any version exists the service rejects the request with ConflictException. You cannot delete DRAFT on its own; deleting the retrieval instruction removes it.</p>"""

retrieval_instruction_id instance-attribute

retrieval_instruction_id: RetrievalInstructionId

The identifier of the retrieval instruction to delete.

retrieval_instruction_version instance-attribute

retrieval_instruction_version: NotRequired[RetrievalInstructionNumericalVersion]

The version to delete. Omit this field to delete the retrieval instruction itself, which you can do only when it has no versions; while any version exists the service rejects the request with ConflictException. You cannot delete DRAFT on its own; deleting the retrieval instruction removes it.