listVectors
Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.
List vectors in the specified vector index. To specify the vector index, you can either use both the vector bucket name and the vector index name, or use the vector index Amazon Resource Name (ARN).
ListVectors
operations proceed sequentially; however, for faster performance on a large number of vectors in a vector index, applications can request a parallel ListVectors
operation by providing the segmentCount
and segmentIndex
parameters.
Permissions
You must have the s3vectors:ListVectors
permission to use this operation. Additional permissions are required based on the request parameters you specify:
With only
s3vectors:ListVectors
permission, you can list vector keys whenreturnData
andreturnMetadata
are both set to false or not specified..If you set
returnData
orreturnMetadata
to true, you must have boths3vectors:ListVectors
ands3vectors:GetVectors
permissions. The request fails with a403 Forbidden
error if you request vector data or metadata without thes3vectors:GetVectors
permission.