restartRouterOutput method
Restarts a router output. This operation can be used to recover from errors or refresh the output state.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
Parameter arn :
The Amazon Resource Name (ARN) of the router output that you want to
restart.
Implementation
Future<RestartRouterOutputResponse> restartRouterOutput({
required String arn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/v1/routerOutput/restart/${Uri.encodeComponent(arn)}',
exceptionFnMap: _exceptionFns,
);
return RestartRouterOutputResponse.fromJson(response);
}