Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

ListReferenceImportJobs

class Omics.Paginator.ListReferenceImportJobs
paginator = client.get_paginator('list_reference_import_jobs')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    filter={
        'createdAfter': datetime(2015, 1, 1),
        'createdBefore': datetime(2015, 1, 1),
        'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLING'|'CANCELLED'|'FAILED'|'COMPLETED'|'COMPLETED_WITH_FAILURES'
    },
    referenceStoreId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • filter (dict) --

    A filter to apply to the list.

    • createdAfter (datetime) --

      The filter's start date.

    • createdBefore (datetime) --

      The filter's end date.

    • status (string) --

      A status to filter on.

  • referenceStoreId (string) --

    [REQUIRED]

    The job's reference store 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

{
    'importJobs': [
        {
            'completionTime': datetime(2015, 1, 1),
            'creationTime': datetime(2015, 1, 1),
            'id': 'string',
            'referenceStoreId': 'string',
            'roleArn': 'string',
            'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLING'|'CANCELLED'|'FAILED'|'COMPLETED'|'COMPLETED_WITH_FAILURES'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • importJobs (list) --

      A lis of jobs.

      • (dict) --

        An import reference job.

        • completionTime (datetime) --

          When the job completed.

        • creationTime (datetime) --

          When the job was created.

        • id (string) --

          The job's ID.

        • referenceStoreId (string) --

          The job's reference store ID.

        • roleArn (string) --

          The job's service role ARN.

        • status (string) --

          The job's status.

    • NextToken (string) --

      A token to resume pagination.