Skip to content

List Subjects

iamrolesanywhere_list_subjects R Documentation

Lists the subjects in the authenticated account and Amazon Web Services Region

Description

Lists the subjects in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListSubjects.

Usage

iamrolesanywhere_list_subjects(nextToken, pageSize)

Arguments

nextToken

A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.

pageSize

The number of resources in the paginated list.

Value

A list with the following syntax:

list(
  nextToken = "string",
  subjects = list(
    list(
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      enabled = TRUE|FALSE,
      lastSeenAt = as.POSIXct(
        "2015-01-01"
      ),
      subjectArn = "string",
      subjectId = "string",
      updatedAt = as.POSIXct(
        "2015-01-01"
      ),
      x509Subject = "string"
    )
  )
)

Request syntax

svc$list_subjects(
  nextToken = "string",
  pageSize = 123
)