Skip to content

Delete Profile

iamrolesanywhere_delete_profile R Documentation

Deletes a profile

Description

Deletes a profile.

Required permissions: rolesanywhere:DeleteProfile.

Usage

iamrolesanywhere_delete_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$delete_profile(
  profileId = "string"
)