Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class DeleteCoipCidrCommandProtected

Deletes a range of customer-owned IP addresses.

Example

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

import { EC2Client, DeleteCoipCidrCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, DeleteCoipCidrCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const input = { // DeleteCoipCidrRequest
Cidr: "STRING_VALUE", // required
CoipPoolId: "STRING_VALUE", // required
DryRun: true || false,
};
const command = new DeleteCoipCidrCommand(input);
const response = await client.send(command);
// { // DeleteCoipCidrResult
// CoipCidr: { // CoipCidr
// Cidr: "STRING_VALUE",
// CoipPoolId: "STRING_VALUE",
// LocalGatewayRouteTableId: "STRING_VALUE",
// },
// };

Param

DeleteCoipCidrCommandInput

Returns

DeleteCoipCidrCommandOutput

See

Throws

EC2ServiceException

Base exception class for all service exceptions from EC2 service.

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<DeleteCoipCidrCommandInput, DeleteCoipCidrCommandOutput>

Methods