Skip to content

CreateRetrievalInstructionRequest

Source code in docs_src/capo_bedrock_agent/types/create_retrieval_instruction_request.py
class CreateRetrievalInstructionRequest(TypedDict, closed=True):
    client_token: NotRequired["capo_bedrock_agent.types.client_token.ClientToken"]
    """<p>A caller-supplied token that makes a retried create return the existing resource rather than a second one. The window is 8 hours.</p>"""
    name: "capo_bedrock_agent.types.retrieval_instruction_name.RetrievalInstructionName"
    """<p>Specifies the name of the retrieval instruction.</p>"""
    instruction: "capo_bedrock_agent.types.retrieval_instruction_content.RetrievalInstructionContent"
    """<p>The instruction content, as a set of named fields. Get does not return this field until the create review passes.</p>"""
    description: NotRequired[
        "capo_bedrock_agent.types.retrieval_instruction_description.RetrievalInstructionDescription"
    ]
    """<p>Specifies a description of the retrieval instruction.</p>"""
    customer_encryption_key_arn: NotRequired[
        "capo_bedrock_agent.types.kms_key_arn.KmsKeyArn"
    ]
    """<p>The Amazon Resource Name (ARN) of a customer managed AWS Key Management Service (AWS KMS) key used to encrypt the instruction content at rest. If you omit it, the service uses an AWS owned key. You fix the key at create and cannot change it later.</p>"""
    tags: NotRequired["capo_bedrock_agent.types.tags_map.TagsMap"]
    """<p>Tags for the retrieval instruction.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A caller-supplied token that makes a retried create return the existing resource rather than a second one. The window is 8 hours.

customer_encryption_key_arn instance-attribute

customer_encryption_key_arn: NotRequired[KmsKeyArn]

The Amazon Resource Name (ARN) of a customer managed AWS Key Management Service (AWS KMS) key used to encrypt the instruction content at rest. If you omit it, the service uses an AWS owned key. You fix the key at create and cannot change it later.

description instance-attribute

description: NotRequired[RetrievalInstructionDescription]

Specifies a description of the retrieval instruction.

instruction instance-attribute

The instruction content, as a set of named fields. Get does not return this field until the create review passes.

name instance-attribute

Specifies the name of the retrieval instruction.

tags instance-attribute

tags: NotRequired[TagsMap]

Tags for the retrieval instruction.