SageMaker / Client / list_compilation_jobs

list_compilation_jobs#

SageMaker.Client.list_compilation_jobs(**kwargs)#

Lists model compilation jobs that satisfy various filters.

To create a model compilation job, use CreateCompilationJob. To get information about a particular model compilation job you have created, use DescribeCompilationJob.

See also: AWS API Documentation

Request Syntax

response = client.list_compilation_jobs(
    NextToken='string',
    MaxResults=123,
    CreationTimeAfter=datetime(2015, 1, 1),
    CreationTimeBefore=datetime(2015, 1, 1),
    LastModifiedTimeAfter=datetime(2015, 1, 1),
    LastModifiedTimeBefore=datetime(2015, 1, 1),
    NameContains='string',
    StatusEquals='INPROGRESS'|'COMPLETED'|'FAILED'|'STARTING'|'STOPPING'|'STOPPED',
    SortBy='Name'|'CreationTime'|'Status',
    SortOrder='Ascending'|'Descending'
)
Parameters:
  • NextToken (string) – If the result of the previous ListCompilationJobs request was truncated, the response includes a NextToken. To retrieve the next set of model compilation jobs, use the token in the next request.

  • MaxResults (integer) – The maximum number of model compilation jobs to return in the response.

  • CreationTimeAfter (datetime) – A filter that returns the model compilation jobs that were created after a specified time.

  • CreationTimeBefore (datetime) – A filter that returns the model compilation jobs that were created before a specified time.

  • LastModifiedTimeAfter (datetime) – A filter that returns the model compilation jobs that were modified after a specified time.

  • LastModifiedTimeBefore (datetime) – A filter that returns the model compilation jobs that were modified before a specified time.

  • NameContains (string) – A filter that returns the model compilation jobs whose name contains a specified string.

  • StatusEquals (string) – A filter that retrieves model compilation jobs with a specific CompilationJobStatus status.

  • SortBy (string) – The field by which to sort results. The default is CreationTime.

  • SortOrder (string) – The sort order for results. The default is Ascending.

Return type:

dict

Returns:

Response Syntax

{
    'CompilationJobSummaries': [
        {
            'CompilationJobName': 'string',
            'CompilationJobArn': 'string',
            'CreationTime': datetime(2015, 1, 1),
            'CompilationStartTime': datetime(2015, 1, 1),
            'CompilationEndTime': datetime(2015, 1, 1),
            'CompilationTargetDevice': 'lambda'|'ml_m4'|'ml_m5'|'ml_m6g'|'ml_c4'|'ml_c5'|'ml_c6g'|'ml_p2'|'ml_p3'|'ml_g4dn'|'ml_inf1'|'ml_inf2'|'ml_trn1'|'ml_eia2'|'jetson_tx1'|'jetson_tx2'|'jetson_nano'|'jetson_xavier'|'rasp3b'|'rasp4b'|'imx8qm'|'deeplens'|'rk3399'|'rk3288'|'aisage'|'sbe_c'|'qcs605'|'qcs603'|'sitara_am57x'|'amba_cv2'|'amba_cv22'|'amba_cv25'|'x86_win32'|'x86_win64'|'coreml'|'jacinto_tda4vm'|'imx8mplus',
            'CompilationTargetPlatformOs': 'ANDROID'|'LINUX',
            'CompilationTargetPlatformArch': 'X86_64'|'X86'|'ARM64'|'ARM_EABI'|'ARM_EABIHF',
            'CompilationTargetPlatformAccelerator': 'INTEL_GRAPHICS'|'MALI'|'NVIDIA'|'NNA',
            'LastModifiedTime': datetime(2015, 1, 1),
            'CompilationJobStatus': 'INPROGRESS'|'COMPLETED'|'FAILED'|'STARTING'|'STOPPING'|'STOPPED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • CompilationJobSummaries (list) –

      An array of CompilationJobSummary objects, each describing a model compilation job.

      • (dict) –

        A summary of a model compilation job.

        • CompilationJobName (string) –

          The name of the model compilation job that you want a summary for.

        • CompilationJobArn (string) –

          The Amazon Resource Name (ARN) of the model compilation job.

        • CreationTime (datetime) –

          The time when the model compilation job was created.

        • CompilationStartTime (datetime) –

          The time when the model compilation job started.

        • CompilationEndTime (datetime) –

          The time when the model compilation job completed.

        • CompilationTargetDevice (string) –

          The type of device that the model will run on after the compilation job has completed.

        • CompilationTargetPlatformOs (string) –

          The type of OS that the model will run on after the compilation job has completed.

        • CompilationTargetPlatformArch (string) –

          The type of architecture that the model will run on after the compilation job has completed.

        • CompilationTargetPlatformAccelerator (string) –

          The type of accelerator that the model will run on after the compilation job has completed.

        • LastModifiedTime (datetime) –

          The time when the model compilation job was last modified.

        • CompilationJobStatus (string) –

          The status of the model compilation job.

    • NextToken (string) –

      If the response is truncated, Amazon SageMaker AI returns this NextToken. To retrieve the next set of model compilation jobs, use this token in the next request.