Module Values.DestinationConfigSource

A configuration object that specifies the destination of an event after Lambda processes it. For more information, see Adding a destination.

Sourcetype nonrec t = {
  1. onSuccess : OnSuccess.t option;
    (*

    The destination configuration for successful invocations. Not supported in CreateEventSourceMapping or UpdateEventSourceMapping.

    *)
  2. onFailure : OnFailure.t option;
    (*

    The destination configuration for failed invocations.

    *)
}
Sourceval make : ?onSuccess:??? -> ?onFailure:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of DestinationArn.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