deleteUser method
Deletes an ActiveMQ user.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
Parameter brokerId :
The unique ID that Amazon MQ generates for the broker.
Parameter username :
The username of the ActiveMQ user. This value can contain only
alphanumeric characters, dashes, periods, underscores, and tildes (- . _
~). This value must be 2-100 characters long.
Implementation
Future<void> deleteUser({
required String brokerId,
required String username,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/brokers/${Uri.encodeComponent(brokerId)}/users/${Uri.encodeComponent(username)}',
exceptionFnMap: _exceptionFns,
);
}