Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.ELB.ConfigureHealthCheck
Description
Specifies the health check settings to use when evaluating the health state of your EC2 instances.
For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancers Guide .
- configureHealthCheck :: Text -> HealthCheck -> ConfigureHealthCheck
- data ConfigureHealthCheck
- chcLoadBalancerName :: Lens' ConfigureHealthCheck Text
- chcHealthCheck :: Lens' ConfigureHealthCheck HealthCheck
- configureHealthCheckResponse :: Int -> ConfigureHealthCheckResponse
- data ConfigureHealthCheckResponse
- chcrsHealthCheck :: Lens' ConfigureHealthCheckResponse (Maybe HealthCheck)
- chcrsResponseStatus :: Lens' ConfigureHealthCheckResponse Int
Creating a Request
Arguments
:: Text | |
-> HealthCheck | |
-> ConfigureHealthCheck |
Creates a value of ConfigureHealthCheck
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
chcLoadBalancerName
- The name of the load balancer.chcHealthCheck
- The configuration information.
data ConfigureHealthCheck #
Contains the parameters for ConfigureHealthCheck.
See: configureHealthCheck
smart constructor.
Instances
Request Lenses
chcLoadBalancerName :: Lens' ConfigureHealthCheck Text #
The name of the load balancer.
chcHealthCheck :: Lens' ConfigureHealthCheck HealthCheck #
The configuration information.
Destructuring the Response
configureHealthCheckResponse #
Arguments
:: Int | |
-> ConfigureHealthCheckResponse |
Creates a value of ConfigureHealthCheckResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
chcrsHealthCheck
- The updated health check.chcrsResponseStatus
- -- | The response status code.
data ConfigureHealthCheckResponse #
Contains the output of ConfigureHealthCheck.
See: configureHealthCheckResponse
smart constructor.
Response Lenses
chcrsHealthCheck :: Lens' ConfigureHealthCheckResponse (Maybe HealthCheck) #
The updated health check.
chcrsResponseStatus :: Lens' ConfigureHealthCheckResponse Int #
- - | The response status code.