v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465378349.0 KB

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

post/#X-Amz-Target=ElasticMapReduce.UpdateStudioSessionMapping

Headers

X-Amz-Target'ElasticMapReduce.UpdateStudioSessionMapping' required

Request body

StudioIdstring required

The ID of the Amazon EMR Studio.

IdentityIdstring

The globally unique identifier (GUID) of the user or group. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId">UserId</a> and <a href="https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId">GroupId</a> in the <i>IAM Identity Center Identity Store API Reference</i>. Either <code>IdentityName</code> or <code>IdentityId</code> must be specified.

IdentityNamestring

The name of the user or group to update. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName">UserName</a> and <a href="https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName">DisplayName</a> in the <i>IAM Identity Center Identity Store API Reference</i>. Either <code>IdentityName</code> or <code>IdentityId</code> must be specified.

IdentityType'USER' | 'GROUP' required

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

SessionPolicyArnstring required

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

Response

Success