import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListMapRunsInput, ListMapRunsOutput } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListMapRunsCommand}. */ export interface ListMapRunsCommandInput extends ListMapRunsInput { } /** * @public * * The output of {@link ListMapRunsCommand}. */ export interface ListMapRunsCommandOutput extends ListMapRunsOutput, __MetadataBearer { } declare const ListMapRunsCommand_base: { new (input: ListMapRunsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListMapRunsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists all Map Runs that were started by a given state machine execution. Use this API action to obtain Map Run ARNs, and then call DescribeMapRun to obtain more information, if needed.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SFNClient, ListMapRunsCommand } from "@aws-sdk/client-sfn"; // ES Modules import * // const { SFNClient, ListMapRunsCommand } = require("@aws-sdk/client-sfn"); // CommonJS import * // import type { SFNClientConfig } from "@aws-sdk/client-sfn"; * const config = {}; // type is SFNClientConfig * const client = new SFNClient(config); * const input = { // ListMapRunsInput * executionArn: "STRING_VALUE", // required * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListMapRunsCommand(input); * const response = await client.send(command); * // { // ListMapRunsOutput * // mapRuns: [ // MapRunList // required * // { // MapRunListItem * // executionArn: "STRING_VALUE", // required * // mapRunArn: "STRING_VALUE", // required * // stateMachineArn: "STRING_VALUE", // required * // startDate: new Date("TIMESTAMP"), // required * // stopDate: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListMapRunsCommandInput - {@link ListMapRunsCommandInput} * @returns {@link ListMapRunsCommandOutput} * @see {@link ListMapRunsCommandInput} for command's `input` shape. * @see {@link ListMapRunsCommandOutput} for command's `response` shape. * @see {@link SFNClientResolvedConfig | config} for SFNClient's `config` shape. * * @throws {@link ExecutionDoesNotExist} (client fault) *

The specified execution does not exist.

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

The provided Amazon Resource Name (ARN) is not valid.

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

The provided token is not valid.

* * @throws {@link SFNServiceException} *

Base exception class for all service exceptions from SFN service.

* * * @public */ export declare class ListMapRunsCommand extends ListMapRunsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListMapRunsInput; output: ListMapRunsOutput; }; sdk: { input: ListMapRunsCommandInput; output: ListMapRunsCommandOutput; }; }; }