Learn R Programming

paws.analytics (version 0.1.11)

emr_create_studio_session_mapping: The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change

Description

The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change.

Maps a user or group to the Amazon EMR Studio specified by StudioId, and applies a session policy to refine Studio permissions for that user or group.

Usage

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

Arguments

StudioId

[required] The ID of the Amazon EMR Studio to which the user or group will be mapped.

IdentityId

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

IdentityName

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

IdentityType

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

SessionPolicyArn

[required] The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. Session policies refine Studio user permissions without the need to use multiple IAM user roles.

Value

An empty list.

Request syntax

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