Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateLensVersionCommand

Create a new lens version.

A lens can have up to 100 versions.

After a lens has been imported, create a new lens version to publish it. The owner of a lens can share the lens with other Amazon Web Services accounts and IAM users in the same Amazon Web Services Region. Only the owner of a lens can delete it.

example

Use a bare-bones client and the command you need to make an API call.

import { WellArchitectedClient, CreateLensVersionCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
// const { WellArchitectedClient, CreateLensVersionCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
const client = new WellArchitectedClient(config);
const command = new CreateLensVersionCommand(input);
const response = await client.send(command);
see

CreateLensVersionCommandInput for command's input shape.

see

CreateLensVersionCommandOutput for command's response shape.

see

config for WellArchitectedClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateLensVersionCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions