Skip to main content
 print this page

View, generate, or download Streams entity logs

POST 

/datasources/:datasource_id/entities/:entity_id/logs

Retrieves CloudWatch logs for a Streams data transformation entity. The caller (identified by role_id) needs datasources.view and at least read-only access on the path datasource (else AUTH-1010). Use servicename=streams-entity. Actions: view-logs, generate-logs, download-logs. Body startTime and endTime are required (YYYY-MM-DDTHH:MM:SS UTC).

Request

Responses

view-logs: logPreview, logTruncated, optional nextToken. generate-logs: Message. download-logs: Presignedurl when ready, or Message if generate-logs has not completed for that timeframe.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers