Module Values.GetExecutionHistoryOutputSource

Returns the history of the specified execution as a list of events. By default, the results are returned in ascending order of the timeStamp of the events. Use the reverseOrder parameter to get the latest events first. If nextToken is returned, there are more results available. The value of nextToken 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 HTTP 400 InvalidToken error. This API action is not supported by EXPRESS state machines.

Sourcetype nonrec t = {
  1. events : HistoryEventList.t option;
    (*

    The list of events that occurred in the execution.

    *)
  2. nextToken : PageToken.t option;
    (*

    If nextToken is returned, there are more results available. The value of nextToken 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 HTTP 400 InvalidToken error.

    *)
}
Sourcetype nonrec error = [
  1. | `ExecutionDoesNotExist of ExecutionDoesNotExist.t
  2. | `InvalidArn of InvalidArn.t
  3. | `InvalidToken of InvalidToken.t
  4. | `KmsAccessDeniedException of KmsAccessDeniedException.t
  5. | `KmsInvalidStateException of KmsInvalidStateException.t
  6. | `KmsThrottlingException of KmsThrottlingException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?events:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ExecutionDoesNotExist of ExecutionDoesNotExist.t | `InvalidArn of InvalidArn.t | `InvalidToken of InvalidToken.t | `KmsAccessDeniedException of KmsAccessDeniedException.t | `KmsInvalidStateException of KmsInvalidStateException.t | `KmsThrottlingException of KmsThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ExecutionDoesNotExist of ExecutionDoesNotExist.t | `InvalidArn of InvalidArn.t | `InvalidToken of InvalidToken.t | `KmsAccessDeniedException of KmsAccessDeniedException.t | `KmsInvalidStateException of KmsInvalidStateException.t | `KmsThrottlingException of KmsThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Long of EventId.t | `Structure of (string * [> `Integer of RedriveCount.t | `Long of TimeoutInSeconds.t | `Map of ([> `String of VariableName.t ] * [> `String of VariableValue.t ]) list | `String of SensitiveError.t | `Structure of (string * [> `Boolean of Truncated.t | `String of LongArn.t ]) list ]) list | `Timestamp of Timestamp.t ]) list ] list | `String of PageToken.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t