Module Values.StartLambdaFunctionFailedEventAttributesSource

Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.

Sourcetype nonrec t = {
  1. scheduledEventId : EventId.t option;
    (*

    The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

    *)
  2. cause : StartLambdaFunctionFailedCause.t option;
    (*

    The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.

    *)
  3. message : CauseMessage.t option;
    (*

    A description that can help diagnose the cause of the fault.

    *)
}
Sourceval make : ?scheduledEventId:??? -> ?cause:??? -> ?message:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of EventId.t | `String of CauseMessage.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