Skip to content

Get Studio Session Mapping

emr_get_studio_session_mapping R Documentation

Fetches mapping details for the specified Amazon EMR Studio and identity (user or group)

Description

Fetches mapping details for the specified Amazon EMR Studio and identity (user or group).

Usage

emr_get_studio_session_mapping(StudioId, IdentityId, IdentityName,
  IdentityType)

Arguments

StudioId

[required] The ID of the Amazon EMR Studio.

IdentityId

The globally unique identifier (GUID) of the user or group. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified.

IdentityName

The name of the user or group to fetch. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified.

IdentityType

[required] Specifies whether the identity to fetch is a user or a group.

Value

A list with the following syntax:

list(
  SessionMapping = list(
    StudioId = "string",
    IdentityId = "string",
    IdentityName = "string",
    IdentityType = "USER"|"GROUP",
    SessionPolicyArn = "string",
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    LastModifiedTime = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$get_studio_session_mapping(
  StudioId = "string",
  IdentityId = "string",
  IdentityName = "string",
  IdentityType = "USER"|"GROUP"
)