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 { StartExportLabelsTaskRunRequest, StartExportLabelsTaskRunResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartExportLabelsTaskRunCommand}. */ export interface StartExportLabelsTaskRunCommandInput extends StartExportLabelsTaskRunRequest { } /** * @public * * The output of {@link StartExportLabelsTaskRunCommand}. */ export interface StartExportLabelsTaskRunCommandOutput extends StartExportLabelsTaskRunResponse, __MetadataBearer { } declare const StartExportLabelsTaskRunCommand_base: { new (input: StartExportLabelsTaskRunCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartExportLabelsTaskRunCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, StartExportLabelsTaskRunCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, StartExportLabelsTaskRunCommand } = 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 = { // StartExportLabelsTaskRunRequest * TransformId: "STRING_VALUE", // required * OutputS3Path: "STRING_VALUE", // required * }; * const command = new StartExportLabelsTaskRunCommand(input); * const response = await client.send(command); * // { // StartExportLabelsTaskRunResponse * // TaskRunId: "STRING_VALUE", * // }; * * ``` * * @param StartExportLabelsTaskRunCommandInput - {@link StartExportLabelsTaskRunCommandInput} * @returns {@link StartExportLabelsTaskRunCommandOutput} * @see {@link StartExportLabelsTaskRunCommandInput} for command's `input` shape. * @see {@link StartExportLabelsTaskRunCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @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 StartExportLabelsTaskRunCommand extends StartExportLabelsTaskRunCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartExportLabelsTaskRunRequest; output: StartExportLabelsTaskRunResponse; }; sdk: { input: StartExportLabelsTaskRunCommandInput; output: StartExportLabelsTaskRunCommandOutput; }; }; }