aws-sdk-s3vectors

Crates.ioaws-sdk-s3vectors
lib.rsaws-sdk-s3vectors
version1.8.0
created_at2025-07-16 03:14:52.257778+00
updated_at2025-08-29 20:27:18.224938+00
descriptionAWS SDK for Amazon S3 Vectors
homepage
repositoryhttps://github.com/awslabs/aws-sdk-rust
max_upload_size
id1754801
size1,447,099
AWS SDK Rust Bot (aws-sdk-rust-ci)

documentation

README

aws-sdk-s3vectors

Amazon S3 vector buckets are a bucket type to store and search vectors with sub-second search times. They are designed to provide dedicated API operations for you to interact with vectors to do similarity search. Within a vector bucket, you use a vector index to organize and logically group your vector data. When you make a write or read request, you direct it to a single vector index. You store your vector data as vectors. A vector contains a key (a name that you assign), a multi-dimensional vector, and, optionally, metadata that describes a vector. The key uniquely identifies the vector in a vector index.

Getting Started

Examples are available for many services and operations, check out the examples folder in GitHub.

The SDK provides one crate per AWS service. You must add Tokio as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-s3vectors to your project, add the following to your Cargo.toml file:

[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-s3vectors = "1.8.0"
tokio = { version = "1", features = ["full"] }

Then in code, a client can be created with the following:

use aws_sdk_s3vectors as s3vectors;

#[::tokio::main]
async fn main() -> Result<(), s3vectors::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_s3vectors::Client::new(&config);

    // ... make some calls with the client

    Ok(())
}

See the client documentation for information on what calls can be made, and the inputs and outputs for each of those calls.

Using the SDK

Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.

Getting Help

License

This project is licensed under the Apache-2.0 License.

Commit count: 2445

cargo fmt