Bedrock / Paginator / ListModelCustomizationJobs

ListModelCustomizationJobs#

class Bedrock.Paginator.ListModelCustomizationJobs#
paginator = client.get_paginator('list_model_customization_jobs')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Bedrock.Client.list_model_customization_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'|'Stopping'|'Stopped',
    nameContains='string',
    sortBy='CreationTime',
    sortOrder='Ascending'|'Descending',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • creationTimeAfter (datetime) – Return customization jobs created after the specified time.

  • creationTimeBefore (datetime) – Return customization jobs created before the specified time.

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

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

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

  • sortOrder (string) – The sort order of the results.

  • 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

{
    'modelCustomizationJobSummaries': [
        {
            'jobArn': 'string',
            'baseModelArn': 'string',
            'jobName': 'string',
            'status': 'InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped',
            'lastModifiedTime': datetime(2015, 1, 1),
            'creationTime': datetime(2015, 1, 1),
            'endTime': datetime(2015, 1, 1),
            'customModelArn': 'string',
            'customModelName': 'string',
            'customizationType': 'FINE_TUNING'|'CONTINUED_PRE_TRAINING'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • modelCustomizationJobSummaries (list) –

      Job summaries.

      • (dict) –

        Information about one customization job

        • jobArn (string) –

          ARN of the customization job.

        • baseModelArn (string) –

          ARN of the base model.

        • jobName (string) –

          Name of the customization job.

        • status (string) –

          Status of the customization job.

        • lastModifiedTime (datetime) –

          Time that the customization job was last modified.

        • creationTime (datetime) –

          Creation time of the custom model.

        • endTime (datetime) –

          Time that the customization job ended.

        • customModelArn (string) –

          ARN of the custom model.

        • customModelName (string) –

          Name of the custom model.

        • customizationType (string) –

          Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.

    • NextToken (string) –

      A token to resume pagination.