Omics / Paginator / ListRuns

ListRuns#

class Omics.Paginator.ListRuns#
paginator = client.get_paginator('list_runs')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Omics.Client.list_runs().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    name='string',
    runGroupId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • name (string) – Filter the list by run name.

  • runGroupId (string) – Filter the list by run group ID.

  • 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

{
    'items': [
        {
            'arn': 'string',
            'creationTime': datetime(2015, 1, 1),
            'id': 'string',
            'name': 'string',
            'priority': 123,
            'startTime': datetime(2015, 1, 1),
            'status': 'PENDING'|'STARTING'|'RUNNING'|'STOPPING'|'COMPLETED'|'DELETED'|'CANCELLED'|'FAILED',
            'stopTime': datetime(2015, 1, 1),
            'storageCapacity': 123,
            'workflowId': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      A list of runs.

      • (dict) –

        A workflow run.

        • arn (string) –

          The run’s ARN.

        • creationTime (datetime) –

          When the run was created.

        • id (string) –

          The run’s ID.

        • name (string) –

          The run’s name.

        • priority (integer) –

          The run’s priority.

        • startTime (datetime) –

          When the run started.

        • status (string) –

          The run’s status.

        • stopTime (datetime) –

          When the run stopped.

        • storageCapacity (integer) –

          The run’s storage capacity.

        • workflowId (string) –

          The run’s workflow ID.

    • NextToken (string) –

      A token to resume pagination.