Skip to content

ByteContentDoc

Source code in docs_src/capo_bedrock/types/byte_content_doc.py
class ByteContentDoc(TypedDict, closed=True):
    identifier: "capo_bedrock.types.identifier.Identifier"
    """<p>The file name of the document contained in the wrapper object.</p>"""
    content_type: "capo_bedrock.types.content_type.ContentType"
    """<p>The MIME type of the document contained in the wrapper object.</p>"""
    data: "capo_bedrock.types.byte_content_blob.ByteContentBlob"
    """<p>The byte value of the file to upload, encoded as a Base-64 string.</p>"""

content_type instance-attribute

content_type: ContentType

The MIME type of the document contained in the wrapper object.

data instance-attribute

The byte value of the file to upload, encoded as a Base-64 string.

identifier instance-attribute

identifier: Identifier

The file name of the document contained in the wrapper object.