Get Scheduled Query History
| cloudwatchlogs_get_scheduled_query_history | R Documentation |
Retrieves the execution history of a scheduled query within a specified time range, including query results and destination processing status¶
Description¶
Retrieves the execution history of a scheduled query within a specified time range, including query results and destination processing status.
Usage¶
cloudwatchlogs_get_scheduled_query_history(identifier, startTime,
endTime, executionStatuses, maxResults, nextToken)
Arguments¶
identifier |
[required] The ARN or name of the scheduled query to retrieve history for. |
startTime |
[required] The start time for the history query in Unix epoch format. |
endTime |
[required] The end time for the history query in Unix epoch format. |
executionStatuses |
An array of execution statuses to filter the history results. Only executions with the specified statuses are returned. |
maxResults |
The maximum number of history records to return. Valid range is 1 to 1000. |
nextToken |
The token for the next set of items to return. The token expires after 24 hours. |
Value¶
A list with the following syntax:
list(
name = "string",
scheduledQueryArn = "string",
triggerHistory = list(
list(
queryId = "string",
executionStatus = "Running"|"InvalidQuery"|"Complete"|"Failed"|"Timeout",
triggeredTimestamp = 123,
errorMessage = "string",
destinations = list(
list(
destinationType = "S3",
destinationIdentifier = "string",
status = "IN_PROGRESS"|"CLIENT_ERROR"|"FAILED"|"COMPLETE",
processedIdentifier = "string",
errorMessage = "string"
)
)
)
),
nextToken = "string"
)
Request syntax¶
svc$get_scheduled_query_history(
identifier = "string",
startTime = 123,
endTime = 123,
executionStatuses = list(
"Running"|"InvalidQuery"|"Complete"|"Failed"|"Timeout"
),
maxResults = 123,
nextToken = "string"
)