import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListStateMachinesInput, ListStateMachinesOutput } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListStateMachinesCommand}. */ export interface ListStateMachinesCommandInput extends ListStateMachinesInput { } /** * @public * * The output of {@link ListStateMachinesCommand}. */ export interface ListStateMachinesCommandOutput extends ListStateMachinesOutput, __MetadataBearer { } declare const ListStateMachinesCommand_base: { new (input: ListStateMachinesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListStateMachinesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists the existing state machines.

*

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

* *

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SFNClient, ListStateMachinesCommand } from "@aws-sdk/client-sfn"; // ES Modules import * // const { SFNClient, ListStateMachinesCommand } = 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 = { // ListStateMachinesInput * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListStateMachinesCommand(input); * const response = await client.send(command); * // { // ListStateMachinesOutput * // stateMachines: [ // StateMachineList // required * // { // StateMachineListItem * // stateMachineArn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // type: "STANDARD" || "EXPRESS", // required * // creationDate: new Date("TIMESTAMP"), // required * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListStateMachinesCommandInput - {@link ListStateMachinesCommandInput} * @returns {@link ListStateMachinesCommandOutput} * @see {@link ListStateMachinesCommandInput} for command's `input` shape. * @see {@link ListStateMachinesCommandOutput} for command's `response` shape. * @see {@link SFNClientResolvedConfig | config} for SFNClient's `config` shape. * * @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 ListStateMachinesCommand extends ListStateMachinesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListStateMachinesInput; output: ListStateMachinesOutput; }; sdk: { input: ListStateMachinesCommandInput; output: ListStateMachinesCommandOutput; }; }; }