import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListShareInvitationsInput, ListShareInvitationsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListShareInvitationsCommand}. */ export interface ListShareInvitationsCommandInput extends ListShareInvitationsInput { } /** * @public * * The output of {@link ListShareInvitationsCommand}. */ export interface ListShareInvitationsCommandOutput extends ListShareInvitationsOutput, __MetadataBearer { } declare const ListShareInvitationsCommand_base: { new (input: ListShareInvitationsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListShareInvitationsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

List the share invitations.

WorkloadNamePrefix, LensNamePrefix, ProfileNamePrefix, and TemplateNamePrefix are mutually exclusive. Use the parameter that matches your ShareResourceType.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WellArchitectedClient, ListShareInvitationsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import * // const { WellArchitectedClient, ListShareInvitationsCommand } = 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 = { // ListShareInvitationsInput * WorkloadNamePrefix: "STRING_VALUE", * LensNamePrefix: "STRING_VALUE", * ShareResourceType: "WORKLOAD" || "LENS" || "PROFILE" || "TEMPLATE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * ProfileNamePrefix: "STRING_VALUE", * TemplateNamePrefix: "STRING_VALUE", * }; * const command = new ListShareInvitationsCommand(input); * const response = await client.send(command); * // { // ListShareInvitationsOutput * // ShareInvitationSummaries: [ // ShareInvitationSummaries * // { // ShareInvitationSummary * // ShareInvitationId: "STRING_VALUE", * // SharedBy: "STRING_VALUE", * // SharedWith: "STRING_VALUE", * // PermissionType: "READONLY" || "CONTRIBUTOR", * // ShareResourceType: "WORKLOAD" || "LENS" || "PROFILE" || "TEMPLATE", * // WorkloadName: "STRING_VALUE", * // WorkloadId: "STRING_VALUE", * // LensName: "STRING_VALUE", * // LensArn: "STRING_VALUE", * // ProfileName: "STRING_VALUE", * // ProfileArn: "STRING_VALUE", * // TemplateName: "STRING_VALUE", * // TemplateArn: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListShareInvitationsCommandInput - {@link ListShareInvitationsCommandInput} * @returns {@link ListShareInvitationsCommandOutput} * @see {@link ListShareInvitationsCommandInput} for command's `input` shape. * @see {@link ListShareInvitationsCommandOutput} 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 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 ListShareInvitationsCommand extends ListShareInvitationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListShareInvitationsInput; output: ListShareInvitationsOutput; }; sdk: { input: ListShareInvitationsCommandInput; output: ListShareInvitationsCommandOutput; }; }; }