import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetLensInput, GetLensOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetLensCommand}. */ export interface GetLensCommandInput extends GetLensInput { } /** * @public * * The output of {@link GetLensCommand}. */ export interface GetLensCommandOutput extends GetLensOutput, __MetadataBearer { } declare const GetLensCommand_base: { new (input: GetLensCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetLensCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Get an existing lens.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WellArchitectedClient, GetLensCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import * // const { WellArchitectedClient, GetLensCommand } = 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 = { // GetLensInput * LensAlias: "STRING_VALUE", // required * LensVersion: "STRING_VALUE", * }; * const command = new GetLensCommand(input); * const response = await client.send(command); * // { // GetLensOutput * // Lens: { // Lens * // LensArn: "STRING_VALUE", * // LensVersion: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Owner: "STRING_VALUE", * // ShareInvitationId: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param GetLensCommandInput - {@link GetLensCommandInput} * @returns {@link GetLensCommandOutput} * @see {@link GetLensCommandInput} for command's `input` shape. * @see {@link GetLensCommandOutput} 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 GetLensCommand extends GetLensCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetLensInput; output: GetLensOutput; }; sdk: { input: GetLensCommandInput; output: GetLensCommandOutput; }; }; }