Copyright | (c) 2013-2017 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 |
Modifies the health checks used when evaluating the health state of the targets in the specified target group.
To monitor the health of the targets, use DescribeTargetHealth
.
- modifyTargetGroup :: Text -> ModifyTargetGroup
- data ModifyTargetGroup
- mtgMatcher :: Lens' ModifyTargetGroup (Maybe Matcher)
- mtgHealthCheckPath :: Lens' ModifyTargetGroup (Maybe Text)
- mtgUnhealthyThresholdCount :: Lens' ModifyTargetGroup (Maybe Natural)
- mtgHealthCheckIntervalSeconds :: Lens' ModifyTargetGroup (Maybe Natural)
- mtgHealthyThresholdCount :: Lens' ModifyTargetGroup (Maybe Natural)
- mtgHealthCheckProtocol :: Lens' ModifyTargetGroup (Maybe ProtocolEnum)
- mtgHealthCheckTimeoutSeconds :: Lens' ModifyTargetGroup (Maybe Natural)
- mtgHealthCheckPort :: Lens' ModifyTargetGroup (Maybe Text)
- mtgTargetGroupARN :: Lens' ModifyTargetGroup Text
- modifyTargetGroupResponse :: Int -> ModifyTargetGroupResponse
- data ModifyTargetGroupResponse
- mtgrsTargetGroups :: Lens' ModifyTargetGroupResponse [TargetGroup]
- mtgrsResponseStatus :: Lens' ModifyTargetGroupResponse Int
Creating a Request
Creates a value of ModifyTargetGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mtgMatcher
- [HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target.mtgHealthCheckPath
- [HTTP/HTTPS health checks] The ping path that is the destination for the health check request.mtgUnhealthyThresholdCount
- The number of consecutive health check failures required before considering the target unhealthy. For Network Load Balancers, this value must be the same as the healthy threshold count.mtgHealthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds.mtgHealthyThresholdCount
- The number of consecutive health checks successes required before considering an unhealthy target healthy.mtgHealthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported only if the protocol of the target group is TCP.mtgHealthCheckTimeoutSeconds
- [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.mtgHealthCheckPort
- The port the load balancer uses when performing health checks on targets.mtgTargetGroupARN
- The Amazon Resource Name (ARN) of the target group.
data ModifyTargetGroup Source #
See: modifyTargetGroup
smart constructor.
Request Lenses
mtgMatcher :: Lens' ModifyTargetGroup (Maybe Matcher) Source #
- HTTP/HTTPS health checks
- The HTTP codes to use when checking for a successful response from a target.
mtgHealthCheckPath :: Lens' ModifyTargetGroup (Maybe Text) Source #
- HTTP/HTTPS health checks
- The ping path that is the destination for the health check request.
mtgUnhealthyThresholdCount :: Lens' ModifyTargetGroup (Maybe Natural) Source #
The number of consecutive health check failures required before considering the target unhealthy. For Network Load Balancers, this value must be the same as the healthy threshold count.
mtgHealthCheckIntervalSeconds :: Lens' ModifyTargetGroup (Maybe Natural) Source #
The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds.
mtgHealthyThresholdCount :: Lens' ModifyTargetGroup (Maybe Natural) Source #
The number of consecutive health checks successes required before considering an unhealthy target healthy.
mtgHealthCheckProtocol :: Lens' ModifyTargetGroup (Maybe ProtocolEnum) Source #
The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported only if the protocol of the target group is TCP.
mtgHealthCheckTimeoutSeconds :: Lens' ModifyTargetGroup (Maybe Natural) Source #
- HTTP/HTTPS health checks
- The amount of time, in seconds, during which no response means a failed health check.
mtgHealthCheckPort :: Lens' ModifyTargetGroup (Maybe Text) Source #
The port the load balancer uses when performing health checks on targets.
mtgTargetGroupARN :: Lens' ModifyTargetGroup Text Source #
The Amazon Resource Name (ARN) of the target group.
Destructuring the Response
modifyTargetGroupResponse Source #
Creates a value of ModifyTargetGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mtgrsTargetGroups
- Information about the target group.mtgrsResponseStatus
- -- | The response status code.
data ModifyTargetGroupResponse Source #
See: modifyTargetGroupResponse
smart constructor.
Response Lenses
mtgrsTargetGroups :: Lens' ModifyTargetGroupResponse [TargetGroup] Source #
Information about the target group.
mtgrsResponseStatus :: Lens' ModifyTargetGroupResponse Int Source #
- - | The response status code.