update_studio_session_mapping(**kwargs)¶Updates the session policy attached to the user or group for the specified Amazon EMR Studio.
See also: AWS API Documentation
Request Syntax
response = client.update_studio_session_mapping(
StudioId='string',
IdentityId='string',
IdentityName='string',
IdentityType='USER'|'GROUP',
SessionPolicyArn='string'
)
[REQUIRED]
The ID of the Amazon EMR Studio.
IdentityName or IdentityId must be specified.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.
None
Exceptions
EMR.Client.exceptions.InternalServerErrorEMR.Client.exceptions.InvalidRequestException