Skip to content

/AWS1/CL_SFN=>DESCRIBESTATEMACHINEFOREXEC()

About DescribeStateMachineForExecution

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.

Method Signature

IMPORTING

Required arguments:

IV_EXECUTIONARN TYPE /AWS1/SFNARN /AWS1/SFNARN

The Amazon Resource Name (ARN) of the execution you want state machine information for.

Optional arguments:

IV_INCLUDEDDATA TYPE /AWS1/SFNINCLUDEDDATA /AWS1/SFNINCLUDEDDATA

If your state machine definition is encrypted with a KMS key, callers must have kms:Decrypt permission to decrypt the definition. Alternatively, you can call the API with includedData = METADATA_ONLY to get a successful response without the encrypted definition.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SFNDSCSTATEMACHINEF01 /AWS1/CL_SFNDSCSTATEMACHINEF01