batchGetThreatModelJobTasks method
Retrieves information about one or more tasks within a threat model job.
Parameter agentSpaceId :
The unique identifier of the agent space that contains the tasks.
Parameter threatModelJobTaskIds :
The list of task identifiers to retrieve.
Implementation
Future<BatchGetThreatModelJobTasksOutput> batchGetThreatModelJobTasks({
required String agentSpaceId,
required List<String> threatModelJobTaskIds,
}) async {
final $payload = <String, dynamic>{
'agentSpaceId': agentSpaceId,
'threatModelJobTaskIds': threatModelJobTaskIds,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/BatchGetThreatModelJobTasks',
exceptionFnMap: _exceptionFns,
);
return BatchGetThreatModelJobTasksOutput.fromJson(response);
}