Get Relational Database Log Events
lightsail_get_relational_database_log_events | R Documentation |
Returns a list of log events for a database in Amazon Lightsail¶
Description¶
Returns a list of log events for a database in Amazon Lightsail.
Usage¶
lightsail_get_relational_database_log_events(relationalDatabaseName,
logStreamName, startTime, endTime, startFromHead, pageToken)
Arguments¶
relationalDatabaseName |
[required] The name of your database for which to get log events. |
logStreamName |
[required] The name of the log stream. Use the |
startTime |
The start of the time interval from which to get log events. Constraints:
|
endTime |
The end of the time interval from which to get log events. Constraints:
|
startFromHead |
Parameter to specify if the log should start from head or tail.
If For PostgreSQL, the default value of |
pageToken |
The token to advance to the next or previous page of results from your request. To get a page token, perform an initial
|
Value¶
A list with the following syntax:
list(
resourceLogEvents = list(
list(
createdAt = as.POSIXct(
"2015-01-01"
),
message = "string"
)
),
nextBackwardToken = "string",
nextForwardToken = "string"
)
Request syntax¶
svc$get_relational_database_log_events(
relationalDatabaseName = "string",
logStreamName = "string",
startTime = as.POSIXct(
"2015-01-01"
),
endTime = as.POSIXct(
"2015-01-01"
),
startFromHead = TRUE|FALSE,
pageToken = "string"
)