delete_room_membership
async
¶
delete_room_membership(
account_id: NonEmptyString,
room_id: NonEmptyString,
member_id: NonEmptyString,
*,
config_overrides: Optional[AsyncChimeClientConfig] = None,
) -> None
Removes a member from a chat room in an Amazon Chime Enterprise account.
Parameters:
-
account_id(NonEmptyString) –The Amazon Chime account ID.
-
room_id(NonEmptyString) –The room ID.
-
member_id(NonEmptyString) –The member ID (user ID or bot ID).
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The client exceeded its request rate limit.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.