:doc:`S3Vectors <../../s3vectors>` / Client / delete_index

************
delete_index
************



.. py:method:: S3Vectors.Client.delete_index(**kwargs)

  

  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 <https://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/DeleteIndex>`_  


  **Request Syntax**
  ::

    response = client.delete_index(
        vectorBucketName='string',
        indexName='string',
        indexArn='string'
    )
    
  :type vectorBucketName: string
  :param vectorBucketName: 

    The name of the vector bucket that contains the vector index.

    

  
  :type indexName: string
  :param indexName: 

    The name of the vector index to delete.

    

  
  :type indexArn: string
  :param indexArn: 

    The ARN of the vector index to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`S3Vectors.Client.exceptions.ValidationException`

  
  *   :py:class:`S3Vectors.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`S3Vectors.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`S3Vectors.Client.exceptions.InternalServerException`

  
  *   :py:class:`S3Vectors.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`S3Vectors.Client.exceptions.RequestTimeoutException`

  
  *   :py:class:`S3Vectors.Client.exceptions.NotFoundException`

  