Skip to content

List Access Tokens

codecatalyst_list_access_tokens R Documentation

Lists all personal access tokens (PATs) associated with the user who calls the API

Description

Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your Amazon Web Services Builder ID.

Usage

codecatalyst_list_access_tokens(maxResults, nextToken)

Arguments

maxResults

The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.

nextToken

A token returned from a call to this API to indicate the next batch of results to return, if any.

Value

A list with the following syntax:

list(
  items = list(
    list(
      id = "string",
      name = "string",
      expiresTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

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