import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateApplicationCommand}. */ export interface CreateApplicationCommandInput extends CreateApplicationRequest { } /** * @public * * The output of {@link CreateApplicationCommand}. */ export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer { } declare const CreateApplicationCommand_base: { new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the * applications created inside the environment, regardless of the account that creates the * application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and * Network Load Balancer for the application proxy inside your account.

*

In environments created with a CreateEnvironment:NetworkFabricType of NONE you need to configure * VPC to VPC connectivity between your service VPC and the application proxy VPC to * route traffic through the application proxy to a service with a private URL endpoint. For more * information, see * Create an application in the Refactor Spaces User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MigrationHubRefactorSpacesClient, CreateApplicationCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import * // const { MigrationHubRefactorSpacesClient, CreateApplicationCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import * // import type { MigrationHubRefactorSpacesClientConfig } from "@aws-sdk/client-migration-hub-refactor-spaces"; * const config = {}; // type is MigrationHubRefactorSpacesClientConfig * const client = new MigrationHubRefactorSpacesClient(config); * const input = { // CreateApplicationRequest * Name: "STRING_VALUE", // required * EnvironmentIdentifier: "STRING_VALUE", // required * VpcId: "STRING_VALUE", // required * ProxyType: "STRING_VALUE", // required * ApiGatewayProxy: { // ApiGatewayProxyInput * EndpointType: "STRING_VALUE", * StageName: "STRING_VALUE", * }, * Tags: { // TagMap * "": "STRING_VALUE", * }, * ClientToken: "STRING_VALUE", * }; * const command = new CreateApplicationCommand(input); * const response = await client.send(command); * // { // CreateApplicationResponse * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // OwnerAccountId: "STRING_VALUE", * // CreatedByAccountId: "STRING_VALUE", * // ApplicationId: "STRING_VALUE", * // EnvironmentId: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // ProxyType: "STRING_VALUE", * // ApiGatewayProxy: { // ApiGatewayProxyInput * // EndpointType: "STRING_VALUE", * // StageName: "STRING_VALUE", * // }, * // State: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // LastUpdatedTime: new Date("TIMESTAMP"), * // CreatedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput} * @returns {@link CreateApplicationCommandOutput} * @see {@link CreateApplicationCommandInput} for command's `input` shape. * @see {@link CreateApplicationCommandOutput} for command's `response` shape. * @see {@link MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The user does not have sufficient access to perform this action.

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

Updating or deleting a resource can cause an inconsistent state.

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

An unexpected error occurred while processing the request.

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

The request references a resource that does not exist.

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

The request would cause a service quota to be exceeded.

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

Request was denied because the request was throttled.

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

The input does not satisfy the constraints specified by an Amazon Web Service. *

* * @throws {@link MigrationHubRefactorSpacesServiceException} *

Base exception class for all service exceptions from MigrationHubRefactorSpaces service.

* * * @public */ export declare class CreateApplicationCommand extends CreateApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateApplicationRequest; output: CreateApplicationResponse; }; sdk: { input: CreateApplicationCommandInput; output: CreateApplicationCommandOutput; }; }; }