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