Skip to content

/AWS1/CL_EMR=>UPDATESTUDIOSESSIONMAPPING()

About UpdateStudioSessionMapping

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

Method Signature

IMPORTING

Required arguments:

iv_studioid TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

The ID of the Amazon EMR Studio.

iv_identitytype TYPE /AWS1/EMRIDENTITYTYPE /AWS1/EMRIDENTITYTYPE

Specifies whether the identity to update is a user or a group.

iv_sessionpolicyarn TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

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

Optional arguments:

iv_identityid TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

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.

iv_identityname TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

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.

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~updatestudiosessionmapping(
  iv_identityid = |string|
  iv_identityname = |string|
  iv_identitytype = |string|
  iv_sessionpolicyarn = |string|
  iv_studioid = |string|
).