Skip to main content

lens_version_differences

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

Overview

Namelens_version_differences
TypeResource
Idaws.wellarchitected.lens_version_differences

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
base_lens_versionstringThe base version of the lens.
latest_lens_versionstringThe latest version of the lens.
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.
target_lens_versionstringThe target lens version for the lens.
version_differencesobjectThe differences between the base and latest versions of the lens.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_lens_version_differenceselectlens_alias, regionBaseLensVersion, TargetLensVersionGet lens version differences.

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)
BaseLensVersionstringThe base version of the lens.
TargetLensVersionstringThe lens version to target a difference for.

SELECT examples

Get lens version differences.

SELECT
base_lens_version,
latest_lens_version,
lens_alias,
lens_arn,
target_lens_version,
version_differences
FROM aws.wellarchitected.lens_version_differences
WHERE lens_alias = '{{ lens_alias }}' -- required
AND region = '{{ region }}' -- required
AND BaseLensVersion = '{{ BaseLensVersion }}'
AND TargetLensVersion = '{{ TargetLensVersion }}'
;