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.
Remove endpoints from an endpoint group.
The RemoveEndpoints
API operation is the recommended option for removing endpoints.
The alternative is to remove endpoints by updating an endpoint group by using the
UpdateEndpointGroup
API operation. There are two advantages to using AddEndpoints
to remove endpoints
instead:
It's more convenient, because you only need to specify the endpoints that you want
to remove. With the UpdateEndpointGroup
API operation, you must specify all
of the endpoints in the endpoint group except the ones that you want to remove from
the group.
It's faster, because Global Accelerator doesn't need to resolve any endpoints. With
the UpdateEndpointGroup
API operation, Global Accelerator must resolve all
of the endpoints that remain in the group.
For .NET Core this operation is only available in asynchronous form. Please refer to RemoveEndpointsAsync.
Namespace: Amazon.GlobalAccelerator
Assembly: AWSSDK.GlobalAccelerator.dll
Version: 3.x.y.z
public abstract RemoveEndpointsResponse RemoveEndpoints( RemoveEndpointsRequest request )
Container for the necessary parameters to execute the RemoveEndpoints service method.
Exception | Condition |
---|---|
AccessDeniedException | You don't have access permission. |
EndpointGroupNotFoundException | The endpoint group that you specified doesn't exist. |
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. |
.NET Framework:
Supported in: 4.5 and newer, 3.5