batchDelete method
Starts delete of 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 inputIds :
List of input IDs
Parameter inputSecurityGroupIds :
List of input security group IDs
Parameter multiplexIds :
List of multiplex IDs
Implementation
Future<BatchDeleteResponse> batchDelete({
List<String>? channelIds,
List<String>? inputIds,
List<String>? inputSecurityGroupIds,
List<String>? multiplexIds,
}) async {
final $payload = <String, dynamic>{
if (channelIds != null) 'channelIds': channelIds,
if (inputIds != null) 'inputIds': inputIds,
if (inputSecurityGroupIds != null)
'inputSecurityGroupIds': inputSecurityGroupIds,
if (multiplexIds != null) 'multiplexIds': multiplexIds,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/prod/batch/delete',
exceptionFnMap: _exceptionFns,
);
return BatchDeleteResponse.fromJson(response);
}