Module Values.GetDurableExecutionResponseSource

The response from the GetDurableExecution operation, containing detailed information about the durable execution.

Sourcetype nonrec t = {
  1. durableExecutionArn : DurableExecutionArn.t option;
    (*

    The Amazon Resource Name (ARN) of the durable execution.

    *)
  2. durableExecutionName : DurableExecutionName.t option;
    (*

    The name of the durable execution. This is either the name you provided when invoking the function, or a system-generated unique identifier if no name was provided.

    *)
  3. functionArn : NameSpacedFunctionArn.t option;
    (*

    The Amazon Resource Name (ARN) of the Lambda function that was invoked to start this durable execution.

    *)
  4. inputPayload : InputPayload.t option;
    (*

    The JSON input payload that was provided when the durable execution was started. For asynchronous invocations, this is limited to 256 KB. For synchronous invocations, this can be up to 6 MB.

    *)
  5. result : OutputPayload.t option;
    (*

    The JSON result returned by the durable execution if it completed successfully. This field is only present when the execution status is SUCCEEDED. The result is limited to 256 KB.

    *)
  6. error : ErrorObject.t option;
    (*

    Error information if the durable execution failed. This field is only present when the execution status is FAILED, TIMED_OUT, or STOPPED. The combined size of all error fields is limited to 256 KB.

    *)
  7. startTimestamp : ExecutionTimestamp.t option;
    (*

    The date and time when the durable execution started, in Unix timestamp format.

    *)
  8. status : ExecutionStatus.t option;
    (*

    The current status of the durable execution. Valid values are RUNNING, SUCCEEDED, FAILED, TIMED_OUT, and STOPPED.

    *)
  9. endTimestamp : ExecutionTimestamp.t option;
    (*

    The date and time when the durable execution ended, in Unix timestamp format. This field is only present if the execution has completed (status is SUCCEEDED, FAILED, TIMED_OUT, or STOPPED).

    *)
  10. version : VersionWithLatestPublished.t option;
    (*

    The version of the Lambda function that was invoked for this durable execution. This ensures that all replays during the execution use the same function version.

    *)
  11. traceHeader : TraceHeader.t option;
    (*

    The trace headers associated with the durable execution.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidParameterValueException of InvalidParameterValueException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ServiceException of ServiceException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?durableExecutionArn:??? -> ?durableExecutionName:??? -> ?functionArn:??? -> ?inputPayload:??? -> ?result:??? -> ?error:??? -> ?startTimestamp:??? -> ?status:??? -> ?endTimestamp:??? -> ?version:??? -> ?traceHeader:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterValueException of InvalidParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceException of ServiceException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterValueException of InvalidParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceException of ServiceException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DurableExecutionArn.t | `Structure of (string * [> `List of [> `String of StackTraceEntry.t ] list | `String of ErrorMessage.t ]) list | `Timestamp of ExecutionTimestamp.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