RemoveEndpoints
Source:
src/AWS/GlobalAccelerator/RemoveEndpoints.ts
Runtime binding for globalaccelerator:RemoveEndpoints.
Deregisters endpoints from the bound EndpointGroup at runtime —
e.g. draining an instance before it is terminated. Unlike a full
UpdateEndpointGroup, removing endpoints leaves the group’s other
endpoints and health-check configuration untouched. The endpoint group
ARN is injected from the binding. Provide the implementation with
Effect.provide(AWS.GlobalAccelerator.RemoveEndpointsHttp).
Managing Endpoints
Section titled “Managing Endpoints”// init — bind the operation to the endpoint groupconst removeEndpoints = yield* AWS.GlobalAccelerator.RemoveEndpoints(group);
// runtimeyield* removeEndpoints({ EndpointIdentifiers: [{ EndpointId: allocationId }],});