List Capacity Reservations
| athena_list_capacity_reservations | R Documentation | 
Lists the capacity reservations for the current account¶
Description¶
Lists the capacity reservations for the current account.
Usage¶
athena_list_capacity_reservations(NextToken, MaxResults)
Arguments¶
NextToken | 
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.  | 
MaxResults | 
Specifies the maximum number of results to return.  | 
Value¶
A list with the following syntax:
list(
  NextToken = "string",
  CapacityReservations = list(
    list(
      Name = "string",
      Status = "PENDING"|"ACTIVE"|"CANCELLING"|"CANCELLED"|"FAILED"|"UPDATE_PENDING",
      TargetDpus = 123,
      AllocatedDpus = 123,
      LastAllocation = list(
        Status = "PENDING"|"SUCCEEDED"|"FAILED",
        StatusMessage = "string",
        RequestTime = as.POSIXct(
          "2015-01-01"
        ),
        RequestCompletionTime = as.POSIXct(
          "2015-01-01"
        )
      ),
      LastSuccessfulAllocationTime = as.POSIXct(
        "2015-01-01"
      ),
      CreationTime = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)
Request syntax¶
svc$list_capacity_reservations(
  NextToken = "string",
  MaxResults = 123
)