AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginUpdateAccelerator and EndUpdateAccelerator.

Namespace: Amazon.GlobalAccelerator
Assembly: AWSSDK.GlobalAccelerator.dll
Version: 3.x.y.z

Syntax

C#
public abstract Task<UpdateAcceleratorResponse> UpdateAcceleratorAsync(
         UpdateAcceleratorRequest request,
         CancellationToken cancellationToken
)

Parameters

request
Type: Amazon.GlobalAccelerator.Model.UpdateAcceleratorRequest

Container for the necessary parameters to execute the UpdateAccelerator service method.

cancellationToken
Type: System.Threading.CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value


The response from the UpdateAccelerator service method, as returned by GlobalAccelerator.

Exceptions

ExceptionCondition
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
AccessDeniedException You don't have access permission.
ConflictException You can't use both of those options.
InternalServiceErrorException There was an internal error for Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
TransactionInProgressException There's already a transaction in progress. Another transaction can't be processed.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer

See Also