import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeWebAppRequest, DescribeWebAppResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeWebAppCommand}. */ export interface DescribeWebAppCommandInput extends DescribeWebAppRequest { } /** * @public * * The output of {@link DescribeWebAppCommand}. */ export interface DescribeWebAppCommandOutput extends DescribeWebAppResponse, __MetadataBearer { } declare const DescribeWebAppCommand_base: { new (input: DescribeWebAppCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeWebAppCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes the web app that's identified by WebAppId. The response includes endpoint configuration details such as whether the web app 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, DescribeWebAppCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, DescribeWebAppCommand } = 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 = { // DescribeWebAppRequest * WebAppId: "STRING_VALUE", // required * }; * const command = new DescribeWebAppCommand(input); * const response = await client.send(command); * // { // DescribeWebAppResponse * // WebApp: { // DescribedWebApp * // Arn: "STRING_VALUE", // required * // WebAppId: "STRING_VALUE", // required * // DescribedIdentityProviderDetails: { // DescribedWebAppIdentityProviderDetails Union: only one key present * // IdentityCenterConfig: { // DescribedIdentityCenterConfig * // ApplicationArn: "STRING_VALUE", * // InstanceArn: "STRING_VALUE", * // Role: "STRING_VALUE", * // }, * // }, * // AccessEndpoint: "STRING_VALUE", * // WebAppEndpoint: "STRING_VALUE", * // WebAppUnits: { // WebAppUnits Union: only one key present * // Provisioned: Number("int"), * // }, * // Tags: [ // Tags * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // WebAppEndpointPolicy: "FIPS" || "STANDARD", * // EndpointType: "PUBLIC" || "VPC", * // DescribedEndpointDetails: { // DescribedWebAppEndpointDetails Union: only one key present * // Vpc: { // DescribedWebAppVpcConfig * // SubnetIds: [ // SubnetIds * // "STRING_VALUE", * // ], * // VpcId: "STRING_VALUE", * // VpcEndpointId: "STRING_VALUE", * // }, * // }, * // }, * // }; * * ``` * * @param DescribeWebAppCommandInput - {@link DescribeWebAppCommandInput} * @returns {@link DescribeWebAppCommandOutput} * @see {@link DescribeWebAppCommandInput} for command's `input` shape. * @see {@link DescribeWebAppCommandOutput} for command's `response` shape. * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

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

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

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

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

This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.

* * @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 DescribeWebAppCommand extends DescribeWebAppCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeWebAppRequest; output: DescribeWebAppResponse; }; sdk: { input: DescribeWebAppCommandInput; output: DescribeWebAppCommandOutput; }; }; }