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

*******************
list_vector_buckets
*******************



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

  

  Returns a list of all the vector buckets that are owned by the authenticated sender of the request.

    Permissions  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/ListVectorBuckets>`_  


  **Request Syntax**
  ::

    response = client.list_vector_buckets(
        maxResults=123,
        nextToken='string',
        prefix='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of vector buckets to be returned in the response.

    

  
  :type nextToken: string
  :param nextToken: 

    The previous pagination token.

    

  
  :type prefix: string
  :param prefix: 

    Limits the response to vector buckets that begin with the specified prefix.

    

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

    
    ::

      {
          'nextToken': 'string',
          'vectorBuckets': [
              {
                  'vectorBucketName': 'string',
                  'vectorBucketArn': 'string',
                  'creationTime': datetime(2015, 1, 1)
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **nextToken** *(string) --* 

        The element is included in the response when there are more buckets to be listed with pagination.

        
      

      - **vectorBuckets** *(list) --* 

        The list of vector buckets owned by the requester.

        
        

        - *(dict) --* 

          Summary information about a vector bucket.

          
          

          - **vectorBucketName** *(string) --* 

            The name of the vector bucket.

            
          

          - **vectorBucketArn** *(string) --* 

            The Amazon Resource Name (ARN) of the vector bucket.

            
          

          - **creationTime** *(datetime) --* 

            Date and time when the vector bucket was created.

            
      
    
  
  **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`

  