batchGetThreatModelJobs method

Future<BatchGetThreatModelJobsOutput> batchGetThreatModelJobs({
  1. required String agentSpaceId,
  2. required List<String> threatModelJobIds,
})

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);
}