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