v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1443255183.8 KB

Update the answer to a specific question in a workload review.

patch/workloads/{WorkloadId}/lensReviews/{LensAlias}/answers/{QuestionId}

Path parameters

WorkloadIdstring required

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

LensAliasstring required
<p>The alias of the lens.</p> <p>For Amazon Web Services official lenses, this is either the lens alias, such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p> <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>. </p> <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
QuestionIdstring required

The ID of the question.

Request body

SelectedChoicesChoiceId[]
<p>List of selected choice IDs in a question answer.</p> <p>The values entered replace the previously selected choices.</p>
ChoiceUpdatesobject

A list of choices to update on a question in your workload. The String key corresponds to the choice ID to be updated.

Notesstring

The notes associated with the workload.

IsApplicableboolean

Defines whether this question is applicable to a lens review.

Reason'OUT_OF_SCOPE' | 'BUSINESS_PRIORITIES' | 'ARCHITECTURE_CONSTRAINTS' | 'OTHER' | 'NONE'

The reason why a question is not applicable to your workload.

Response

Success

WorkloadIdstring

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

LensAliasstring
<p>The alias of the lens.</p> <p>For Amazon Web Services official lenses, this is either the lens alias, such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p> <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>. </p> <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
LensArnstring

The ARN for the lens.