Module Values.LambdaActionSource

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

Sourcetype nonrec t = {
  1. functionArn : AmazonResourceName.t;
    (*

    The ARN of the Lambda function that is executed.

    *)
  2. payload : Payload.t option;
    (*

    You can configure the action payload when you send a message to a Lambda function.

    *)
}
Sourceval context_ : string
Sourceval make : ?payload:??? -> functionArn:AmazonResourceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AmazonResourceName.t | `Structure of (string * [> `Enum of string | `String of ContentExpression.t ]) list ]) 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