:doc:`Personalize <../../personalize>` / Client / list_solutions

**************
list_solutions
**************



.. py:method:: Personalize.Client.list_solutions(**kwargs)

  

  Returns a list of solutions in a given dataset group. When a dataset group is not specified, all the solutions associated with the account are listed. The response provides the properties for each solution, including the Amazon Resource Name (ARN). For more information on solutions, see `CreateSolution <https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolution.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutions>`_  


  **Request Syntax**
  ::

    response = client.list_solutions(
        datasetGroupArn='string',
        nextToken='string',
        maxResults=123
    )
    
  :type datasetGroupArn: string
  :param datasetGroupArn: 

    The Amazon Resource Name (ARN) of the dataset group.

    

  
  :type nextToken: string
  :param nextToken: 

    A token returned from the previous call to ``ListSolutions`` for getting the next set of solutions (if they exist).

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of solutions to return.

    

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

    
    ::

      {
          'solutions': [
              {
                  'name': 'string',
                  'solutionArn': 'string',
                  'status': 'string',
                  'creationDateTime': datetime(2015, 1, 1),
                  'lastUpdatedDateTime': datetime(2015, 1, 1),
                  'recipeArn': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **solutions** *(list) --* 

        A list of the current solutions.

        
        

        - *(dict) --* 

          Provides a summary of the properties of a solution. For a complete listing, call the `DescribeSolution <https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html>`__ API.

          
          

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

            The name of the solution.

            
          

          - **solutionArn** *(string) --* 

            The Amazon Resource Name (ARN) of the solution.

            
          

          - **status** *(string) --* 

            The status of the solution.

             

            A solution can be in one of the following states:

             

            
            * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
             
            * DELETE PENDING > DELETE IN_PROGRESS
            

            
          

          - **creationDateTime** *(datetime) --* 

            The date and time (in Unix time) that the solution was created.

            
          

          - **lastUpdatedDateTime** *(datetime) --* 

            The date and time (in Unix time) that the solution was last updated.

            
          

          - **recipeArn** *(string) --* 

            The Amazon Resource Name (ARN) of the recipe used by the solution.

            
      
    
      

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

        A token for getting the next set of solutions (if they exist).

        
  
  **Exceptions**
  
  *   :py:class:`Personalize.Client.exceptions.InvalidInputException`

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

  