Personalize / Client / list_solutions
list_solutions#
- Personalize.Client.list_solutions(**kwargs)#
Returns a list of solutions that use the 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.
See also: AWS API Documentation
Request Syntax
response = client.list_solutions( datasetGroupArn='string', nextToken='string', maxResults=123 )
- Parameters:
datasetGroupArn (string) – The Amazon Resource Name (ARN) of the dataset group.
nextToken (string) – A token returned from the previous call to
ListSolutions
for getting the next set of solutions (if they exist).maxResults (integer) – The maximum number of solutions to return.
- Return type:
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 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
Personalize.Client.exceptions.InvalidInputException
Personalize.Client.exceptions.InvalidNextTokenException