| 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.ELBv2.DeleteTargetGroup
Description
Deletes the specified target group.
You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks.
Creating a Request
Arguments
| :: Text | |
| -> DeleteTargetGroup |
Creates a value of DeleteTargetGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtgTargetGroupARN- The Amazon Resource Name (ARN) of the target group.
data DeleteTargetGroup Source #
See: deleteTargetGroup smart constructor.
Instances
Request Lenses
dtgTargetGroupARN :: Lens' DeleteTargetGroup Text Source #
The Amazon Resource Name (ARN) of the target group.
Destructuring the Response
deleteTargetGroupResponse Source #
Arguments
| :: Int | |
| -> DeleteTargetGroupResponse |
Creates a value of DeleteTargetGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtgrsResponseStatus- -- | The response status code.
data DeleteTargetGroupResponse Source #
See: deleteTargetGroupResponse smart constructor.
Response Lenses
dtgrsResponseStatus :: Lens' DeleteTargetGroupResponse Int Source #
- - | The response status code.