:doc:`AmplifyUIBuilder <../../amplifyuibuilder>` / Client / list_themes

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



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

  

  Retrieves a list of themes for a specified Amplify app and backend environment.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListThemes>`_  


  **Request Syntax**
  ::

    response = client.list_themes(
        appId='string',
        environmentName='string',
        nextToken='string',
        maxResults=123
    )
    
  :type appId: string
  :param appId: **[REQUIRED]** 

    The unique ID for the Amplify app.

    

  
  :type environmentName: string
  :param environmentName: **[REQUIRED]** 

    The name of the backend environment that is a part of the Amplify app.

    

  
  :type nextToken: string
  :param nextToken: 

    The token to request the next page of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of theme results to return in the response.

    

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

    
    ::

      {
          'entities': [
              {
                  'appId': 'string',
                  'environmentName': 'string',
                  'id': 'string',
                  'name': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **entities** *(list) --* 

        The list of themes for the Amplify app.

        
        

        - *(dict) --* 

          Describes the basic information about a theme.

          
          

          - **appId** *(string) --* 

            The unique ID for the app associated with the theme summary.

            
          

          - **environmentName** *(string) --* 

            The name of the backend environment that is part of the Amplify app.

            
          

          - **id** *(string) --* 

            The ID of the theme.

            
          

          - **name** *(string) --* 

            The name of the theme.

            
      
    
      

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

        The pagination token that's returned if more results are available.

        
  
  **Exceptions**
  
  *   :py:class:`AmplifyUIBuilder.Client.exceptions.InternalServerException`

  
  *   :py:class:`AmplifyUIBuilder.Client.exceptions.InvalidParameterException`

  