import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient"; import type { CreateVpcLinkRequest, VpcLink } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateVpcLinkCommand}. */ export interface CreateVpcLinkCommandInput extends CreateVpcLinkRequest { } /** * @public * * The output of {@link CreateVpcLinkCommand}. */ export interface CreateVpcLinkCommandOutput extends VpcLink, __MetadataBearer { } declare const CreateVpcLinkCommand_base: { new (input: CreateVpcLinkCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateVpcLinkCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { APIGatewayClient, CreateVpcLinkCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import * // const { APIGatewayClient, CreateVpcLinkCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import * // import type { APIGatewayClientConfig } from "@aws-sdk/client-api-gateway"; * const config = {}; // type is APIGatewayClientConfig * const client = new APIGatewayClient(config); * const input = { // CreateVpcLinkRequest * name: "STRING_VALUE", // required * description: "STRING_VALUE", * targetArns: [ // ListOfString // required * "STRING_VALUE", * ], * tags: { // MapOfStringToString * "": "STRING_VALUE", * }, * }; * const command = new CreateVpcLinkCommand(input); * const response = await client.send(command); * // { // VpcLink * // id: "STRING_VALUE", * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // targetArns: [ // ListOfString * // "STRING_VALUE", * // ], * // status: "AVAILABLE" || "PENDING" || "DELETING" || "FAILED", * // statusMessage: "STRING_VALUE", * // tags: { // MapOfStringToString * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateVpcLinkCommandInput - {@link CreateVpcLinkCommandInput} * @returns {@link CreateVpcLinkCommandOutput} * @see {@link CreateVpcLinkCommandInput} for command's `input` shape. * @see {@link CreateVpcLinkCommandOutput} for command's `response` shape. * @see {@link APIGatewayClientResolvedConfig | config} for APIGatewayClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

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

The request configuration has conflicts. For details, see the accompanying error message.

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

The request exceeded the rate limit. Retry after the specified time period.

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

The request has reached its throttling limit. Retry after the specified time period.

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

The request is denied because the caller has insufficient permissions.

* * @throws {@link APIGatewayServiceException} *

Base exception class for all service exceptions from APIGateway service.

* * * @public */ export declare class CreateVpcLinkCommand extends CreateVpcLinkCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateVpcLinkRequest; output: VpcLink; }; sdk: { input: CreateVpcLinkCommandInput; output: CreateVpcLinkCommandOutput; }; }; }