delete_group(**kwargs)¶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:DeleteGroupSee also: AWS API Documentation
Request Syntax
response = client.delete_group(
GroupName='string',
Group='string'
)
Group instead.dict
Response Syntax
{
'Group': {
'GroupArn': 'string',
'Name': 'string',
'Description': 'string'
}
}
Response Structure
(dict) --
Group (dict) --
A full description of the deleted resource group.
GroupArn (string) --
The ARN of the resource group.
Name (string) --
The name of the resource group.
Description (string) --
The description of the resource group.
Exceptions
ResourceGroups.Client.exceptions.BadRequestExceptionResourceGroups.Client.exceptions.ForbiddenExceptionResourceGroups.Client.exceptions.NotFoundExceptionResourceGroups.Client.exceptions.MethodNotAllowedExceptionResourceGroups.Client.exceptions.TooManyRequestsExceptionResourceGroups.Client.exceptions.InternalServerErrorException