deleteBroker method
Deletes a broker. Note: This API is asynchronous.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
Parameter brokerId :
The unique ID that Amazon MQ generates for the broker.
Implementation
Future<DeleteBrokerResponse> deleteBroker({
required String brokerId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/v1/brokers/${Uri.encodeComponent(brokerId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteBrokerResponse.fromJson(response);
}