Values.PutAuditEventsResponseSourceIngests 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.
type nonrec t = {failed : ResultErrorEntries.t option;Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the error code and error message returned for events that could not be ingested.
*)successful : AuditEventResultEntries.t option;Lists events in the provided event payload that were successfully ingested into CloudTrail.
*)}type nonrec error = [ | `ChannelInsufficientPermission of ChannelInsufficientPermission.t| `ChannelNotFound of ChannelNotFound.t| `ChannelUnsupportedSchema of ChannelUnsupportedSchema.t| `DuplicatedAuditEventId of DuplicatedAuditEventId.t| `InvalidChannelARN of InvalidChannelARN.t| `UnsupportedOperationException of UnsupportedOperationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ChannelInsufficientPermission of ChannelInsufficientPermission.t
| `ChannelNotFound of ChannelNotFound.t
| `ChannelUnsupportedSchema of ChannelUnsupportedSchema.t
| `DuplicatedAuditEventId of DuplicatedAuditEventId.t
| `InvalidChannelARN of InvalidChannelARN.t
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of UnsupportedOperationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ChannelInsufficientPermission of ChannelInsufficientPermission.t
| `ChannelNotFound of ChannelNotFound.t
| `ChannelUnsupportedSchema of ChannelUnsupportedSchema.t
| `DuplicatedAuditEventId of DuplicatedAuditEventId.t
| `InvalidChannelARN of InvalidChannelARN.t
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of UnsupportedOperationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of (string * [> `String of ErrorCode.t ]) list ]
list ])
list ]