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

Gets a list of runs for a machine learning transform. Machine learning task runs are * asynchronous tasks that Glue runs on your behalf as part of various machine learning * workflows. You can get a sortable, filterable list of machine learning task runs by calling * GetMLTaskRuns with their parent transform's TransformID and other * optional parameters as documented in this section.

*

This operation returns a list of historic runs and must be paginated.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetMLTaskRunsCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetMLTaskRunsCommand } = 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 = { // GetMLTaskRunsRequest * TransformId: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * Filter: { // TaskRunFilterCriteria * TaskRunType: "EVALUATION" || "LABELING_SET_GENERATION" || "IMPORT_LABELS" || "EXPORT_LABELS" || "FIND_MATCHES", * Status: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT", * StartedBefore: new Date("TIMESTAMP"), * StartedAfter: new Date("TIMESTAMP"), * }, * Sort: { // TaskRunSortCriteria * Column: "TASK_RUN_TYPE" || "STATUS" || "STARTED", // required * SortDirection: "DESCENDING" || "ASCENDING", // required * }, * }; * const command = new GetMLTaskRunsCommand(input); * const response = await client.send(command); * // { // GetMLTaskRunsResponse * // TaskRuns: [ // TaskRunList * // { // TaskRun * // TransformId: "STRING_VALUE", * // TaskRunId: "STRING_VALUE", * // Status: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT", * // LogGroupName: "STRING_VALUE", * // Properties: { // TaskRunProperties * // TaskType: "EVALUATION" || "LABELING_SET_GENERATION" || "IMPORT_LABELS" || "EXPORT_LABELS" || "FIND_MATCHES", * // ImportLabelsTaskRunProperties: { // ImportLabelsTaskRunProperties * // InputS3Path: "STRING_VALUE", * // Replace: true || false, * // }, * // ExportLabelsTaskRunProperties: { // ExportLabelsTaskRunProperties * // OutputS3Path: "STRING_VALUE", * // }, * // LabelingSetGenerationTaskRunProperties: { // LabelingSetGenerationTaskRunProperties * // OutputS3Path: "STRING_VALUE", * // }, * // FindMatchesTaskRunProperties: { // FindMatchesTaskRunProperties * // JobId: "STRING_VALUE", * // JobName: "STRING_VALUE", * // JobRunId: "STRING_VALUE", * // }, * // }, * // ErrorString: "STRING_VALUE", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), * // ExecutionTime: Number("int"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetMLTaskRunsCommandInput - {@link GetMLTaskRunsCommandInput} * @returns {@link GetMLTaskRunsCommandOutput} * @see {@link GetMLTaskRunsCommandInput} for command's `input` shape. * @see {@link GetMLTaskRunsCommandOutput} 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 GetMLTaskRunsCommand extends GetMLTaskRunsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetMLTaskRunsRequest; output: GetMLTaskRunsResponse; }; sdk: { input: GetMLTaskRunsCommandInput; output: GetMLTaskRunsCommandOutput; }; }; }