Skip to content

Returns a list of events for a specific database in Amazon Lightsail

Description

Returns a list of events for a specific database in Amazon Lightsail.

Usage

lightsail_get_relational_database_events(relationalDatabaseName,
  durationInMinutes, pageToken)

Arguments

  • relationalDatabaseName

    [required] The name of the database from which to get events.

  • durationInMinutes

    The number of minutes in the past from which to retrieve events. For example, to get all events from the past 2 hours, enter 120.

    Default: 60

    The minimum is 1 and the maximum is 14 days (20160 minutes).

  • pageToken

    The token to advance to the next page of results from your request.

    To get a page token, perform an initial get_relational_database_events request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Value

A list with the following syntax:

list(
  relationalDatabaseEvents = list(
    list(
      resource = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      message = "string",
      eventCategories = list(
        "string"
      )
    )
  ),
  nextPageToken = "string"
)

Request syntax

svc$get_relational_database_events(
  relationalDatabaseName = "string",
  durationInMinutes = 123,
  pageToken = "string"
)