Glue / Client / start_export_labels_task_run

start_export_labels_task_run#

Glue.Client.start_export_labels_task_run(**kwargs)#

Begins an asynchronous task to export all labeled data for a particular transform. This task is the only label-related API call that is not part of the typical active learning workflow. You typically use StartExportLabelsTaskRun when you want to work with all of your existing labels at the same time, such as when you want to remove or change labels that were previously submitted as truth. This API operation accepts the TransformId whose labels you want to export and an Amazon Simple Storage Service (Amazon S3) path to export the labels to. The operation returns a TaskRunId. You can check on the status of your task run by calling the GetMLTaskRun API.

See also: AWS API Documentation

Request Syntax

response = client.start_export_labels_task_run(
    TransformId='string',
    OutputS3Path='string'
)
Parameters:
  • TransformId (string) –

    [REQUIRED]

    The unique identifier of the machine learning transform.

  • OutputS3Path (string) –

    [REQUIRED]

    The Amazon S3 path where you export the labels.

Return type:

dict

Returns:

Response Syntax

{
    'TaskRunId': 'string'
}

Response Structure

  • (dict) –

    • TaskRunId (string) –

      The unique identifier for the task run.

Exceptions

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.OperationTimeoutException

  • Glue.Client.exceptions.InternalServiceException