import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client"; import type { GetVpcLinkRequest, GetVpcLinkResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetVpcLinkCommand}. */ export interface GetVpcLinkCommandInput extends GetVpcLinkRequest { } /** * @public * * The output of {@link GetVpcLinkCommand}. */ export interface GetVpcLinkCommandOutput extends GetVpcLinkResponse, __MetadataBearer { } declare const GetVpcLinkCommand_base: { new (input: GetVpcLinkCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetVpcLinkCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets a VPC link.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApiGatewayV2Client, GetVpcLinkCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import * // const { ApiGatewayV2Client, GetVpcLinkCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import * // import type { ApiGatewayV2ClientConfig } from "@aws-sdk/client-apigatewayv2"; * const config = {}; // type is ApiGatewayV2ClientConfig * const client = new ApiGatewayV2Client(config); * const input = { // GetVpcLinkRequest * VpcLinkId: "STRING_VALUE", // required * }; * const command = new GetVpcLinkCommand(input); * const response = await client.send(command); * // { // GetVpcLinkResponse * // CreatedDate: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", * // SecurityGroupIds: [ // SecurityGroupIdList * // "STRING_VALUE", * // ], * // SubnetIds: [ // SubnetIdList * // "STRING_VALUE", * // ], * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // VpcLinkId: "STRING_VALUE", * // VpcLinkStatus: "PENDING" || "AVAILABLE" || "DELETING" || "FAILED" || "INACTIVE", * // VpcLinkStatusMessage: "STRING_VALUE", * // VpcLinkVersion: "V2", * // }; * * ``` * * @param GetVpcLinkCommandInput - {@link GetVpcLinkCommandInput} * @returns {@link GetVpcLinkCommandOutput} * @see {@link GetVpcLinkCommandInput} for command's `input` shape. * @see {@link GetVpcLinkCommandOutput} for command's `response` shape. * @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape. * * @throws {@link NotFoundException} (client fault) *

The resource specified in the request was not found. See the message field for more information.

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

A limit has been exceeded. See the accompanying error message for details.

* * @throws {@link ApiGatewayV2ServiceException} *

Base exception class for all service exceptions from ApiGatewayV2 service.

* * * @public */ export declare class GetVpcLinkCommand extends GetVpcLinkCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetVpcLinkRequest; output: GetVpcLinkResponse; }; sdk: { input: GetVpcLinkCommandInput; output: GetVpcLinkCommandOutput; }; }; }