The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change.
Updates the session policy attached to the user or group for the specified Amazon EMR Studio.
emr_update_studio_session_mapping(StudioId, IdentityId, IdentityName,
IdentityType, SessionPolicyArn)
An empty list.
[required] The ID of the EMR Studio.
The globally unique identifier (GUID) of the user or group. For more
information, see
UserId
and
GroupId
in the AWS SSO Identity Store API Reference. Either IdentityName
or
IdentityId
must be specified.
The name of the user or group to update. For more information, see
UserName
and
DisplayName
in the AWS SSO Identity Store API Reference. Either IdentityName
or
IdentityId
must be specified.
[required] Specifies whether the identity to update is a user or a group.
[required] The Amazon Resource Name (ARN) of the session policy to associate with the specified user or group.
svc$update_studio_session_mapping(
StudioId = "string",
IdentityId = "string",
IdentityName = "string",
IdentityType = "USER"|"GROUP",
SessionPolicyArn = "string"
)