Amazon Step Functions #X Amz Target=AWSStepFunctions.GetExecutionHistory API

The #X Amz Target=AWSStepFunctions.GetExecutionHistory API from Amazon Step Functions — 1 operation(s) for #x amz target=awsstepfunctions.getexecutionhistory.

Operations 1

POST /#X-Amz-Target=AWSStepFunctions.GetExecutionHistory Amazon Get Execution History #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-step-functions-x-amz-target-awsstepfunctions-getexecutionhistory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-step-functions-x-amz-target-awsstepfunctions-getexecutionhistory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2016-11-23'
  x-release: v4
  title: 'AWS Step Functions #X Amz Target=AWSStepFunctions.GetExecutionHistory API'
  description: <fullname>Step Functions</fullname> <p>Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows.</p> <p>You can use Step Functions to build applications from individual components, each of which performs a discrete function, or <i>task</i>, allowing you to scale and change applications quickly. Step Functions provides a console that helps visualize the components of your application as a series of steps. Step Functions automatically triggers and tracks each step, and retries steps when there are errors, so your application executes predictably and in the right order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any issues.</p> <p>Step Functions manages operations and underlying infrastructure to ensure your application is available at any scale. You can run tasks on Amazon Web Services, your own servers, or any system that has access to Amazon Web Services. You can access and use Step Functions using the console, the Amazon Web Services SDKs, or an HTTP API. For more information about Step Functions, see the <i> <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">Step Functions Developer Guide</a> </i>.</p>
  x-logo:
    url: https://twitter.com/awscloud/profile_image?size=original
    backgroundColor: '#FFFFFF'
  termsOfService: https://aws.amazon.com/service-terms/
  contact:
    name: Mike Ralphson
    email: mike.ralphson@gmail.com
    url: https://github.com/mermade/aws2openapi
    x-twitter: PermittedSoc
  license:
    name: Apache 2.0 License
    url: http://www.apache.org/licenses/
  x-providerName: amazonaws.com
  x-serviceName: states
  x-origin:
  - contentType: application/json
    url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/states-2016-11-23.normal.json
    converter:
      url: https://github.com/mermade/aws2openapi
      version: 1.0.0
    x-apisguru-driver: external
  x-apiClientRegistration:
    url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
  x-apisguru-categories:
  - cloud
  x-preferred: true
servers:
- url: http://states.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The AWS SFN multi-region endpoint
- url: https://states.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The AWS SFN multi-region endpoint
- url: http://states.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The AWS SFN endpoint for China (Beijing) and China (Ningxia)
- url: https://states.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The AWS SFN endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: '#X Amz Target=AWSStepFunctions.GetExecutionHistory'
paths:
  /#X-Amz-Target=AWSStepFunctions.GetExecutionHistory:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: GetExecutionHistory
      description: <p>Returns the history of the specified execution as a list of events. By default, the results are returned in ascending order of the <code>timeStamp</code> of the events. Use the <code>reverseOrder</code> parameter to get the latest events first.</p> <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p> <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetExecutionHistoryOutput'
              examples:
                GetExecutionHistory200Example:
                  summary: Default GetExecutionHistory 200
                  x-microcks-default: true
                  value:
                    events: example-value
                    nextToken: example-value
        '480':
          description: ExecutionDoesNotExist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecutionDoesNotExist'
              examples:
                GetExecutionHistory480Example:
                  summary: Default GetExecutionHistory 480
                  x-microcks-default: true
                  value: example-value
        '481':
          description: InvalidArn
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidArn'
              examples:
                GetExecutionHistory481Example:
                  summary: Default GetExecutionHistory 481
                  x-microcks-default: true
                  value: example-value
        '482':
          description: InvalidToken
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidToken'
              examples:
                GetExecutionHistory482Example:
                  summary: Default GetExecutionHistory 482
                  x-microcks-default: true
                  value: example-value
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetExecutionHistoryInput'
            examples:
              GetExecutionHistoryRequestExample:
                summary: Default GetExecutionHistory request
                x-microcks-default: true
                value:
                  executionArn: arn:aws:service:us-east-1:123456789012:resource/example
                  maxResults: example-value
                  reverseOrder: example-value
                  nextToken: example-value
                  includeExecutionData: example-value
      parameters:
      - name: maxResults
        in: query
        schema:
          type: string
        description: Pagination limit
        required: false
      - name: nextToken
        in: query
        schema:
          type: string
        description: Pagination token
        required: false
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSStepFunctions.GetExecutionHistory
      summary: Amazon Get Execution History
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      tags:
      - '#X Amz Target=AWSStepFunctions.GetExecutionHistory'
components:
  schemas:
    Name:
      type: string
      minLength: 1
      maxLength: 80
    Timestamp:
      type: string
      format: date-time
    Arn:
      type: string
      minLength: 1
      maxLength: 256
    SensitiveCause:
      type: string
      minLength: 0
      maxLength: 32768
      format: password
    ExecutionSucceededEventDetails:
      type: object
      properties:
        output:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The JSON data output by the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        outputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about the output of an execution history event.
      description: Contains details about the successful termination of the execution.
    TaskCredentials:
      type: object
      properties:
        roleArn:
          allOf:
          - $ref: '#/components/schemas/LongArn'
          - description: The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access to resources.
      description: Contains details about the credentials that Step Functions uses for a task.
    LambdaFunctionFailedEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about a Lambda function that failed during an execution.
    ActivityTimedOutEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the timeout.
      description: Contains details about an activity timeout that occurred during an execution.
    ExecutionStartedEventDetails:
      type: object
      properties:
        input:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The JSON data input to the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        inputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about the input for an execution history event.
        roleArn:
          allOf:
          - $ref: '#/components/schemas/Arn'
          - description: The Amazon Resource Name (ARN) of the IAM role used for executing Lambda tasks.
        stateMachineAliasArn:
          allOf:
          - $ref: '#/components/schemas/Arn'
          - description: The Amazon Resource Name (ARN) that identifies a state machine alias used for starting the state machine execution.
        stateMachineVersionArn:
          allOf:
          - $ref: '#/components/schemas/Arn'
          - description: The Amazon Resource Name (ARN) that identifies a state machine version used for starting the state machine execution.
      description: Contains details about the start of the execution.
    InvalidToken: {}
    Identity:
      type: string
      maxLength: 256
    TaskSubmitFailedEventDetails:
      type: object
      required:
      - resourceType
      - resource
      properties:
        resourceType:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The service name of the resource in a task state.
        resource:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The action of the resource called by a task state.
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about a task that failed to submit during an execution.
    TaskTimedOutEventDetails:
      type: object
      required:
      - resourceType
      - resource
      properties:
        resourceType:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The service name of the resource in a task state.
        resource:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The action of the resource called by a task state.
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about a resource timeout that occurred during an execution.
    GetExecutionHistoryInput:
      type: object
      required:
      - executionArn
      title: GetExecutionHistoryInput
      properties:
        executionArn:
          allOf:
          - $ref: '#/components/schemas/Arn'
          - description: The Amazon Resource Name (ARN) of the execution.
        maxResults:
          allOf:
          - $ref: '#/components/schemas/PageSize'
          - description: <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p> <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p>
        reverseOrder:
          allOf:
          - $ref: '#/components/schemas/ReverseOrder'
          - description: Lists events in descending order of their <code>timeStamp</code>.
        nextToken:
          allOf:
          - $ref: '#/components/schemas/PageToken'
          - description: If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.
        includeExecutionData:
          allOf:
          - $ref: '#/components/schemas/IncludeExecutionDataGetExecutionHistory'
          - description: You can select whether execution data (input or output of a history event) is returned. The default is <code>true</code>.
    HistoryEventList:
      type: array
      description: Contains details about the events that occurred during an execution.
      items:
        $ref: '#/components/schemas/HistoryEvent'
    ExecutionTimedOutEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the timeout.
      description: Contains details about the execution timeout that occurred during the execution.
    GetExecutionHistoryOutput:
      type: object
      required:
      - events
      properties:
        events:
          allOf:
          - $ref: '#/components/schemas/HistoryEventList'
          - description: The list of events that occurred in the execution.
        nextToken:
          allOf:
          - $ref: '#/components/schemas/PageToken'
          - description: If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.
    MapRunFailedEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the Map Run failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about a Map Run failure event that occurred during a state machine execution.
    HistoryEventType:
      type: string
      enum:
      - ActivityFailed
      - ActivityScheduled
      - ActivityScheduleFailed
      - ActivityStarted
      - ActivitySucceeded
      - ActivityTimedOut
      - ChoiceStateEntered
      - ChoiceStateExited
      - ExecutionAborted
      - ExecutionFailed
      - ExecutionStarted
      - ExecutionSucceeded
      - ExecutionTimedOut
      - FailStateEntered
      - LambdaFunctionFailed
      - LambdaFunctionScheduled
      - LambdaFunctionScheduleFailed
      - LambdaFunctionStarted
      - LambdaFunctionStartFailed
      - LambdaFunctionSucceeded
      - LambdaFunctionTimedOut
      - MapIterationAborted
      - MapIterationFailed
      - MapIterationStarted
      - MapIterationSucceeded
      - MapStateAborted
      - MapStateEntered
      - MapStateExited
      - MapStateFailed
      - MapStateStarted
      - MapStateSucceeded
      - ParallelStateAborted
      - ParallelStateEntered
      - ParallelStateExited
      - ParallelStateFailed
      - ParallelStateStarted
      - ParallelStateSucceeded
      - PassStateEntered
      - PassStateExited
      - SucceedStateEntered
      - SucceedStateExited
      - TaskFailed
      - TaskScheduled
      - TaskStarted
      - TaskStartFailed
      - TaskStateAborted
      - TaskStateEntered
      - TaskStateExited
      - TaskSubmitFailed
      - TaskSubmitted
      - TaskSucceeded
      - TaskTimedOut
      - WaitStateAborted
      - WaitStateEntered
      - WaitStateExited
      - MapRunAborted
      - MapRunFailed
      - MapRunStarted
      - MapRunSucceeded
    ConnectorParameters:
      type: string
      minLength: 0
      maxLength: 262144
      format: password
    ActivitySucceededEventDetails:
      type: object
      properties:
        output:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The JSON data output by the activity task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        outputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about the output of an execution history event.
      description: Contains details about an activity that successfully terminated during an execution.
    truncated:
      type: boolean
    ActivityStartedEventDetails:
      type: object
      properties:
        workerName:
          allOf:
          - $ref: '#/components/schemas/Identity'
          - description: The name of the worker that the task is assigned to. These names are provided by the workers when calling <a>GetActivityTask</a>.
      description: Contains details about the start of an activity during an execution.
    InvalidArn: {}
    MapStateStartedEventDetails:
      type: object
      properties:
        length:
          allOf:
          - $ref: '#/components/schemas/UnsignedInteger'
          - description: The size of the array for Map state iterations.
      description: Details about a Map state that was started.
    ActivityFailedEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about an activity that failed during an execution.
    TaskScheduledEventDetails:
      type: object
      required:
      - resourceType
      - resource
      - region
      - parameters
      properties:
        resourceType:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The service name of the resource in a task state.
        resource:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The action of the resource called by a task state.
        region:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The region of the scheduled task
        parameters:
          allOf:
          - $ref: '#/components/schemas/ConnectorParameters'
          - description: The JSON data passed to the resource referenced in a task state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        timeoutInSeconds:
          allOf:
          - $ref: '#/components/schemas/TimeoutInSeconds'
          - description: The maximum allowed duration of the task.
        heartbeatInSeconds:
          allOf:
          - $ref: '#/components/schemas/TimeoutInSeconds'
          - description: The maximum allowed duration between two heartbeats for the task.
        taskCredentials:
          allOf:
          - $ref: '#/components/schemas/TaskCredentials'
          - description: The credentials that Step Functions uses for the task.
      description: Contains details about a task scheduled during an execution.
    ActivityScheduleFailedEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about an activity schedule failure that occurred during an execution.
    TaskSubmittedEventDetails:
      type: object
      required:
      - resourceType
      - resource
      properties:
        resourceType:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The service name of the resource in a task state.
        resource:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The action of the resource called by a task state.
        output:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The response from a resource when a task has started. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        outputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about the output of an execution history event.
      description: Contains details about a task submitted to a resource .
    HistoryEventExecutionDataDetails:
      type: object
      properties:
        truncated:
          allOf:
          - $ref: '#/components/schemas/truncated'
          - description: Indicates whether input or output was truncated in the response. Always <code>false</code> for API calls.
      description: Provides details about input or output in an execution history event.
    PageToken:
      type: string
      minLength: 1
      maxLength: 1024
    LambdaFunctionSucceededEventDetails:
      type: object
      properties:
        output:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The JSON data output by the Lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        outputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about the output of an execution history event.
      description: Contains details about a Lambda function that successfully terminated during an execution.
    LambdaFunctionScheduledEventDetails:
      type: object
      required:
      - resource
      properties:
        resource:
          allOf:
          - $ref: '#/components/schemas/Arn'
          - description: The Amazon Resource Name (ARN) of the scheduled Lambda function.
        input:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The JSON data input to the Lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        inputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about input for an execution history event.
        timeoutInSeconds:
          allOf:
          - $ref: '#/components/schemas/TimeoutInSeconds'
          - description: The maximum allowed duration of the Lambda function.
        taskCredentials:
          allOf:
          - $ref: '#/components/schemas/TaskCredentials'
          - description: The credentials that Step Functions uses for the task.
      description: Contains details about a Lambda function scheduled during an execution.
    StateEnteredEventDetails:
      type: object
      required:
      - name
      properties:
        name:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The name of the state.
        input:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The string that contains the JSON input data for the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        inputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about the input for an execution history event.
      description: Contains details about a state entered during an execution.
    TaskFailedEventDetails:
      type: object
      required:
      - resourceType
      - resource
      properties:
        resourceType:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The service name of the resource in a task state.
        resource:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The action of the resource called by a task state.
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about a task failure event.
    EventId:
      type: integer
    ActivityScheduledEventDetails:
      type: object
      required:
      - resource
      properties:
        resource:
          allOf:
          - $ref: '#/components/schemas/Arn'
          - description: The Amazon Resource Name (ARN) of the scheduled activity.
        input:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The JSON data input to the activity task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        inputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about the input for an execution history event.
        timeoutInSeconds:
          allOf:
          - $ref: '#/components/schemas/TimeoutInSeconds'
          - description: The maximum allowed duration of the activity task.
        heartbeatInSeconds:
          allOf:
          - $ref: '#/components/schemas/TimeoutInSeconds'
          - description: The maximum allowed duration between two heartbeats for the activity task.
      description: Contains details about an activity scheduled during an execution.
    PageSize:
      type: integer
      minimum: 0
      maximum: 1000
    StateExitedEventDetails:
      type: object
      required:
      - name
      properties:
        name:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: '<p>The name of the state.</p> <p>A name must <i>not</i> contain:</p> <ul> <li> <p>white space</p> </li> <li> <p>brackets <code>&lt; &gt; { } [ ]</code> </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li> <p>special characters <code>" # % \ ^ | ~ ` $ &amp; , ; : /</code> </p> </li> <li> <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>'
        output:
          allOf:
          - $ref: '#/components/schemas/SensitiveData'
          - description: The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
        outputDetails:
          allOf:
          - $ref: '#/components/schemas/HistoryEventExecutionDataDetails'
          - description: Contains details about the output of an execution history event.
      description: Contains details about an exit from a state during an execution.
    SensitiveData:
      type: string
      maxLength: 262144
      format: password
    MapRunStartedEventDetails:
      type: object
      properties:
        mapRunArn:
          allOf:
          - $ref: '#/components/schemas/LongArn'
          - description: The Amazon Resource Name (ARN) of a Map Run that was started.
      description: Contains details about a Map Run that was started during a state machine execution.
    IncludeExecutionDataGetExecutionHistory:
      type: boolean
    ExecutionAbortedEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about an abort of an execution.
    ExecutionFailedEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the failure.
      description: Contains details about an execution failure event.
    UnsignedInteger:
      type: integer
      minimum: 0
    LambdaFunctionTimedOutEventDetails:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/SensitiveError'
          - description: The error code of the failure.
        cause:
          allOf:
          - $ref: '#/components/schemas/SensitiveCause'
          - description: A more detailed explanation of the cause of the timeout.
      description: Contains details about a Lambda function timeout that occurred during an execution.
    LongArn:
      type: string
      minLength: 1
      maxLength: 2000
    MapIterationEventDetails:
      type: object
      properties:
        name:
          allOf:
          - $ref: '#/components/schemas/Name'
          - description: The name of the iteration’s parent Map state.
        index:
          allOf:
          - $ref: '#/components/schemas/UnsignedInteger'
          - description: The index of the array belonging to the Map state iterat

# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-step-functions/refs/heads/main/openapi/amazon-step-functions-x-amz-target-awsstepfunctions-getexecutionhistory-api-openapi.yml