libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ResourceGroups.DeleteGroup

Description

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
Synopsis

Creating a Request

data DeleteGroup Source #

See: newDeleteGroup smart constructor.

Constructors

DeleteGroup' 

Fields

Instances

Instances details
Eq DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Read DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Show DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Generic DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type Rep DeleteGroup :: Type -> Type #

NFData DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Methods

rnf :: DeleteGroup -> () #

Hashable DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

ToJSON DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

AWSRequest DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type AWSResponse DeleteGroup #

ToHeaders DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Methods

toHeaders :: DeleteGroup -> [Header] #

ToPath DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

ToQuery DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroup = D1 ('MetaData "DeleteGroup" "Amazonka.ResourceGroups.DeleteGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "DeleteGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

newDeleteGroup :: DeleteGroup Source #

Create a value of DeleteGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:group':DeleteGroup', deleteGroup_group - The name or the ARN of the resource group to delete.

$sel:groupName:DeleteGroup', deleteGroup_groupName - Deprecated - don't use this parameter. Use Group instead.

Request Lenses

deleteGroup_group :: Lens' DeleteGroup (Maybe Text) Source #

The name or the ARN of the resource group to delete.

deleteGroup_groupName :: Lens' DeleteGroup (Maybe Text) Source #

Deprecated - don't use this parameter. Use Group instead.

Destructuring the Response

data DeleteGroupResponse Source #

See: newDeleteGroupResponse smart constructor.

Constructors

DeleteGroupResponse' 

Fields

Instances

Instances details
Eq DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Read DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Show DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Generic DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type Rep DeleteGroupResponse :: Type -> Type #

NFData DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Methods

rnf :: DeleteGroupResponse -> () #

type Rep DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroupResponse = D1 ('MetaData "DeleteGroupResponse" "Amazonka.ResourceGroups.DeleteGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "DeleteGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Group)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteGroupResponse Source #

Create a value of DeleteGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:group':DeleteGroup', deleteGroupResponse_group - A full description of the deleted resource group.

$sel:httpStatus:DeleteGroupResponse', deleteGroupResponse_httpStatus - The response's http status code.

Response Lenses

deleteGroupResponse_group :: Lens' DeleteGroupResponse (Maybe Group) Source #

A full description of the deleted resource group.