Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteLensShareCommand

Delete a lens share.

After the lens share is deleted, Amazon Web Services accounts and IAM users that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.

Disclaimer

By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.

example

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

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

DeleteLensShareCommandInput for command's input shape.

see

DeleteLensShareCommandOutput for command's response shape.

see

config for WellArchitectedClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteLensShareCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteLensShareCommandInput, DeleteLensShareCommandOutput>