LookoutforVision / Paginator / ListModelPackagingJobs

ListModelPackagingJobs#

class LookoutforVision.Paginator.ListModelPackagingJobs#
paginator = client.get_paginator('list_model_packaging_jobs')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from LookoutforVision.Client.list_model_packaging_jobs().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ProjectName='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ProjectName (string) –

    [REQUIRED]

    The name of the project for which you want to list the model packaging jobs.

  • 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

{
    'ModelPackagingJobs': [
        {
            'JobName': 'string',
            'ProjectName': 'string',
            'ModelVersion': 'string',
            'ModelPackagingJobDescription': 'string',
            'ModelPackagingMethod': 'string',
            'Status': 'CREATED'|'RUNNING'|'SUCCEEDED'|'FAILED',
            'StatusMessage': 'string',
            'CreationTimestamp': datetime(2015, 1, 1),
            'LastUpdatedTimestamp': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • ModelPackagingJobs (list) –

      A list of the model packaging jobs created for the specified Amazon Lookout for Vision project.

      • (dict) –

        Metadata for a model packaging job. For more information, see ListModelPackagingJobs.

        • JobName (string) –

          The name of the model packaging job.

        • ProjectName (string) –

          The project that contains the model that is in the model package.

        • ModelVersion (string) –

          The version of the model that is in the model package.

        • ModelPackagingJobDescription (string) –

          The description for the model packaging job.

        • ModelPackagingMethod (string) –

          The AWS service used to package the job. Currently Lookout for Vision can package jobs with AWS IoT Greengrass.

        • Status (string) –

          The status of the model packaging job.

        • StatusMessage (string) –

          The status message for the model packaging job.

        • CreationTimestamp (datetime) –

          The Unix timestamp for the time and date that the model packaging job was created.

        • LastUpdatedTimestamp (datetime) –

          The Unix timestamp for the time and date that the model packaging job was last updated.