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

Creates a web app based on specified parameters, and returns the ID for the new web app. You can configure the web app to be publicly accessible or hosted within a VPC.

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, CreateWebAppCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, CreateWebAppCommand } = 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 = { // CreateWebAppRequest * IdentityProviderDetails: { // WebAppIdentityProviderDetails Union: only one key present * IdentityCenterConfig: { // IdentityCenterConfig * InstanceArn: "STRING_VALUE", * Role: "STRING_VALUE", * }, * }, * AccessEndpoint: "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", * EndpointDetails: { // WebAppEndpointDetails Union: only one key present * Vpc: { // WebAppVpcConfig * SubnetIds: [ // SubnetIds * "STRING_VALUE", * ], * VpcId: "STRING_VALUE", * SecurityGroupIds: [ // SecurityGroupIds * "STRING_VALUE", * ], * }, * }, * }; * const command = new CreateWebAppCommand(input); * const response = await client.send(command); * // { // CreateWebAppResponse * // WebAppId: "STRING_VALUE", // required * // }; * * ``` * * @param CreateWebAppCommandInput - {@link CreateWebAppCommandInput} * @returns {@link CreateWebAppCommandOutput} * @see {@link CreateWebAppCommandInput} for command's `input` shape. * @see {@link CreateWebAppCommandOutput} 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 CreateWebAppCommand extends CreateWebAppCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateWebAppRequest; output: CreateWebAppResponse; }; sdk: { input: CreateWebAppCommandInput; output: CreateWebAppCommandOutput; }; }; }