Module Values.PutAuditEventsRequestSource

Ingests your application events into CloudTrail Lake. A required parameter, auditEvents, accepts the JSON records (also called payload) of events that you want CloudTrail to ingest. You can add up to 100 of these events (or up to 1 MB) per PutAuditEvents request.

Sourcetype nonrec t = {
  1. auditEvents : AuditEvents.t;
    (*

    The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a file.

    *)
  2. channelArn : ChannelArn.t;
    (*

    The ARN or ID (the ARN suffix) of a channel.

    *)
  3. externalId : ExternalId.t option;
    (*

    A unique identifier that is conditionally required when the channel's resource policy includes an external ID. This value can be any string, such as a passphrase or account number.

    *)
}
Sourceval context_ : string
Sourceval make : ?externalId:??? -> auditEvents:AuditEvents.t -> channelArn:ChannelArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of ChannelArn.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