ListSolutions

class Personalize.Paginator.ListSolutions
paginator = client.get_paginator('list_solutions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Personalize.Client.list_solutions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    datasetGroupArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • datasetGroupArn (string) -- The Amazon Resource Name (ARN) of the dataset group.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

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 to resume pagination.