startFlow method
Starts a flow.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
Parameter flowArn :
The Amazon Resource Name (ARN) of the flow that you want to start.
Implementation
Future<StartFlowResponse> startFlow({
required String flowArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/v1/flows/start/${Uri.encodeComponent(flowArn)}',
exceptionFnMap: _exceptionFns,
);
return StartFlowResponse.fromJson(response);
}