Skip to content

Update Studio Session Mapping

emr_update_studio_session_mapping R Documentation

Updates the session policy attached to the user or group for the specified Amazon EMR Studio

Description

Updates the session policy attached to the user or group for the specified Amazon EMR Studio.

Usage

emr_update_studio_session_mapping(StudioId, IdentityId, IdentityName,
  IdentityType, SessionPolicyArn)

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 update. 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 update is a user or a group.

SessionPolicyArn

[required] The Amazon Resource Name (ARN) of the session policy to associate with the specified user or group.

Value

An empty list.

Request syntax

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