{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-step-functions/refs/heads/main/json-schema/amazon-step-functions-describe-execution-output-schema.json", "title": "DescribeExecutionOutput", "description": "DescribeExecutionOutput schema from Amazon Step Functions API", "type": "object", "properties": { "executionArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "The Amazon Resource Name (ARN) that identifies the execution." } ] }, "stateMachineArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "The Amazon Resource Name (ARN) of the executed stated machine." } ] }, "name": { "allOf": [ { "$ref": "#/components/schemas/Name" }, { "description": "

The name of the execution.

A name must not contain:

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" } ] }, "status": { "allOf": [ { "$ref": "#/components/schemas/ExecutionStatus" }, { "description": "The current status of the execution." } ] }, "startDate": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "The date the execution is started." } ] }, "stopDate": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "If the execution ended, the date the execution stopped." } ] }, "input": { "allOf": [ { "$ref": "#/components/schemas/SensitiveData" }, { "description": "The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding." } ] }, "inputDetails": { "$ref": "#/components/schemas/CloudWatchEventsExecutionDataDetails" }, "output": { "allOf": [ { "$ref": "#/components/schemas/SensitiveData" }, { "description": "

The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

This field is set only if the execution succeeds. If the execution fails, this field is null.

" } ] }, "outputDetails": { "$ref": "#/components/schemas/CloudWatchEventsExecutionDataDetails" }, "traceHeader": { "allOf": [ { "$ref": "#/components/schemas/TraceHeader" }, { "description": "The X-Ray trace header that was passed to the execution." } ] }, "mapRunArn": { "allOf": [ { "$ref": "#/components/schemas/LongArn" }, { "description": "The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution." } ] }, "error": { "allOf": [ { "$ref": "#/components/schemas/SensitiveError" }, { "description": "The error string if the state machine execution failed." } ] }, "cause": { "allOf": [ { "$ref": "#/components/schemas/SensitiveCause" }, { "description": "The cause string if the state machine execution failed." } ] }, "stateMachineVersionArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "

The Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example, stateMachineARN:1.

If you start an execution from a StartExecution request without specifying a state machine version or alias ARN, Step Functions returns a null value.

" } ] }, "stateMachineAliasArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "

The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is a combination of state machine ARN and the alias name separated by a colon (:). For example, stateMachineARN:PROD.

If you start an execution from a StartExecution request with a state machine version ARN, this field will be null.

" } ] } }, "required": [ "executionArn", "stateMachineArn", "status", "startDate" ] }