:doc:`QuickSight <../../quicksight>` / Client / list_themes

***********
list_themes
***********



.. py:method:: QuickSight.Client.list_themes(**kwargs)

  

  Lists all the themes in the current Amazon Web Services account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes>`_  


  **Request Syntax**
  ::

    response = client.list_themes(
        AwsAccountId='string',
        NextToken='string',
        MaxResults=123,
        Type='QUICKSIGHT'|'CUSTOM'|'ALL'
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID of the Amazon Web Services account that contains the themes that you're listing.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next set of results, or null if there are no more results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to be returned per request.

    

  
  :type Type: string
  :param Type: 

    The type of themes that you want to list. Valid options include the following:

     

    
    * ``ALL (default)``- Display all existing themes.
     
    * ``CUSTOM`` - Display only the themes created by people using Amazon Quick Sight.
     
    * ``QUICKSIGHT`` - Display only the starting themes defined by Quick Sight.
    

    

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

    
    ::

      {
          'ThemeSummaryList': [
              {
                  'Arn': 'string',
                  'Name': 'string',
                  'ThemeId': 'string',
                  'LatestVersionNumber': 123,
                  'CreatedTime': datetime(2015, 1, 1),
                  'LastUpdatedTime': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string',
          'Status': 123,
          'RequestId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ThemeSummaryList** *(list) --* 

        Information about the themes in the list.

        
        

        - *(dict) --* 

          The theme summary.

          
          

          - **Arn** *(string) --* 

            The Amazon Resource Name (ARN) of the resource.

            
          

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

            the display name for the theme.

            
          

          - **ThemeId** *(string) --* 

            The ID of the theme. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

            
          

          - **LatestVersionNumber** *(integer) --* 

            The latest version number for the theme.

            
          

          - **CreatedTime** *(datetime) --* 

            The date and time that this theme was created.

            
          

          - **LastUpdatedTime** *(datetime) --* 

            The last date and time that this theme was updated.

            
      
    
      

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

        The token for the next set of results, or null if there are no more results.

        
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

        
  
  **Exceptions**
  
  *   :py:class:`QuickSight.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidNextTokenException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`QuickSight.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QuickSight.Client.exceptions.UnsupportedUserEditionException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  