deleteMultiplex method
Delete a multiplex. The multiplex must be idle.
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<DeleteMultiplexResponse> deleteMultiplex({
required String multiplexId,
}) async {
ArgumentError.checkNotNull(multiplexId, 'multiplexId');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/prod/multiplexes/${Uri.encodeComponent(multiplexId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteMultiplexResponse.fromJson(response);
}