batchStop method
Stops running resources
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 channelIds :
List of channel IDs
Parameter multiplexIds :
List of multiplex IDs
Implementation
Future<BatchStopResponse> batchStop({
List<String>? channelIds,
List<String>? multiplexIds,
}) async {
final $payload = <String, dynamic>{
if (channelIds != null) 'channelIds': channelIds,
if (multiplexIds != null) 'multiplexIds': multiplexIds,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/prod/batch/stop',
exceptionFnMap: _exceptionFns,
);
return BatchStopResponse.fromJson(response);
}