Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExportLensCommand

Export an existing lens.

Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide. Only the owner of a lens can export it.

Disclaimer

Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.

example

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

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

ExportLensCommandInput for command's input shape.

see

ExportLensCommandOutput for command's response shape.

see

config for WellArchitectedClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ExportLensCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ExportLensCommandInput, ExportLensCommandOutput>