Skip to content

Get Profile

iamrolesanywhere_get_profile R Documentation

Gets a profile

Description

Gets a profile.

Required permissions: rolesanywhere:GetProfile.

Usage

iamrolesanywhere_get_profile(profileId)

Arguments

profileId

[required] The unique identifier of the profile.

Value

A list with the following syntax:

list(
  profile = 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$get_profile(
  profileId = "string"
)