import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListWebAppsRequest, ListWebAppsResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListWebAppsCommand}. */ export interface ListWebAppsCommandInput extends ListWebAppsRequest { } /** * @public * * The output of {@link ListWebAppsCommand}. */ export interface ListWebAppsCommandOutput extends ListWebAppsResponse, __MetadataBearer { } declare const ListWebAppsCommand_base: { new (input: ListWebAppsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListWebAppsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists all web apps associated with your Amazon Web Services account for your current region. The response includes the endpoint type for each web app, showing whether it is publicly accessible or VPC hosted.

For more information about using VPC endpoints with Transfer Family, see Create a Transfer Family web app in a VPC.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TransferClient, ListWebAppsCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, ListWebAppsCommand } = require("@aws-sdk/client-transfer"); // CommonJS import * // import type { TransferClientConfig } from "@aws-sdk/client-transfer"; * const config = {}; // type is TransferClientConfig * const client = new TransferClient(config); * const input = { // ListWebAppsRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListWebAppsCommand(input); * const response = await client.send(command); * // { // ListWebAppsResponse * // NextToken: "STRING_VALUE", * // WebApps: [ // ListedWebApps // required * // { // ListedWebApp * // Arn: "STRING_VALUE", // required * // WebAppId: "STRING_VALUE", // required * // AccessEndpoint: "STRING_VALUE", * // WebAppEndpoint: "STRING_VALUE", * // EndpointType: "PUBLIC" || "VPC", * // }, * // ], * // }; * * ``` * * @param ListWebAppsCommandInput - {@link ListWebAppsCommandInput} * @returns {@link ListWebAppsCommandOutput} * @see {@link ListWebAppsCommandInput} for command's `input` shape. * @see {@link ListWebAppsCommandOutput} for command's `response` shape. * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape. * * @throws {@link InternalServiceError} (server fault) *

This exception is thrown when an error occurs in the Transfer Family service.

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

The NextToken parameter that was passed is invalid.

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

This exception is thrown when the client submits a malformed request.

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

The request was denied due to request throttling.

* * @throws {@link TransferServiceException} *

Base exception class for all service exceptions from Transfer service.

* * * @public */ export declare class ListWebAppsCommand extends ListWebAppsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListWebAppsRequest; output: ListWebAppsResponse; }; sdk: { input: ListWebAppsCommandInput; output: ListWebAppsCommandOutput; }; }; }