Module Values.KinesisParametersSource

This object enables you to specify a JSON path to extract from the event and use as the partition key for the Amazon Kinesis data stream, so that you can control the shard to which the event goes. If you do not include this parameter, the default is to use the eventId as the partition key.

Sourcetype nonrec t = {
  1. partitionKeyPath : TargetPartitionKeyPath.t;
    (*

    The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.

    *)
}
Sourceval context_ : string
Sourceval make : partitionKeyPath:TargetPartitionKeyPath.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of TargetPartitionKeyPath.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