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 AWS CLI commands.
example
Use a bare-bones client and the command you need to make an API call.
Update an accelerator.
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 AWS CLI commands.Use a bare-bones client and the command you need to make an API call.
import { GlobalAcceleratorClient, UpdateAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import // const { GlobalAcceleratorClient, UpdateAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import const client = new GlobalAcceleratorClient(config); const command = new UpdateAcceleratorCommand(input); const response = await client.send(command);
UpdateAcceleratorCommandInput for command's
input
shape.UpdateAcceleratorCommandOutput for command's
response
shape.config for GlobalAcceleratorClient's
config
shape.