Smaws_Client_GlobalAccelerator.RemoveEndpointsRemove 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:
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.UpdateEndpointGroup API operation, Global Accelerator must resolve all of the endpoints that remain in the group.val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `EndpointGroupNotFoundException of Types.endpoint_group_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `TransactionInProgressException of Types.transaction_in_progress_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.remove_endpoints_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `EndpointGroupNotFoundException of
Types.endpoint_group_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `TransactionInProgressException of
Types.transaction_in_progress_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.remove_endpoints_request ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `EndpointGroupNotFoundException of
Types.endpoint_group_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `TransactionInProgressException of
Types.transaction_in_progress_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result