startPipe method

Future<StartPipeResponse> startPipe({
  1. required String name,
})

Start an existing pipe.

May throw ConflictException. May throw InternalException. May throw NotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter name : The name of the pipe.

Implementation

Future<StartPipeResponse> startPipe({
  required String name,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/v1/pipes/${Uri.encodeComponent(name)}/start',
    exceptionFnMap: _exceptionFns,
  );
  return StartPipeResponse.fromJson(response);
}