Jump to Content

Class RemoveCustomRoutingEndpointsCommandProtected

Remove endpoints from a custom routing accelerator.

Example

Use a bare-bones client and the command you need to make an API call.

import { GlobalAcceleratorClient, RemoveCustomRoutingEndpointsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
// const { GlobalAcceleratorClient, RemoveCustomRoutingEndpointsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
const client = new GlobalAcceleratorClient(config);
const input = {
EndpointIds: [ // required
"STRING_VALUE",
],
EndpointGroupArn: "STRING_VALUE", // required
};
const command = new RemoveCustomRoutingEndpointsCommand(input);
const response = await client.send(command);

Param

RemoveCustomRoutingEndpointsCommandInput

Returns

RemoveCustomRoutingEndpointsCommandOutput

See

Throws

AccessDeniedException (client fault)

You don't have access permission.

Throws

ConflictException (client fault)

You can't use both of those options.

Throws

EndpointGroupNotFoundException (client fault)

The endpoint group that you specified doesn't exist.

Throws

EndpointNotFoundException (client fault)

The endpoint that you specified doesn't exist.

Throws

InternalServiceErrorException (server fault)

There was an internal error for Global Accelerator.

Throws

InvalidArgumentException (client fault)

An argument that you specified is invalid.

Hierarchy

Constructors

Properties

Methods