AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeStateMachineForExecutionAsync.

Namespace: Amazon.StepFunctions
Assembly: AWSSDK.StepFunctions.dll
Version: 3.x.y.z

Syntax

C#
public abstract DescribeStateMachineForExecutionResponse DescribeStateMachineForExecution(
         DescribeStateMachineForExecutionRequest request
)

Parameters

request
Type: Amazon.StepFunctions.Model.DescribeStateMachineForExecutionRequest

Container for the necessary parameters to execute the DescribeStateMachineForExecution service method.

Return Value


The response from the DescribeStateMachineForExecution service method, as returned by StepFunctions.

Exceptions

ExceptionCondition
ExecutionDoesNotExistException The specified execution does not exist.
InvalidArnException The provided Amazon Resource Name (ARN) is not valid.
KmsAccessDeniedException Either your KMS key policy or API caller does not have the required permissions.
KmsInvalidStateException The KMS key is not in valid state, for example: Disabled or Deleted.
KmsThrottlingException Received when KMS returns ThrottlingException for a KMS call that Step Functions makes on behalf of the caller.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also