/AWS1/CL_EMR=>CREATESTUDIOSESSIONMAPPING()
¶
About CreateStudioSessionMapping¶
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. Use CreateStudioSessionMapping
to assign users to a Studio when
you use IAM Identity Center authentication. For instructions on how to assign users to a
Studio when you use IAM authentication, see Assign a user or group to your EMR Studio.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_studioid
TYPE /AWS1/EMRXMLSTRINGMAXLEN256
/AWS1/EMRXMLSTRINGMAXLEN256
¶
The ID of the Amazon EMR Studio to which the user or group will be mapped.
iv_identitytype
TYPE /AWS1/EMRIDENTITYTYPE
/AWS1/EMRIDENTITYTYPE
¶
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
iv_sessionpolicyarn
TYPE /AWS1/EMRXMLSTRINGMAXLEN256
/AWS1/EMRXMLSTRINGMAXLEN256
¶
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an Amazon EMR Studio User Role with Session Policies.
Optional arguments:¶
iv_identityid
TYPE /AWS1/EMRXMLSTRINGMAXLEN256
/AWS1/EMRXMLSTRINGMAXLEN256
¶
The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either
IdentityName
orIdentityId
must be specified, but not both.
iv_identityname
TYPE /AWS1/EMRXMLSTRINGMAXLEN256
/AWS1/EMRXMLSTRINGMAXLEN256
¶
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either
IdentityName
orIdentityId
must be specified, but not both.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->/aws1/if_emr~createstudiosessionmapping(
iv_identityid = |string|
iv_identityname = |string|
iv_identitytype = |string|
iv_sessionpolicyarn = |string|
iv_studioid = |string|
).