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

Deletes a state machine. This is an asynchronous operation. It sets the state machine's * status to DELETING and begins the deletion process. A state machine is deleted only when all its executions are completed. On the next state transition, the state machine's executions are terminated.

*

A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN.

*

The following are some examples of qualified and unqualified state machine ARNs:

* *

This API action also deletes all versions and aliases associated with a state machine.

* *

For EXPRESS state machines, the deletion happens eventually (usually in * less than a minute). Running executions may emit logs after DeleteStateMachine * API is called.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SFNClient, DeleteStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import * // const { SFNClient, DeleteStateMachineCommand } = 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 = { // DeleteStateMachineInput * stateMachineArn: "STRING_VALUE", // required * }; * const command = new DeleteStateMachineCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteStateMachineCommandInput - {@link DeleteStateMachineCommandInput} * @returns {@link DeleteStateMachineCommandOutput} * @see {@link DeleteStateMachineCommandInput} for command's `input` shape. * @see {@link DeleteStateMachineCommandOutput} for command's `response` shape. * @see {@link SFNClientResolvedConfig | config} for SFNClient's `config` shape. * * @throws {@link InvalidArn} (client fault) *

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

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

The input does not satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link SFNServiceException} *

Base exception class for all service exceptions from SFN service.

* * * @public */ export declare class DeleteStateMachineCommand extends DeleteStateMachineCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteStateMachineInput; output: {}; }; sdk: { input: DeleteStateMachineCommandInput; output: DeleteStateMachineCommandOutput; }; }; }