Skip to content

DocumentIdentifier

Source code in docs_src/capo_bedrock_agent/types/document_identifier.py
class DocumentIdentifier(TypedDict, closed=True):
    data_source_type: (
        "capo_bedrock_agent.types.content_data_source_type.ContentDataSourceType"
    )
    """<p>The type of data source connected to the knowledge base that contains the document.</p>"""
    s3: NotRequired["capo_bedrock_agent.types.s3_location.S3Location"]
    """<p>Contains information that identifies the document in an S3 data source.</p>"""
    custom: NotRequired[
        "capo_bedrock_agent.types.custom_document_identifier.CustomDocumentIdentifier"
    ]
    """<p>Contains information that identifies the document in a custom data source.</p>"""

custom instance-attribute

custom: NotRequired[CustomDocumentIdentifier]

Contains information that identifies the document in a custom data source.

data_source_type instance-attribute

data_source_type: ContentDataSourceType

The type of data source connected to the knowledge base that contains the document.

s3 instance-attribute

s3: NotRequired[S3Location]

Contains information that identifies the document in an S3 data source.