Skip to main content

lens_review_improvements

Creates, updates, deletes, gets or lists a lens_review_improvements resource.

Overview

Namelens_review_improvements
TypeResource
Idaws.wellarchitected.lens_review_improvements

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
improvement_summariesarrayList of improvement summaries of lens review in a workload.
lens_aliasstringThe alias of the lens. For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses. For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef. Each lens is identified by its LensSummary$LensAlias.
lens_arnstringThe ARN for the lens.
milestone_numberintegerThe milestone number. A workload can have a maximum of 100 milestones.
next_tokenstringThe token to use to retrieve the next set of results. (pattern: <code>[A-Za-z0-9+/=_-]+</code>)
workload_idstringThe ID assigned to the workload. This ID is unique within an Amazon Web Services Region. (pattern: <code>[0-9a-f]{32}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_lens_review_improvementsselectworkload_id, lens_alias, regionPillarId, MilestoneNumber, NextToken, MaxResults, QuestionPriorityList the improvements of a particular lens review.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
lens_aliasstring
regionstringAWS region (default: us-east-1)
workload_idstring
MaxResultsintegerThe maximum number of results to return for this request.
MilestoneNumberinteger
NextTokenstring
PillarIdstring
QuestionPrioritystringThe priority of the question.

SELECT examples

List the improvements of a particular lens review.

SELECT
improvement_summaries,
lens_alias,
lens_arn,
milestone_number,
next_token,
workload_id
FROM aws.wellarchitected.lens_review_improvements
WHERE workload_id = '{{ workload_id }}' -- required
AND lens_alias = '{{ lens_alias }}' -- required
AND region = '{{ region }}' -- required
AND PillarId = '{{ PillarId }}'
AND MilestoneNumber = '{{ MilestoneNumber }}'
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
AND QuestionPriority = '{{ QuestionPriority }}'
;