deleteMeeting method
Deletes the specified Amazon Chime SDK meeting. When a meeting is deleted, its attendees are also deleted and clients can no longer join it. 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 meetingId
:
The Amazon Chime SDK meeting ID.
Implementation
Future<void> deleteMeeting({
required String meetingId,
}) async {
ArgumentError.checkNotNull(meetingId, 'meetingId');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/meetings/${Uri.encodeComponent(meetingId)}',
exceptionFnMap: _exceptionFns,
);
}