:doc:`AmplifyBackend <../../amplifybackend>` / Client / list_s3_buckets

***************
list_s3_buckets
***************



.. py:method:: AmplifyBackend.Client.list_s3_buckets(**kwargs)

  

  The list of S3 buckets in your account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets>`_  


  **Request Syntax**
  ::

    response = client.list_s3_buckets(
        NextToken='string'
    )
    
  :type NextToken: string
  :param NextToken: 

    Reserved for future use.

    

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

    
    ::

      {
          'Buckets': [
              {
                  'CreationDate': 'string',
                  'Name': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

      - **Buckets** *(list) --* 

        The list of S3 buckets.

        
        

        - *(dict) --* 

          Describes the metadata of the S3 bucket.

          
          

          - **CreationDate** *(string) --* 

            The creation date of the S3 bucket.

            
          

          - **Name** *(string) --* 

            The name of the S3 bucket.

            
      
    
      

      - **NextToken** *(string) --* 

        Reserved for future use.

        
  
  **Exceptions**
  
  *   :py:class:`AmplifyBackend.Client.exceptions.NotFoundException`

  
  *   :py:class:`AmplifyBackend.Client.exceptions.GatewayTimeoutException`

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

  
  *   :py:class:`AmplifyBackend.Client.exceptions.BadRequestException`

  