VectorsWrite
Source:
src/AWS/S3Vectors/VectorsWrite.ts
Write-only runtime binding for the S3 Vectors data plane — insert and
delete vectors in a bound Index.
Grants only s3vectors:PutVectors and s3vectors:DeleteVectors on
exactly the bound index’s ARN — the least-privilege choice for ingestion
pipelines that write embeddings but never query them. Provide the
implementation with Effect.provide(AWS.S3Vectors.VectorsWriteHttp).
Writing Vectors
Section titled “Writing Vectors”// initconst vectors = yield* AWS.S3Vectors.VectorsWrite(index);
// runtimeyield* vectors.put({ vectors: [{ key: "doc-1", data: { float32: [0.1, 0.2, 0.3] } }],});