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
5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 | |