Skip to content

Create User Profile

datazone_create_user_profile R Documentation

Creates a user profile in Amazon DataZone

Description

Creates a user profile in Amazon DataZone.

Usage

datazone_create_user_profile(domainIdentifier, userIdentifier, userType,
  sessionName, clientToken)

Arguments

domainIdentifier

[required] The identifier of the Amazon DataZone domain in which a user profile is created.

userIdentifier

[required] The identifier of the user for which the user profile is created.

userType

The user type of the user for which the user profile is created.

sessionName

The session name for IAM role sessions.

clientToken

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

Value

A list with the following syntax:

list(
  domainId = "string",
  id = "string",
  type = "IAM"|"SSO",
  status = "ASSIGNED"|"NOT_ASSIGNED"|"ACTIVATED"|"DEACTIVATED",
  details = list(
    iam = list(
      arn = "string",
      principalId = "string",
      sessionName = "string",
      groupProfileId = "string"
    ),
    sso = list(
      username = "string",
      firstName = "string",
      lastName = "string"
    )
  )
)

Request syntax

svc$create_user_profile(
  domainIdentifier = "string",
  userIdentifier = "string",
  userType = "IAM_USER"|"IAM_ROLE"|"SSO_USER"|"IAM_ROLE_SESSION",
  sessionName = "string",
  clientToken = "string"
)