Put Audit Events
cloudtraildataservice_put_audit_events | R Documentation |
Ingests your application events into CloudTrail Lake¶
Description¶
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 put_audit_events
request.
Usage¶
Arguments¶
auditEvents
[required] The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a file.
channelArn
[required] The ARN or ID (the ARN suffix) of a channel.
externalId
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.
Value¶
A list with the following syntax:
list(
failed = list(
list(
errorCode = "string",
errorMessage = "string",
id = "string"
)
),
successful = list(
list(
eventID = "string",
id = "string"
)
)
)