deleteAttendee method

Future<void> deleteAttendee({
  1. required String attendeeId,
  2. required String meetingId,
})

Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their JoinToken. Attendees are automatically deleted when a Amazon Chime SDK meeting is deleted. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

May throw BadRequestException. May throw ForbiddenException. May throw ThrottledClientException. May throw NotFoundException. May throw UnauthorizedClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter attendeeId : The Amazon Chime SDK attendee ID.

Parameter meetingId : The Amazon Chime SDK meeting ID.

Implementation

Future<void> deleteAttendee({
  required String attendeeId,
  required String meetingId,
}) async {
  ArgumentError.checkNotNull(attendeeId, 'attendeeId');
  ArgumentError.checkNotNull(meetingId, 'meetingId');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/meetings/${Uri.encodeComponent(meetingId)}/attendees/${Uri.encodeComponent(attendeeId)}',
    exceptionFnMap: _exceptionFns,
  );
}