lens_version_differences
Creates, updates, deletes, gets or lists a lens_version_differences resource.
Overview
| Name | lens_version_differences |
| Type | Resource |
| Id | aws.wellarchitected.lens_version_differences |
Fields
The following fields are returned by SELECT queries:
- get_lens_version_difference
| Name | Datatype | Description |
|---|---|---|
base_lens_version | string | The base version of the lens. |
latest_lens_version | string | The latest version of the lens. |
lens_alias | string | The 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_arn | string | The ARN for the lens. |
target_lens_version | string | The target lens version for the lens. |
version_differences | object | The differences between the base and latest versions of the lens. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_lens_version_difference | select | lens_alias, region | BaseLensVersion, TargetLensVersion | Get 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.
| Name | Datatype | Description |
|---|---|---|
lens_alias | string | |
region | string | AWS region (default: us-east-1) |
BaseLensVersion | string | The base version of the lens. |
TargetLensVersion | string | The lens version to target a difference for. |
SELECT examples
- get_lens_version_difference
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 }}'
;