startThreatModelJob method
Starts a new threat model job for a threat model configuration.
Parameter agentSpaceId :
The unique identifier of the agent space.
Parameter threatModelId :
The unique identifier of the threat model to start a job for.
Implementation
Future<StartThreatModelJobOutput> startThreatModelJob({
required String agentSpaceId,
required String threatModelId,
}) async {
final $payload = <String, dynamic>{
'agentSpaceId': agentSpaceId,
'threatModelId': threatModelId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/StartThreatModelJob',
exceptionFnMap: _exceptionFns,
);
return StartThreatModelJobOutput.fromJson(response);
}