Module Values.InvokeLambdaActionSource

The action to invoke an Amazon Web Services Lambda function for processing the email.

Sourcetype nonrec t = {
  1. actionFailurePolicy : ActionFailurePolicy.t option;
    (*

    A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the Amazon Web Services Lambda function no longer exists.

    *)
  2. functionArn : LambdaFunctionArn.t;
    (*

    The Amazon Resource Name (ARN) of the Lambda function to invoke.

    *)
  3. invocationType : LambdaInvocationType.t;
    (*

    The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.

    *)
  4. roleArn : IamRoleArn.t;
    (*

    The Amazon Resource Name (ARN) of the IAM role to use to invoke the Lambda function.

    *)
  5. retryTimeMinutes : LambdaRetryTimeMinutes.t option;
    (*

    The maximum time in minutes that the email processing can be retried if the Lambda invocation fails. The maximum value is 2160 minutes (36 hours).

    *)
}
Sourceval context_ : string
Sourceval make : ?actionFailurePolicy:??? -> ?retryTimeMinutes:??? -> functionArn:LambdaFunctionArn.t -> invocationType:LambdaInvocationType.t -> roleArn:IamRoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of LambdaRetryTimeMinutes.t | `String of LambdaFunctionArn.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