batchDeleteUniqueId method
Deletes multiple unique IDs in a matching workflow.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter uniqueIds :
The unique IDs to delete.
Parameter workflowName :
The name of the workflow.
Parameter inputSource :
The input source for the batch delete unique ID operation.
Implementation
Future<BatchDeleteUniqueIdOutput> batchDeleteUniqueId({
required List<String> uniqueIds,
required String workflowName,
String? inputSource,
}) async {
final headers = <String, String>{
'uniqueIds': _s.encodeHttpHeaderList(uniqueIds),
if (inputSource != null) 'inputSource': inputSource.toString(),
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/matchingworkflows/${Uri.encodeComponent(workflowName)}/uniqueids',
headers: headers,
exceptionFnMap: _exceptionFns,
);
return BatchDeleteUniqueIdOutput.fromJson(response);
}