aws_sdk_s3vectors/client/
delete_vectors.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteVectors`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`vector_bucket_name(impl Into<String>)`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::vector_bucket_name) / [`set_vector_bucket_name(Option<String>)`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::set_vector_bucket_name):<br>required: **false**<br><p>The name of the vector bucket that contains the vector index.</p><br>
7    ///   - [`index_name(impl Into<String>)`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::set_index_name):<br>required: **false**<br><p>The name of the vector index that contains a vector you want to delete.</p><br>
8    ///   - [`index_arn(impl Into<String>)`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::index_arn) / [`set_index_arn(Option<String>)`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::set_index_arn):<br>required: **false**<br><p>The ARN of the vector index that contains a vector you want to delete.</p><br>
9    ///   - [`keys(impl Into<String>)`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::keys) / [`set_keys(Option<Vec::<String>>)`](crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::set_keys):<br>required: **true**<br><p>The keys of the vectors to delete.</p><br>
10    /// - On success, responds with [`DeleteVectorsOutput`](crate::operation::delete_vectors::DeleteVectorsOutput)
11    /// - On failure, responds with [`SdkError<DeleteVectorsError>`](crate::operation::delete_vectors::DeleteVectorsError)
12    pub fn delete_vectors(&self) -> crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder {
13        crate::operation::delete_vectors::builders::DeleteVectorsFluentBuilder::new(self.handle.clone())
14    }
15}