GlueClient.start_import_labels_task_run
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Enables you to provide additional labels (examples of truth) to be used to teach the machine learning transform and improve its quality. This API operation is generally used as part of the active learning workflow that starts with the StartMLLabelingSetGenerationTaskRun call and that ultimately results in improving the quality of your machine learning transform. After the...
Install and imports
Signature
async def start_import_labels_task_run(
*,
transform_id: str,
input_s3_path: str,
replace_all_labels: bool | None = None,
) -> StartImportLabelsTaskRunOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
transform_id |
Yes | The unique identifier of the machine learning transform. |
input_s3_path |
Yes | The Amazon Simple Storage Service (Amazon S3) path from where you import the labels. |
replace_all_labels |
No | Indicates whether to overwrite your existing labels. |
Output
StartImportLabelsTaskRunOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
task_run_id |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
StartImportLabelsTaskRunOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_glue.exceptions:
EntityNotFoundError, InternalServiceError, InvalidInputError, OperationTimeoutError, ResourceNumberLimitExceededError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.