Skip to content

List Profiles

iamrolesanywhere_list_profiles R Documentation

Lists all profiles in the authenticated account and Amazon Web Services Region

Description

Lists all profiles in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListProfiles.

Usage

iamrolesanywhere_list_profiles(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",
  profiles = list(
    list(
      acceptRoleSessionName = TRUE|FALSE,
      attributeMappings = list(
        list(
          certificateField = "x509Subject"|"x509Issuer"|"x509SAN",
          mappingRules = list(
            list(
              specifier = "string"
            )
          )
        )
      ),
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      createdBy = "string",
      durationSeconds = 123,
      enabled = TRUE|FALSE,
      managedPolicyArns = list(
        "string"
      ),
      name = "string",
      profileArn = "string",
      profileId = "string",
      requireInstanceProperties = TRUE|FALSE,
      roleArns = list(
        "string"
      ),
      sessionPolicy = "string",
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

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