| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ResourceGroups.DeleteGroup
Description
Deletes a specified resource group. Deleting a resource group does not delete resources that are members of the group; it only deletes the group structure.
Creating a Request
Arguments
| :: Text | |
| -> DeleteGroup |
Creates a value of DeleteGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dgGroupName- The name of the resource group to delete.
data DeleteGroup Source #
See: deleteGroup smart constructor.
Instances
Request Lenses
dgGroupName :: Lens' DeleteGroup Text Source #
The name of the resource group to delete.
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteGroupResponse |
Creates a value of DeleteGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dgrsGroup- A full description of the deleted resource group.dgrsResponseStatus- -- | The response status code.
data DeleteGroupResponse Source #
See: deleteGroupResponse smart constructor.
Response Lenses
dgrsGroup :: Lens' DeleteGroupResponse (Maybe Group) Source #
A full description of the deleted resource group.
dgrsResponseStatus :: Lens' DeleteGroupResponse Int Source #
- - | The response status code.