Skip to content

List Reservations

redshiftserverless_list_reservations R Documentation

Returns a list of Reservation objects

Description

Returns a list of Reservation objects.

Usage

redshiftserverless_list_reservations(maxResults, nextToken)

Arguments

maxResults

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

nextToken

The token for the next set of items to return. (You received this token from a previous call.)

Value

A list with the following syntax:

list(
  nextToken = "string",
  reservationsList = list(
    list(
      capacity = 123,
      endDate = as.POSIXct(
        "2015-01-01"
      ),
      offering = list(
        currencyCode = "string",
        duration = 123,
        hourlyCharge = 123.0,
        offeringId = "string",
        offeringType = "ALL_UPFRONT"|"NO_UPFRONT",
        upfrontCharge = 123.0
      ),
      reservationArn = "string",
      reservationId = "string",
      startDate = as.POSIXct(
        "2015-01-01"
      ),
      status = "string"
    )
  )
)

Request syntax

svc$list_reservations(
  maxResults = 123,
  nextToken = "string"
)