update_answer
¶
update_answer(
workload_id: WorkloadId,
lens_alias: LensAlias,
question_id: QuestionId,
*,
config_overrides: Optional[WellArchitectedClientConfig] = None,
selected_choices: Optional[SelectedChoices] = None,
choice_updates: Optional[ChoiceUpdates] = None,
notes: Optional[Notes] = None,
is_applicable: Optional[IsApplicable] = None,
reason: Optional[AnswerReason] = None,
) -> UpdateAnswerOutput
Update the answer to a specific question in a workload review.
Parameters:
-
choice_updates(Optional[ChoiceUpdates], default:None) –A list of choices to update on a question in your workload. The String key corresponds to the choice ID to be updated.
-
reason(Optional[AnswerReason], default:None) –The reason why a question is not applicable to your workload.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–The resource has already been processed, was deleted, or is too large.
-
InternalServerException–There is a problem with the Well-Architected Tool API service.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The user input is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_wellarchitected/_services/well_architected.py
6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 | |