Maps a user or group to the Amazon EMR Studio specified by
StudioId, and applies a session policy to refine Studio permissions for that
user or group. Use CreateStudioSessionMapping to assign users to a Studio when
you use IAM Identity Center authentication. For instructions on how to assign users to a
Studio when you use IAM authentication, see Assign a user or group to your EMR Studio.
Example
Use a bare-bones client and the command you need to make an API call.
Maps a user or group to the Amazon EMR Studio specified by
StudioId
, and applies a session policy to refine Studio permissions for that user or group. UseCreateStudioSessionMapping
to assign users to a Studio when you use IAM Identity Center authentication. For instructions on how to assign users to a Studio when you use IAM authentication, see Assign a user or group to your EMR Studio.Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateStudioSessionMappingCommandInput
Returns
CreateStudioSessionMappingCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerError (server fault)
Indicates that an error occurred while processing the request and that the request was not completed.
Throws
InvalidRequestException (client fault)
This exception occurs when there is something wrong with user input.
Throws
EMRServiceException
Base exception class for all service exceptions from EMR service.