Skip to content

VectorIndexDescription

Source code in docs_src/capo_dynamodb/types/vector_index_description.py
class VectorIndexDescription(TypedDict, closed=True):
    index_name: NotRequired["capo_dynamodb.types.index_name.IndexName"]
    """<p>The name of the vector index.</p>"""
    search_schema: NotRequired["capo_dynamodb.types.search_schema.SearchSchema"]
    """<p>The search schema that defines partition key and inline filter attributes for the vector index.</p>"""
    projection: NotRequired["capo_dynamodb.types.projection.Projection"]
    """<p>Specifies attributes that are copied (projected) from the table into the vector index.</p>"""
    vector_attribute: NotRequired[
        "capo_dynamodb.types.vector_attribute_definition.VectorAttributeDefinition"
    ]
    """<p>The vector attribute configuration for the index.</p>"""
    dimensions: NotRequired[
        "capo_dynamodb.types.positive_long_object.PositiveLongObject"
    ]
    """<p>The number of dimensions in each vector.</p>"""
    distance_function: NotRequired[
        "capo_dynamodb.types.vector_distance_function.VectorDistanceFunction"
    ]
    """<p>The distance function used to calculate similarity between vectors.</p>"""
    index_status: NotRequired["capo_dynamodb.types.index_status.IndexStatus"]
    """<p>The current state of the vector index:</p> <ul> <li> <p> <code>CREATING</code> - The index is being created.</p> </li> <li> <p> <code>ACTIVE</code> - The index is ready for use.</p> </li> <li> <p> <code>DELETING</code> - The index is being deleted.</p> </li> </ul>"""
    backfilling: NotRequired["capo_dynamodb.types.backfilling.Backfilling"]
    """<p>Specifies whether the index is currently backfilling. During backfill, <code>SearchVectors</code> operations might return incomplete results.</p>"""
    index_size_bytes: NotRequired["capo_dynamodb.types.long_object.LongObject"]
    """<p>The total size of the vector index, in bytes. Amazon DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.</p>"""
    item_count: NotRequired["capo_dynamodb.types.long_object.LongObject"]
    """<p>The number of items indexed in the vector index. Amazon DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.</p>"""
    index_arn: NotRequired["capo_dynamodb.types.string.String"]
    """<p>The Amazon Resource Name (ARN) that uniquely identifies the vector index.</p>"""

backfilling instance-attribute

backfilling: NotRequired[Backfilling]

Specifies whether the index is currently backfilling. During backfill, SearchVectors operations might return incomplete results.

dimensions instance-attribute

dimensions: NotRequired[PositiveLongObject]

The number of dimensions in each vector.

distance_function instance-attribute

distance_function: NotRequired[VectorDistanceFunction]

The distance function used to calculate similarity between vectors.

index_arn instance-attribute

index_arn: NotRequired[String]

The Amazon Resource Name (ARN) that uniquely identifies the vector index.

index_name instance-attribute

index_name: NotRequired[IndexName]

The name of the vector index.

index_size_bytes instance-attribute

index_size_bytes: NotRequired[LongObject]

The total size of the vector index, in bytes. Amazon DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

index_status instance-attribute

index_status: NotRequired[IndexStatus]

The current state of the vector index:

  • CREATING - The index is being created.

  • ACTIVE - The index is ready for use.

  • DELETING - The index is being deleted.

item_count instance-attribute

item_count: NotRequired[LongObject]

The number of items indexed in the vector index. Amazon DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

projection instance-attribute

projection: NotRequired[Projection]

Specifies attributes that are copied (projected) from the table into the vector index.

search_schema instance-attribute

search_schema: NotRequired[SearchSchema]

The search schema that defines partition key and inline filter attributes for the vector index.

vector_attribute instance-attribute

vector_attribute: NotRequired[VectorAttributeDefinition]

The vector attribute configuration for the index.