import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListLensSharesInput, ListLensSharesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListLensSharesCommand}. */ export interface ListLensSharesCommandInput extends ListLensSharesInput { } /** * @public * * The output of {@link ListLensSharesCommand}. */ export interface ListLensSharesCommandOutput extends ListLensSharesOutput, __MetadataBearer { } declare const ListLensSharesCommand_base: { new (input: ListLensSharesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListLensSharesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

List the lens shares associated with the lens.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WellArchitectedClient, ListLensSharesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import * // const { WellArchitectedClient, ListLensSharesCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected"; * const config = {}; // type is WellArchitectedClientConfig * const client = new WellArchitectedClient(config); * const input = { // ListLensSharesInput * LensAlias: "STRING_VALUE", // required * SharedWithPrefix: "STRING_VALUE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * Status: "ACCEPTED" || "REJECTED" || "PENDING" || "REVOKED" || "EXPIRED" || "ASSOCIATING" || "ASSOCIATED" || "FAILED", * }; * const command = new ListLensSharesCommand(input); * const response = await client.send(command); * // { // ListLensSharesOutput * // LensShareSummaries: [ // LensShareSummaries * // { // LensShareSummary * // ShareId: "STRING_VALUE", * // SharedWith: "STRING_VALUE", * // Status: "ACCEPTED" || "REJECTED" || "PENDING" || "REVOKED" || "EXPIRED" || "ASSOCIATING" || "ASSOCIATED" || "FAILED", * // StatusMessage: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListLensSharesCommandInput - {@link ListLensSharesCommandInput} * @returns {@link ListLensSharesCommandOutput} * @see {@link ListLensSharesCommandInput} for command's `input` shape. * @see {@link ListLensSharesCommandOutput} for command's `response` shape. * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User does not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

There is a problem with the Well-Architected Tool API service.

* * @throws {@link ResourceNotFoundException} (client fault) *

The requested resource was not found.

* * @throws {@link ThrottlingException} (client fault) *

Request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The user input is not valid.

* * @throws {@link WellArchitectedServiceException} *

Base exception class for all service exceptions from WellArchitected service.

* * * @public */ export declare class ListLensSharesCommand extends ListLensSharesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListLensSharesInput; output: ListLensSharesOutput; }; sdk: { input: ListLensSharesCommandInput; output: ListLensSharesCommandOutput; }; }; }