update_threat_model
async
¶
update_threat_model(
threat_model_id: str,
agent_space_id: str,
*,
config_overrides: Optional[AsyncSecurityAgentClientConfig] = None,
title: Optional[str] = None,
description: Optional[str] = None,
assets: Optional[Assets] = None,
scope_docs: Optional[DocumentList] = None,
service_role: Optional[ServiceRole] = None,
log_config: Optional[CloudWatchLog] = None,
report_destination: Optional[ReportDestination] = None,
) -> UpdateThreatModelOutput
Updates an existing threat model configuration.
Parameters:
-
threat_model_id(str) –The unique identifier of the threat model to update.
-
agent_space_id(str) –The unique identifier of the agent space that contains the threat model.
-
title(Optional[str], default:None) –The updated title of the threat model.
-
description(Optional[str], default:None) –The updated description of the application or system being threat modeled.
-
assets(Optional[Assets], default:None) –The updated assets for the threat model.
-
scope_docs(Optional[DocumentList], default:None) –The updated scoped documents for the agent to focus on during threat modeling.
-
service_role(Optional[ServiceRole], default:None) –The updated IAM service role for the threat model.
-
log_config(Optional[CloudWatchLog], default:None) –The updated CloudWatch Logs configuration for the threat model.
-
report_destination(Optional[ReportDestination], default:None) –The destination for publishing scan reports to an integrated document provider.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityagent/_services/async_security_agent.py
5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 | |