import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AllowCustomRoutingTrafficRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AllowCustomRoutingTrafficCommand}. */ export interface AllowCustomRoutingTrafficCommandInput extends AllowCustomRoutingTrafficRequest { } /** * @public * * The output of {@link AllowCustomRoutingTrafficCommand}. */ export interface AllowCustomRoutingTrafficCommandOutput extends __MetadataBearer { } declare const AllowCustomRoutingTrafficCommand_base: { new (input: AllowCustomRoutingTrafficCommandInput): import("@smithy/core/client").CommandImpl; new (input: AllowCustomRoutingTrafficCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive traffic * for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or allow traffic to a * specified list of destination IP addresses and ports in the subnet. Note that you cannot specify IP addresses or ports * outside of the range that you configured for the endpoint group.

*

After you make changes, you can verify that the updates are complete by checking the status of your * accelerator: the status changes from IN_PROGRESS to DEPLOYED.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlobalAcceleratorClient, AllowCustomRoutingTrafficCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import * // const { GlobalAcceleratorClient, AllowCustomRoutingTrafficCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import * // import type { GlobalAcceleratorClientConfig } from "@aws-sdk/client-global-accelerator"; * const config = {}; // type is GlobalAcceleratorClientConfig * const client = new GlobalAcceleratorClient(config); * const input = { // AllowCustomRoutingTrafficRequest * EndpointGroupArn: "STRING_VALUE", // required * EndpointId: "STRING_VALUE", // required * DestinationAddresses: [ // DestinationAddresses * "STRING_VALUE", * ], * DestinationPorts: [ // DestinationPorts * Number("int"), * ], * AllowAllTrafficToEndpoint: true || false, * }; * const command = new AllowCustomRoutingTrafficCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param AllowCustomRoutingTrafficCommandInput - {@link AllowCustomRoutingTrafficCommandInput} * @returns {@link AllowCustomRoutingTrafficCommandOutput} * @see {@link AllowCustomRoutingTrafficCommandInput} for command's `input` shape. * @see {@link AllowCustomRoutingTrafficCommandOutput} for command's `response` shape. * @see {@link GlobalAcceleratorClientResolvedConfig | config} for GlobalAcceleratorClient's `config` shape. * * @throws {@link EndpointGroupNotFoundException} (client fault) *

The endpoint group that you specified doesn't exist.

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

There was an internal error for Global Accelerator.

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

An argument that you specified is invalid.

* * @throws {@link GlobalAcceleratorServiceException} *

Base exception class for all service exceptions from GlobalAccelerator service.

* * * @public */ export declare class AllowCustomRoutingTrafficCommand extends AllowCustomRoutingTrafficCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AllowCustomRoutingTrafficRequest; output: {}; }; sdk: { input: AllowCustomRoutingTrafficCommandInput; output: AllowCustomRoutingTrafficCommandOutput; }; }; }