deleteMultiplexProgram method
Delete a program from a multiplex.
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 that the program belongs to.
Parameter programName :
The multiplex program name.
Implementation
Future<DeleteMultiplexProgramResponse> deleteMultiplexProgram({
required String multiplexId,
required String programName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/prod/multiplexes/${Uri.encodeComponent(multiplexId)}/programs/${Uri.encodeComponent(programName)}',
exceptionFnMap: _exceptionFns,
);
return DeleteMultiplexProgramResponse.fromJson(response);
}