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 |
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 Balancer Guide .
Synopsis
- 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
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 Source #
Contains the parameters for ConfigureHealthCheck.
See: configureHealthCheck
smart constructor.
Instances
Request Lenses
chcLoadBalancerName :: Lens' ConfigureHealthCheck Text Source #
The name of the load balancer.
chcHealthCheck :: Lens' ConfigureHealthCheck HealthCheck Source #
The configuration information.
Destructuring the Response
configureHealthCheckResponse Source #
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 Source #
Contains the output of ConfigureHealthCheck.
See: configureHealthCheckResponse
smart constructor.
Instances
Response Lenses
chcrsHealthCheck :: Lens' ConfigureHealthCheckResponse (Maybe HealthCheck) Source #
The updated health check.
chcrsResponseStatus :: Lens' ConfigureHealthCheckResponse Int Source #
- - | The response status code.