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 BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw BadGatewayException. May throw NotFoundException. May throw GatewayTimeoutException. May throw TooManyRequestsException. May throw ConflictException.

Parameter multiplexId : The ID of the multiplex.

Implementation

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