Module Values.PutAuditEventsResponseSource

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. 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.

    *)
  2. successful : AuditEventResultEntries.t option;
    (*

    Lists events in the provided event payload that were successfully ingested into CloudTrail.

    *)
}
Sourcetype nonrec error = [
  1. | `ChannelInsufficientPermission of ChannelInsufficientPermission.t
  2. | `ChannelNotFound of ChannelNotFound.t
  3. | `ChannelUnsupportedSchema of ChannelUnsupportedSchema.t
  4. | `DuplicatedAuditEventId of DuplicatedAuditEventId.t
  5. | `InvalidChannelARN of InvalidChannelARN.t
  6. | `UnsupportedOperationException of UnsupportedOperationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?failed:??? -> ?successful:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ErrorCode.t ]) 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