Bedrock / Paginator / ListModelImportJobs

ListModelImportJobs#

class Bedrock.Paginator.ListModelImportJobs#
paginator = client.get_paginator('list_model_import_jobs')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Bedrock.Client.list_model_import_jobs().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    creationTimeAfter=datetime(2015, 1, 1),
    creationTimeBefore=datetime(2015, 1, 1),
    statusEquals='InProgress'|'Completed'|'Failed',
    nameContains='string',
    sortBy='CreationTime',
    sortOrder='Ascending'|'Descending',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • creationTimeAfter (datetime) – Return import jobs that were created after the specified time.

  • creationTimeBefore (datetime) – Return import jobs that were created before the specified time.

  • statusEquals (string) – Return imported jobs with the specified status.

  • nameContains (string) – Return imported jobs only if the job name contains these characters.

  • sortBy (string) – The field to sort by in the returned list of imported jobs.

  • sortOrder (string) – Specifies whether to sort the results in ascending or descending order.

  • 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

{
    'modelImportJobSummaries': [
        {
            'jobArn': 'string',
            'jobName': 'string',
            'status': 'InProgress'|'Completed'|'Failed',
            'lastModifiedTime': datetime(2015, 1, 1),
            'creationTime': datetime(2015, 1, 1),
            'endTime': datetime(2015, 1, 1),
            'importedModelArn': 'string',
            'importedModelName': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • modelImportJobSummaries (list) –

      Import job summaries.

      • (dict) –

        Information about the import job.

        • jobArn (string) –

          The Amazon Resource Name (ARN) of the import job.

        • jobName (string) –

          The name of the import job.

        • status (string) –

          The status of the imported job.

        • lastModifiedTime (datetime) –

          The time when the import job was last modified.

        • creationTime (datetime) –

          The time import job was created.

        • endTime (datetime) –

          The time when import job ended.

        • importedModelArn (string) –

          The Amazon resource Name (ARN) of the imported model.

        • importedModelName (string) –

          The name of the imported model.

    • NextToken (string) –

      A token to resume pagination.