Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DisassociateLensesCommand

Disassociate a lens from a workload.

Up to 10 lenses can be disassociated from a workload in a single API operation.

The Amazon Web Services Well-Architected Framework lens (wellarchitected) cannot be removed from a workload.

example

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

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

DisassociateLensesCommandInput for command's input shape.

see

DisassociateLensesCommandOutput for command's response shape.

see

config for WellArchitectedClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DisassociateLensesCommandInput

Readonly middlewareStack