delete_studio_session_mapping
async
¶
delete_studio_session_mapping(
*,
config_overrides: Optional[AsyncEMRClientConfig] = None,
studio_id: Optional[XmlStringMaxLen256] = None,
identity_id: Optional[XmlStringMaxLen256] = None,
identity_name: Optional[XmlStringMaxLen256] = None,
identity_type: Optional[IdentityType] = None,
) -> None
Removes a user or group from an Amazon EMR Studio.
Parameters:
-
studio_id(Optional[XmlStringMaxLen256], default:None) –The ID of the Amazon EMR Studio.
-
identity_id(Optional[XmlStringMaxLen256], default:None) – -
identity_name(Optional[XmlStringMaxLen256], default:None) –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
IdentityNameorIdentityIdmust be specified. -
identity_type(Optional[IdentityType], default:None) –Specifies whether the identity to delete from the Amazon EMR Studio is a user or a group.
Raises:
-
InternalServerError–Indicates that an error occurred while processing the request and that the request was not completed.
-
InvalidRequestException–This exception occurs when there is something wrong with user input.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_emr/_services/async_emr.py
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 | |