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
7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 | |