import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { CreateVpnConnectionRouteRequest } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateVpnConnectionRouteCommand}. */ export interface CreateVpnConnectionRouteCommandInput extends CreateVpnConnectionRouteRequest { } /** * @public * * The output of {@link CreateVpnConnectionRouteCommand}. */ export interface CreateVpnConnectionRouteCommandOutput extends __MetadataBearer { } declare const CreateVpnConnectionRouteCommand_base: { new (input: CreateVpnConnectionRouteCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateVpnConnectionRouteCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a static route associated with a VPN connection between an existing virtual * private gateway and a VPN customer gateway. The static route allows traffic to be routed * from the virtual private gateway to the VPN customer gateway.

*

For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN * User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, CreateVpnConnectionRouteCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, CreateVpnConnectionRouteCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // CreateVpnConnectionRouteRequest * DestinationCidrBlock: "STRING_VALUE", // required * VpnConnectionId: "STRING_VALUE", // required * }; * const command = new CreateVpnConnectionRouteCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param CreateVpnConnectionRouteCommandInput - {@link CreateVpnConnectionRouteCommandInput} * @returns {@link CreateVpnConnectionRouteCommandOutput} * @see {@link CreateVpnConnectionRouteCommandInput} for command's `input` shape. * @see {@link CreateVpnConnectionRouteCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @public */ export declare class CreateVpnConnectionRouteCommand extends CreateVpnConnectionRouteCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateVpnConnectionRouteRequest; output: {}; }; sdk: { input: CreateVpnConnectionRouteCommandInput; output: CreateVpnConnectionRouteCommandOutput; }; }; }