update_answer
async
¶
update_answer(
workload_id: WorkloadId,
lens_alias: LensAlias,
question_id: QuestionId,
*,
config_overrides: Optional[AsyncWellArchitectedClientConfig] = 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/async_well_architected.py
6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 | |