Copyright | (c) 2013-2021 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 |
Amazonka.ELBV2.DeregisterTargets
Description
Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
Synopsis
- data DeregisterTargets = DeregisterTargets' {}
- newDeregisterTargets :: Text -> DeregisterTargets
- deregisterTargets_targetGroupArn :: Lens' DeregisterTargets Text
- deregisterTargets_targets :: Lens' DeregisterTargets [TargetDescription]
- data DeregisterTargetsResponse = DeregisterTargetsResponse' {
- httpStatus :: Int
- newDeregisterTargetsResponse :: Int -> DeregisterTargetsResponse
- deregisterTargetsResponse_httpStatus :: Lens' DeregisterTargetsResponse Int
Creating a Request
data DeregisterTargets Source #
See: newDeregisterTargets
smart constructor.
Constructors
DeregisterTargets' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeregisterTargets |
Create a value of DeregisterTargets
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:targetGroupArn:DeregisterTargets'
, deregisterTargets_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
$sel:targets:DeregisterTargets'
, deregisterTargets_targets
- The targets. If you specified a port override when you registered a
target, you must specify both the target ID and the port when you
deregister it.
Request Lenses
deregisterTargets_targetGroupArn :: Lens' DeregisterTargets Text Source #
The Amazon Resource Name (ARN) of the target group.
deregisterTargets_targets :: Lens' DeregisterTargets [TargetDescription] Source #
The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.
Destructuring the Response
data DeregisterTargetsResponse Source #
See: newDeregisterTargetsResponse
smart constructor.
Constructors
DeregisterTargetsResponse' | |
Fields
|
Instances
newDeregisterTargetsResponse Source #
Create a value of DeregisterTargetsResponse
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:DeregisterTargetsResponse'
, deregisterTargetsResponse_httpStatus
- The response's http status code.
Response Lenses
deregisterTargetsResponse_httpStatus :: Lens' DeregisterTargetsResponse Int Source #
The response's http status code.