Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssociateLensesCommand

Associate a lens to a workload.

Up to 10 lenses can be associated with a workload in a single API operation. A maximum of 20 lenses can be associated with a workload.

Disclaimer

By accessing and/or applying custom lenses created by another Amazon Web Services user or account, you acknowledge that custom lenses created by other users and shared with you are Third Party Content as defined in the Amazon Web Services Customer Agreement.

example

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

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

AssociateLensesCommandInput for command's input shape.

see

AssociateLensesCommandOutput for command's response shape.

see

config for WellArchitectedClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: AssociateLensesCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<AssociateLensesCommandInput, AssociateLensesCommandOutput>

Methods

Static getEndpointParameterInstructions