Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteGroupCommand

Deletes the specified resource group. Deleting a resource group does not delete any resources that are members of the group; it only deletes the group structure.

Minimum permissions

To run this command, you must have the following permissions:

  • resource-groups:DeleteGroup

example

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

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

DeleteGroupCommandInput for command's input shape.

see

DeleteGroupCommandOutput for command's response shape.

see

config for ResourceGroupsClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteGroupCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteGroupCommandInput, DeleteGroupCommandOutput>

Methods

Static getEndpointParameterInstructions