v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1438212159.2 KB

Retrieves a list of events that occurred during a specific time in a space. You can use these events to audit user and system activity in a space. For more information, see Monitoring in the Amazon CodeCatalyst User Guide.

ListEventLogs guarantees events for the last 30 days in a given space. You can also view and retrieve a list of management events over the last 90 days for Amazon CodeCatalyst in the CloudTrail console by viewing Event history, or by creating a trail to create and maintain a record of events that extends past 90 days. For more information, see Working with CloudTrail Event History and Working with CloudTrail trails.

post/v1/spaces/{spaceName}/eventLogs

Path parameters

spaceNamestring required

The name of the space.

Request body

startTimestring date-time required

The date and time when you want to start retrieving events, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.

endTimestring date-time required

The time after which you do not want any events retrieved, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.

eventNamestring

The name of the event.

nextTokenstring

A token returned from a call to this API to indicate the next batch of results to return, if any.

maxResultsinteger

The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.

Response

Success

nextTokenstring

A token returned from a call to this API to indicate the next batch of results to return, if any.