Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteSubnetGroupCommand

Deletes a subnet group.

You cannot delete a subnet group if it is associated with any DAX clusters.

example

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

import { DAXClient, DeleteSubnetGroupCommand } from "@aws-sdk/client-dax"; // ES Modules import
// const { DAXClient, DeleteSubnetGroupCommand } = require("@aws-sdk/client-dax"); // CommonJS import
const client = new DAXClient(config);
const command = new DeleteSubnetGroupCommand(input);
const response = await client.send(command);
see

DeleteSubnetGroupCommandInput for command's input shape.

see

DeleteSubnetGroupCommandOutput for command's response shape.

see

config for DAXClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteSubnetGroupCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions