import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { StartMLLabelingSetGenerationTaskRunRequest, StartMLLabelingSetGenerationTaskRunResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartMLLabelingSetGenerationTaskRunCommand}. */ export interface StartMLLabelingSetGenerationTaskRunCommandInput extends StartMLLabelingSetGenerationTaskRunRequest { } /** * @public * * The output of {@link StartMLLabelingSetGenerationTaskRunCommand}. */ export interface StartMLLabelingSetGenerationTaskRunCommandOutput extends StartMLLabelingSetGenerationTaskRunResponse, __MetadataBearer { } declare const StartMLLabelingSetGenerationTaskRunCommand_base: { new (input: StartMLLabelingSetGenerationTaskRunCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartMLLabelingSetGenerationTaskRunCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Starts the active learning workflow for your machine learning transform to improve the * transform's quality by generating label sets and adding labels.

*

When the StartMLLabelingSetGenerationTaskRun finishes, Glue will have * generated a "labeling set" or a set of questions for humans to answer.

*

In the case of the FindMatches transform, these questions are of the form, * “What is the correct way to group these rows together into groups composed entirely of * matching records?”

*

After the labeling process is finished, you can upload your labels with a call to * StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes, * all future runs of the machine learning transform will use the new and improved labels and * perform a higher-quality transformation.

*

Note: The role used to write the generated labeling set to the OutputS3Path is the role * associated with the Machine Learning Transform, specified in the CreateMLTransform API.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, StartMLLabelingSetGenerationTaskRunCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, StartMLLabelingSetGenerationTaskRunCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // StartMLLabelingSetGenerationTaskRunRequest * TransformId: "STRING_VALUE", // required * OutputS3Path: "STRING_VALUE", // required * }; * const command = new StartMLLabelingSetGenerationTaskRunCommand(input); * const response = await client.send(command); * // { // StartMLLabelingSetGenerationTaskRunResponse * // TaskRunId: "STRING_VALUE", * // }; * * ``` * * @param StartMLLabelingSetGenerationTaskRunCommandInput - {@link StartMLLabelingSetGenerationTaskRunCommandInput} * @returns {@link StartMLLabelingSetGenerationTaskRunCommandOutput} * @see {@link StartMLLabelingSetGenerationTaskRunCommandInput} for command's `input` shape. * @see {@link StartMLLabelingSetGenerationTaskRunCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link ConcurrentRunsExceededException} (client fault) *

Too many jobs are being run concurrently.

* * @throws {@link EntityNotFoundException} (client fault) *

A specified entity does not exist

* * @throws {@link InternalServiceException} (server fault) *

An internal service error occurred.

* * @throws {@link InvalidInputException} (client fault) *

The input provided was not valid.

* * @throws {@link OperationTimeoutException} (client fault) *

The operation timed out.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class StartMLLabelingSetGenerationTaskRunCommand extends StartMLLabelingSetGenerationTaskRunCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartMLLabelingSetGenerationTaskRunRequest; output: StartMLLabelingSetGenerationTaskRunResponse; }; sdk: { input: StartMLLabelingSetGenerationTaskRunCommandInput; output: StartMLLabelingSetGenerationTaskRunCommandOutput; }; }; }