import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateCustomRoutingAcceleratorRequest, UpdateCustomRoutingAcceleratorResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateCustomRoutingAcceleratorCommand}. */ export interface UpdateCustomRoutingAcceleratorCommandInput extends UpdateCustomRoutingAcceleratorRequest { } /** * @public * * The output of {@link UpdateCustomRoutingAcceleratorCommand}. */ export interface UpdateCustomRoutingAcceleratorCommandOutput extends UpdateCustomRoutingAcceleratorResponse, __MetadataBearer { } declare const UpdateCustomRoutingAcceleratorCommand_base: { new (input: UpdateCustomRoutingAcceleratorCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateCustomRoutingAcceleratorCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Update a custom routing accelerator.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlobalAcceleratorClient, UpdateCustomRoutingAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import * // const { GlobalAcceleratorClient, UpdateCustomRoutingAcceleratorCommand } = 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 = { // UpdateCustomRoutingAcceleratorRequest * AcceleratorArn: "STRING_VALUE", // required * Name: "STRING_VALUE", * IpAddressType: "IPV4" || "DUAL_STACK", * IpAddresses: [ // IpAddresses * "STRING_VALUE", * ], * Enabled: true || false, * }; * const command = new UpdateCustomRoutingAcceleratorCommand(input); * const response = await client.send(command); * // { // UpdateCustomRoutingAcceleratorResponse * // Accelerator: { // CustomRoutingAccelerator * // AcceleratorArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // IpAddressType: "IPV4" || "DUAL_STACK", * // Enabled: true || false, * // IpSets: [ // IpSets * // { // IpSet * // IpFamily: "STRING_VALUE", * // IpAddresses: [ // IpAddresses * // "STRING_VALUE", * // ], * // IpAddressFamily: "IPv4" || "IPv6", * // }, * // ], * // DnsName: "STRING_VALUE", * // Status: "DEPLOYED" || "IN_PROGRESS", * // CreatedTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param UpdateCustomRoutingAcceleratorCommandInput - {@link UpdateCustomRoutingAcceleratorCommandInput} * @returns {@link UpdateCustomRoutingAcceleratorCommandOutput} * @see {@link UpdateCustomRoutingAcceleratorCommandInput} for command's `input` shape. * @see {@link UpdateCustomRoutingAcceleratorCommandOutput} for command's `response` shape. * @see {@link GlobalAcceleratorClientResolvedConfig | config} for GlobalAcceleratorClient's `config` shape. * * @throws {@link AcceleratorNotFoundException} (client fault) *

The accelerator that you specified doesn't exist.

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

You can't use both of those options.

* * @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 TransactionInProgressException} (client fault) *

There's already a transaction in progress. Another transaction can't be processed.

* * @throws {@link GlobalAcceleratorServiceException} *

Base exception class for all service exceptions from GlobalAccelerator service.

* * * @public */ export declare class UpdateCustomRoutingAcceleratorCommand extends UpdateCustomRoutingAcceleratorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateCustomRoutingAcceleratorRequest; output: UpdateCustomRoutingAcceleratorResponse; }; sdk: { input: UpdateCustomRoutingAcceleratorCommandInput; output: UpdateCustomRoutingAcceleratorCommandOutput; }; }; }