Personalize / Client / list_solution_versions
list_solution_versions#
- Personalize.Client.list_solution_versions(**kwargs)#
- Returns a list of solution versions for the given solution. When a solution is not specified, all the solution versions associated with the account are listed. The response provides the properties for each solution version, including the Amazon Resource Name (ARN). - See also: AWS API Documentation - Request Syntax- response = client.list_solution_versions( solutionArn='string', nextToken='string', maxResults=123 ) - Parameters:
- solutionArn (string) – The Amazon Resource Name (ARN) of the solution. 
- nextToken (string) – A token returned from the previous call to - ListSolutionVersionsfor getting the next set of solution versions (if they exist).
- maxResults (integer) – The maximum number of solution versions to return. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'solutionVersions': [ { 'solutionVersionArn': 'string', 'status': 'string', 'creationDateTime': datetime(2015, 1, 1), 'lastUpdatedDateTime': datetime(2015, 1, 1), 'failureReason': 'string' }, ], 'nextToken': 'string' } - Response Structure- (dict) – - solutionVersions (list) – - A list of solution versions describing the version properties. - (dict) – - Provides a summary of the properties of a solution version. For a complete listing, call the DescribeSolutionVersion API. - solutionVersionArn (string) – - The Amazon Resource Name (ARN) of the solution version. 
- status (string) – - The status of the solution version. - A solution version can be in one of the following states: - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED 
 
- creationDateTime (datetime) – - The date and time (in Unix time) that this version of a solution was created. 
- lastUpdatedDateTime (datetime) – - The date and time (in Unix time) that the solution version was last updated. 
- failureReason (string) – - If a solution version fails, the reason behind the failure. 
 
 
- nextToken (string) – - A token for getting the next set of solution versions (if they exist). 
 
 
 - Exceptions- Personalize.Client.exceptions.InvalidInputException
- Personalize.Client.exceptions.ResourceNotFoundException
- Personalize.Client.exceptions.InvalidNextTokenException