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

Provides information about a state machine's definition, its execution role ARN, and * configuration. If a Map Run dispatched the execution, this action returns the Map Run * Amazon Resource Name (ARN) in the response. The state machine returned is the state machine associated with the * Map Run.

* *

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

*
*

This API action is not supported by EXPRESS state machines.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SFNClient, DescribeStateMachineForExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import * // const { SFNClient, DescribeStateMachineForExecutionCommand } = 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 = { // DescribeStateMachineForExecutionInput * executionArn: "STRING_VALUE", // required * includedData: "ALL_DATA" || "METADATA_ONLY", * }; * const command = new DescribeStateMachineForExecutionCommand(input); * const response = await client.send(command); * // { // DescribeStateMachineForExecutionOutput * // stateMachineArn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // definition: "STRING_VALUE", // required * // roleArn: "STRING_VALUE", // required * // updateDate: new Date("TIMESTAMP"), // required * // loggingConfiguration: { // LoggingConfiguration * // level: "ALL" || "ERROR" || "FATAL" || "OFF", * // includeExecutionData: true || false, * // destinations: [ // LogDestinationList * // { // LogDestination * // cloudWatchLogsLogGroup: { // CloudWatchLogsLogGroup * // logGroupArn: "STRING_VALUE", * // }, * // }, * // ], * // }, * // tracingConfiguration: { // TracingConfiguration * // enabled: true || false, * // }, * // mapRunArn: "STRING_VALUE", * // label: "STRING_VALUE", * // revisionId: "STRING_VALUE", * // encryptionConfiguration: { // EncryptionConfiguration * // kmsKeyId: "STRING_VALUE", * // kmsDataKeyReusePeriodSeconds: Number("int"), * // type: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KMS_KEY", // required * // }, * // variableReferences: { // VariableReferences * // "": [ // VariableNameList * // "STRING_VALUE", * // ], * // }, * // }; * * ``` * * @param DescribeStateMachineForExecutionCommandInput - {@link DescribeStateMachineForExecutionCommandInput} * @returns {@link DescribeStateMachineForExecutionCommandOutput} * @see {@link DescribeStateMachineForExecutionCommandInput} for command's `input` shape. * @see {@link DescribeStateMachineForExecutionCommandOutput} 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 KmsAccessDeniedException} (client fault) *

Either your KMS key policy or API caller does not have the required permissions.

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

The KMS key is not in valid state, for example: Disabled or Deleted.

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

Received when KMS returns ThrottlingException for a KMS call that Step Functions makes on behalf of the caller.

* * @throws {@link SFNServiceException} *

Base exception class for all service exceptions from SFN service.

* * * @public */ export declare class DescribeStateMachineForExecutionCommand extends DescribeStateMachineForExecutionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeStateMachineForExecutionInput; output: DescribeStateMachineForExecutionOutput; }; sdk: { input: DescribeStateMachineForExecutionCommandInput; output: DescribeStateMachineForExecutionCommandOutput; }; }; }