Skip to content

Create Lens Version

wellarchitected_create_lens_version R Documentation

Create a new lens version

Description

Create a new lens version.

A lens can have up to 100 versions.

Use this operation to publish a new lens version after you have imported a lens. The LensAlias is used to identify the lens to be published. The owner of a lens can share the lens with other Amazon Web Services accounts and users in the same Amazon Web Services Region. Only the owner of a lens can delete it.

Usage

wellarchitected_create_lens_version(LensAlias, LensVersion,
  IsMajorVersion, ClientRequestToken)

Arguments

LensAlias

[required]

LensVersion

[required] The version of the lens being created.

IsMajorVersion

Set to true if this new major lens version.

ClientRequestToken

[required]

Value

A list with the following syntax:

list(
  LensArn = "string",
  LensVersion = "string"
)

Request syntax

svc$create_lens_version(
  LensAlias = "string",
  LensVersion = "string",
  IsMajorVersion = TRUE|FALSE,
  ClientRequestToken = "string"
)