Module Values.DocumentDBEventSourceConfigSource

Specific configuration settings for a DocumentDB event source.

Sourcetype nonrec t = {
  1. databaseName : DatabaseName.t option;
    (*

    The name of the database to consume within the DocumentDB cluster.

    *)
  2. collectionName : CollectionName.t option;
    (*

    The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.

    *)
  3. fullDocument : FullDocument.t option;
    (*

    Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.

    *)
}
Sourceval make : ?databaseName:??? -> ?collectionName:??? -> ?fullDocument:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DatabaseName.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