/AWS1/IF_EMR=>UPDATESTUDIOSESSIONMAPPING()¶
About UpdateStudioSessionMapping¶
Updates the session policy attached to the user or group for the specified Amazon EMR Studio.
Method Signature¶
METHODS /AWS1/IF_EMR~UPDATESTUDIOSESSIONMAPPING
IMPORTING
!IV_STUDIOID TYPE /AWS1/EMRXMLSTRINGMAXLEN256 OPTIONAL
!IV_IDENTITYID TYPE /AWS1/EMRXMLSTRINGMAXLEN256 OPTIONAL
!IV_IDENTITYNAME TYPE /AWS1/EMRXMLSTRINGMAXLEN256 OPTIONAL
!IV_IDENTITYTYPE TYPE /AWS1/EMRIDENTITYTYPE OPTIONAL
!IV_SESSIONPOLICYARN TYPE /AWS1/EMRXMLSTRINGMAXLEN256 OPTIONAL
RAISING
/AWS1/CX_EMRINTERNALSERVERERR
/AWS1/CX_EMRINVALIDREQUESTEX
/AWS1/CX_EMRCLIENTEXC
/AWS1/CX_EMRSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
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
IdentityNameorIdentityIdmust 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
IdentityNameorIdentityIdmust 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->updatestudiosessionmapping(
iv_identityid = |string|
iv_identityname = |string|
iv_identitytype = |string|
iv_sessionpolicyarn = |string|
iv_studioid = |string|
).