S3Vectors / Client / delete_index

delete_index

S3Vectors.Client.delete_index(**kwargs)

Note

Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.

Deletes a vector index. To specify the vector index, you can either use both the vector bucket name and vector index name, or use the vector index Amazon Resource Name (ARN).

Permissions

You must have the s3vectors:DeleteIndex permission to use this operation.

See also: AWS API Documentation

Request Syntax

response = client.delete_index(
    vectorBucketName='string',
    indexName='string',
    indexArn='string'
)
Parameters:
  • vectorBucketName (string) – The name of the vector bucket that contains the vector index.

  • indexName (string) – The name of the vector index to delete.

  • indexArn (string) – The ARN of the vector index to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions