Skip to content

Delete Attribute Mapping

iamrolesanywhere_delete_attribute_mapping R Documentation

Delete an entry from the attribute mapping rules enforced by a given profile

Description

Delete an entry from the attribute mapping rules enforced by a given profile.

Usage

iamrolesanywhere_delete_attribute_mapping(certificateField, profileId,
  specifiers)

Arguments

certificateField

[required] Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.

profileId

[required] The unique identifier of the profile.

specifiers

A list of specifiers of a certificate field; for example, CN, OU, UID from a Subject.

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_attribute_mapping(
  certificateField = "x509Subject"|"x509Issuer"|"x509SAN",
  profileId = "string",
  specifiers = list(
    "string"
  )
)