batchGetThreatModelJobs method
Retrieves information about one or more threat model jobs in an agent space.
Parameter agentSpaceId :
The unique identifier of the agent space that contains the threat model
jobs.
Parameter threatModelJobIds :
The list of threat model job identifiers to retrieve.
Implementation
Future<BatchGetThreatModelJobsOutput> batchGetThreatModelJobs({
required String agentSpaceId,
required List<String> threatModelJobIds,
}) async {
final $payload = <String, dynamic>{
'agentSpaceId': agentSpaceId,
'threatModelJobIds': threatModelJobIds,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/BatchGetThreatModelJobs',
exceptionFnMap: _exceptionFns,
);
return BatchGetThreatModelJobsOutput.fromJson(response);
}