Skip to content

Get Reservation

redshiftserverless_get_reservation R Documentation

Gets an Amazon Redshift Serverless reservation

Description

Gets an Amazon Redshift Serverless reservation. A reservation gives you the option to commit to a specified number of Redshift Processing Units (RPUs) for a year at a discount from Serverless on-demand (OD) rates.

Usage

redshiftserverless_get_reservation(reservationId)

Arguments

reservationId

[required] The ID of the reservation to retrieve.

Value

A list with the following syntax:

list(
  reservation = 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$get_reservation(
  reservationId = "string"
)