Skip to content

FileSource

Source code in docs_src/capo_bedrock_agent_runtime/types/file_source.py
class FileSource(TypedDict, closed=True):
    source_type: "capo_bedrock_agent_runtime.types.file_source_type.FileSourceType"
    """<p>The source type of the files to attach.</p>"""
    s3_location: NotRequired[
        "capo_bedrock_agent_runtime.types.s3_object_file.S3ObjectFile"
    ]
    """<p>The s3 location of the files to attach.</p>"""
    byte_content: NotRequired[
        "capo_bedrock_agent_runtime.types.byte_content_file.ByteContentFile"
    ]
    """<p>The data and the text of the attached files.</p>"""

byte_content instance-attribute

byte_content: NotRequired[ByteContentFile]

The data and the text of the attached files.

s3_location instance-attribute

s3_location: NotRequired[S3ObjectFile]

The s3 location of the files to attach.

source_type instance-attribute

source_type: FileSourceType

The source type of the files to attach.