Module Values.LambdaFunctionConfigurationSource

A container for specifying the configuration for Lambda notifications.

Sourcetype nonrec t = {
  1. id : NotificationId.t option;
  2. lambdaFunctionArn : LambdaFunctionArn.t;
    (*

    The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes when the specified event type occurs.

    *)
  3. events : EventList.t;
    (*

    The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.

    *)
  4. filter : NotificationConfigurationFilter.t option;
}
Sourceval context_ : string
Sourceval make : ?id:??? -> ?filter:??? -> lambdaFunctionArn:LambdaFunctionArn.t -> events:EventList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string ] list | `String of NotificationId.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of FilterRuleValue.t ]) list ] list ]) list ]) 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