deleteEventsConfiguration method
Deletes the events configuration that allows a bot to receive outgoing events.
May throw ServiceUnavailableException. May throw ServiceFailureException. May throw ForbiddenException. May throw BadRequestException. May throw UnauthorizedClientException. May throw ResourceLimitExceededException.
Parameter accountId
:
The Amazon Chime account ID.
Parameter botId
:
The bot ID.
Implementation
Future<void> deleteEventsConfiguration({
required String accountId,
required String botId,
}) async {
ArgumentError.checkNotNull(accountId, 'accountId');
ArgumentError.checkNotNull(botId, 'botId');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/accounts/${Uri.encodeComponent(accountId)}/bots/${Uri.encodeComponent(botId)}/events-configuration',
exceptionFnMap: _exceptionFns,
);
}