EMR / Client / delete_studio_session_mapping

delete_studio_session_mapping#

EMR.Client.delete_studio_session_mapping(**kwargs)#

Removes a user or group from an Amazon EMR Studio.

See also: AWS API Documentation

Request Syntax

response = client.delete_studio_session_mapping(
    StudioId='string',
    IdentityId='string',
    IdentityName='string',
    IdentityType='USER'|'GROUP'
)
Parameters:
  • StudioId (string) –

    [REQUIRED]

    The ID of the Amazon EMR Studio.

  • IdentityId (string) – The globally unique identifier (GUID) of the user or group to remove from the Amazon EMR Studio. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified.

  • IdentityName (string) – The name of the user name or group to remove from the Amazon EMR Studio. For more information, see UserName and DisplayName in the IAM Identity Center Store API Reference. Either IdentityName or IdentityId must be specified.

  • IdentityType (string) –

    [REQUIRED]

    Specifies whether the identity to delete from the Amazon EMR Studio is a user or a group.

Returns:

None

Exceptions

  • EMR.Client.exceptions.InternalServerError

  • EMR.Client.exceptions.InvalidRequestException