| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them.
Synopsis
- data DeleteTargetGroup = DeleteTargetGroup' {}
- newDeleteTargetGroup :: Text -> DeleteTargetGroup
- deleteTargetGroup_targetGroupArn :: Lens' DeleteTargetGroup Text
- data DeleteTargetGroupResponse = DeleteTargetGroupResponse' {
- httpStatus :: Int
- newDeleteTargetGroupResponse :: Int -> DeleteTargetGroupResponse
- deleteTargetGroupResponse_httpStatus :: Lens' DeleteTargetGroupResponse Int
Creating a Request
data DeleteTargetGroup Source #
See: newDeleteTargetGroup smart constructor.
Constructors
| DeleteTargetGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteTargetGroup |
Create a value of DeleteTargetGroup 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:
DeleteTargetGroup, deleteTargetGroup_targetGroupArn - The Amazon Resource Name (ARN) of the target group.
Request Lenses
deleteTargetGroup_targetGroupArn :: Lens' DeleteTargetGroup Text Source #
The Amazon Resource Name (ARN) of the target group.
Destructuring the Response
data DeleteTargetGroupResponse Source #
See: newDeleteTargetGroupResponse smart constructor.
Constructors
| DeleteTargetGroupResponse' | |
Fields
| |
Instances
newDeleteTargetGroupResponse Source #
Create a value of DeleteTargetGroupResponse 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:httpStatus:DeleteTargetGroupResponse', deleteTargetGroupResponse_httpStatus - The response's http status code.
Response Lenses
deleteTargetGroupResponse_httpStatus :: Lens' DeleteTargetGroupResponse Int Source #
The response's http status code.