Module Values.ScheduleLambdaFunctionFailedEventAttributesSource

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

Sourcetype nonrec t = {
  1. id : FunctionId.t option;
    (*

    The ID provided in the ScheduleLambdaFunction decision that failed.

    *)
  2. name : FunctionName.t option;
    (*

    The name of the Lambda function.

    *)
  3. cause : ScheduleLambdaFunctionFailedCause.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 it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

    *)
  4. decisionTaskCompletedEventId : EventId.t option;
    (*

    The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

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