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 |
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.
Synopsis
- data ConfigureHealthCheck = ConfigureHealthCheck' {}
- newConfigureHealthCheck :: Text -> HealthCheck -> ConfigureHealthCheck
- configureHealthCheck_loadBalancerName :: Lens' ConfigureHealthCheck Text
- configureHealthCheck_healthCheck :: Lens' ConfigureHealthCheck HealthCheck
- data ConfigureHealthCheckResponse = ConfigureHealthCheckResponse' {}
- newConfigureHealthCheckResponse :: Int -> ConfigureHealthCheckResponse
- configureHealthCheckResponse_healthCheck :: Lens' ConfigureHealthCheckResponse (Maybe HealthCheck)
- configureHealthCheckResponse_httpStatus :: Lens' ConfigureHealthCheckResponse Int
Creating a Request
data ConfigureHealthCheck Source #
Contains the parameters for ConfigureHealthCheck.
See: newConfigureHealthCheck
smart constructor.
ConfigureHealthCheck' | |
|
Instances
newConfigureHealthCheck Source #
:: Text | |
-> HealthCheck | |
-> ConfigureHealthCheck |
Create a value of ConfigureHealthCheck
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:loadBalancerName:ConfigureHealthCheck'
, configureHealthCheck_loadBalancerName
- The name of the load balancer.
$sel:healthCheck:ConfigureHealthCheck'
, configureHealthCheck_healthCheck
- The configuration information.
Request Lenses
configureHealthCheck_loadBalancerName :: Lens' ConfigureHealthCheck Text Source #
The name of the load balancer.
configureHealthCheck_healthCheck :: Lens' ConfigureHealthCheck HealthCheck Source #
The configuration information.
Destructuring the Response
data ConfigureHealthCheckResponse Source #
Contains the output of ConfigureHealthCheck.
See: newConfigureHealthCheckResponse
smart constructor.
ConfigureHealthCheckResponse' | |
|
Instances
newConfigureHealthCheckResponse Source #
Create a value of ConfigureHealthCheckResponse
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:healthCheck:ConfigureHealthCheck'
, configureHealthCheckResponse_healthCheck
- The updated health check.
$sel:httpStatus:ConfigureHealthCheckResponse'
, configureHealthCheckResponse_httpStatus
- The response's http status code.
Response Lenses
configureHealthCheckResponse_healthCheck :: Lens' ConfigureHealthCheckResponse (Maybe HealthCheck) Source #
The updated health check.
configureHealthCheckResponse_httpStatus :: Lens' ConfigureHealthCheckResponse Int Source #
The response's http status code.