stopMultiplex method

Future<StopMultiplexResponse> stopMultiplex({
  1. required String multiplexId,
})

Stops a running multiplex. If the multiplex isn't running, this action has no effect.

May throw BadGatewayException. May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter multiplexId : The ID of the multiplex.

Implementation

Future<StopMultiplexResponse> stopMultiplex({
  required String multiplexId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/prod/multiplexes/${Uri.encodeComponent(multiplexId)}/stop',
    exceptionFnMap: _exceptionFns,
  );
  return StopMultiplexResponse.fromJson(response);
}