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 |
Adds health-based detection to the Shield Advanced protection for a resource. Shield Advanced health-based detection uses the health of your Amazon Web Services resource to improve responsiveness and accuracy in attack detection and mitigation.
You define the health check in Route 53 and then associate it with your Shield Advanced protection. For more information, see Shield Advanced Health-Based Detection in the WAF Developer Guide.
Synopsis
- data AssociateHealthCheck = AssociateHealthCheck' {}
- newAssociateHealthCheck :: Text -> Text -> AssociateHealthCheck
- associateHealthCheck_protectionId :: Lens' AssociateHealthCheck Text
- associateHealthCheck_healthCheckArn :: Lens' AssociateHealthCheck Text
- data AssociateHealthCheckResponse = AssociateHealthCheckResponse' {
- httpStatus :: Int
- newAssociateHealthCheckResponse :: Int -> AssociateHealthCheckResponse
- associateHealthCheckResponse_httpStatus :: Lens' AssociateHealthCheckResponse Int
Creating a Request
data AssociateHealthCheck Source #
See: newAssociateHealthCheck
smart constructor.
AssociateHealthCheck' | |
|
Instances
newAssociateHealthCheck Source #
:: Text | |
-> Text | |
-> AssociateHealthCheck |
Create a value of AssociateHealthCheck
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:protectionId:AssociateHealthCheck'
, associateHealthCheck_protectionId
- The unique identifier (ID) for the Protection object to add the health
check association to.
$sel:healthCheckArn:AssociateHealthCheck'
, associateHealthCheck_healthCheckArn
- The Amazon Resource Name (ARN) of the health check to associate with the
protection.
Request Lenses
associateHealthCheck_protectionId :: Lens' AssociateHealthCheck Text Source #
The unique identifier (ID) for the Protection object to add the health check association to.
associateHealthCheck_healthCheckArn :: Lens' AssociateHealthCheck Text Source #
The Amazon Resource Name (ARN) of the health check to associate with the protection.
Destructuring the Response
data AssociateHealthCheckResponse Source #
See: newAssociateHealthCheckResponse
smart constructor.
AssociateHealthCheckResponse' | |
|
Instances
newAssociateHealthCheckResponse Source #
Create a value of AssociateHealthCheckResponse
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:AssociateHealthCheckResponse'
, associateHealthCheckResponse_httpStatus
- The response's http status code.
Response Lenses
associateHealthCheckResponse_httpStatus :: Lens' AssociateHealthCheckResponse Int Source #
The response's http status code.