import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateAcceleratorRequest, UpdateAcceleratorResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateAcceleratorCommand}. */ export interface UpdateAcceleratorCommandInput extends UpdateAcceleratorRequest { } /** * @public * * The output of {@link UpdateAcceleratorCommand}. */ export interface UpdateAcceleratorCommandOutput extends UpdateAcceleratorResponse, __MetadataBearer { } declare const UpdateAcceleratorCommand_base: { new (input: UpdateAcceleratorCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateAcceleratorCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Update an accelerator to make changes, such as the following:

* *

Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no * longer accepts or routes traffic. However, when you delete the accelerator, you lose the static IP addresses that are assigned to it, so you * can no longer route traffic by using them.

* *

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the * US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 * on Amazon Web Services CLI commands.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlobalAcceleratorClient, UpdateAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import * // const { GlobalAcceleratorClient, UpdateAcceleratorCommand } = 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 = { // UpdateAcceleratorRequest * AcceleratorArn: "STRING_VALUE", // required * Name: "STRING_VALUE", * IpAddressType: "IPV4" || "DUAL_STACK", * IpAddresses: [ // IpAddresses * "STRING_VALUE", * ], * Enabled: true || false, * }; * const command = new UpdateAcceleratorCommand(input); * const response = await client.send(command); * // { // UpdateAcceleratorResponse * // Accelerator: { // Accelerator * // 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"), * // DualStackDnsName: "STRING_VALUE", * // Events: [ // AcceleratorEvents * // { // AcceleratorEvent * // Message: "STRING_VALUE", * // Timestamp: new Date("TIMESTAMP"), * // }, * // ], * // }, * // }; * * ``` * * @param UpdateAcceleratorCommandInput - {@link UpdateAcceleratorCommandInput} * @returns {@link UpdateAcceleratorCommandOutput} * @see {@link UpdateAcceleratorCommandInput} for command's `input` shape. * @see {@link UpdateAcceleratorCommandOutput} 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 AccessDeniedException} (client fault) *

You don't have access permission.

* * @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 UpdateAcceleratorCommand extends UpdateAcceleratorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateAcceleratorRequest; output: UpdateAcceleratorResponse; }; sdk: { input: UpdateAcceleratorCommandInput; output: UpdateAcceleratorCommandOutput; }; }; }