CreateIndexInput
¶
Source code in docs_src/capo_s3vectors/types/create_index_input.py
data_type
instance-attribute
¶
data_type: DataType
The data type of the vectors to be inserted into the vector index.
dimension
instance-attribute
¶
dimension: Dimension
The dimensions of the vectors to be inserted into the vector index.
distance_metric
instance-attribute
¶
distance_metric: DistanceMetric
The distance metric to be used for similarity search.
encryption_configuration
instance-attribute
¶
encryption_configuration: NotRequired[EncryptionConfiguration]
The encryption configuration for a vector index. By default, if you don't specify, all new vectors in the vector index will use the encryption configuration of the vector bucket.
metadata_configuration
instance-attribute
¶
metadata_configuration: NotRequired[MetadataConfiguration]
The metadata configuration for the vector index.
tags
instance-attribute
¶
tags: NotRequired[TagsMap]
An array of user-defined tags that you would like to apply to the vector index that you are creating. A tag is a key-value pair that you apply to your resources. Tags can help you organize, track costs, and control access to resources. For more information, see Tagging for cost allocation or attribute-based access control (ABAC).
You must have the s3vectors:TagResource permission in addition to s3vectors:CreateIndex permission to create a vector index with tags.
vector_bucket_arn
instance-attribute
¶
vector_bucket_arn: NotRequired[VectorBucketArn]
The Amazon Resource Name (ARN) of the vector bucket to create the vector index in.
vector_bucket_name
instance-attribute
¶
vector_bucket_name: NotRequired[VectorBucketName]
The name of the vector bucket to create the vector index in.