import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { WithdrawByoipCidrRequest, WithdrawByoipCidrResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link WithdrawByoipCidrCommand}. */ export interface WithdrawByoipCidrCommandInput extends WithdrawByoipCidrRequest { } /** * @public * * The output of {@link WithdrawByoipCidrCommand}. */ export interface WithdrawByoipCidrCommandOutput extends WithdrawByoipCidrResponse, __MetadataBearer { } declare const WithdrawByoipCidrCommand_base: { new (input: WithdrawByoipCidrCommandInput): import("@smithy/core/client").CommandImpl; new (input: WithdrawByoipCidrCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Stops advertising an address range that is provisioned as an address pool. * You can perform this operation at most once every 10 seconds, even if you specify different address * ranges each time.

*

It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services because of * propagation delays.

*

For more information, see Bring your own * IP addresses (BYOIP) in the Global Accelerator Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlobalAcceleratorClient, WithdrawByoipCidrCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import * // const { GlobalAcceleratorClient, WithdrawByoipCidrCommand } = 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 = { // WithdrawByoipCidrRequest * Cidr: "STRING_VALUE", // required * }; * const command = new WithdrawByoipCidrCommand(input); * const response = await client.send(command); * // { // WithdrawByoipCidrResponse * // ByoipCidr: { // ByoipCidr * // Cidr: "STRING_VALUE", * // State: "PENDING_PROVISIONING" || "READY" || "PENDING_ADVERTISING" || "ADVERTISING" || "PENDING_WITHDRAWING" || "PENDING_DEPROVISIONING" || "DEPROVISIONED" || "FAILED_PROVISION" || "FAILED_ADVERTISING" || "FAILED_WITHDRAW" || "FAILED_DEPROVISION", * // Events: [ // ByoipCidrEvents * // { // ByoipCidrEvent * // Message: "STRING_VALUE", * // Timestamp: new Date("TIMESTAMP"), * // }, * // ], * // }, * // }; * * ``` * * @param WithdrawByoipCidrCommandInput - {@link WithdrawByoipCidrCommandInput} * @returns {@link WithdrawByoipCidrCommandOutput} * @see {@link WithdrawByoipCidrCommandInput} for command's `input` shape. * @see {@link WithdrawByoipCidrCommandOutput} for command's `response` shape. * @see {@link GlobalAcceleratorClientResolvedConfig | config} for GlobalAcceleratorClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have access permission.

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

The CIDR that you specified was not found or is incorrect.

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

The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be * incorrect for this action.

* * @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 WithdrawByoipCidrCommand extends WithdrawByoipCidrCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: WithdrawByoipCidrRequest; output: WithdrawByoipCidrResponse; }; sdk: { input: WithdrawByoipCidrCommandInput; output: WithdrawByoipCidrCommandOutput; }; }; }