| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Shield.DisassociateHealthCheck
Description
Removes health-based detection from 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 response.
You define the health check in Route 53 and then associate or disassociate it with your Shield Advanced protection. For more information, see Shield Advanced Health-Based Detection in the WAF Developer Guide.
Synopsis
- data DisassociateHealthCheck = DisassociateHealthCheck' {}
- newDisassociateHealthCheck :: Text -> Text -> DisassociateHealthCheck
- disassociateHealthCheck_protectionId :: Lens' DisassociateHealthCheck Text
- disassociateHealthCheck_healthCheckArn :: Lens' DisassociateHealthCheck Text
- data DisassociateHealthCheckResponse = DisassociateHealthCheckResponse' {
- httpStatus :: Int
- newDisassociateHealthCheckResponse :: Int -> DisassociateHealthCheckResponse
- disassociateHealthCheckResponse_httpStatus :: Lens' DisassociateHealthCheckResponse Int
Creating a Request
data DisassociateHealthCheck Source #
See: newDisassociateHealthCheck smart constructor.
Constructors
| DisassociateHealthCheck' | |
Fields
| |
Instances
newDisassociateHealthCheck Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociateHealthCheck |
Create a value of DisassociateHealthCheck 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:DisassociateHealthCheck', disassociateHealthCheck_protectionId - The unique identifier (ID) for the Protection object to remove the
health check association from.
$sel:healthCheckArn:DisassociateHealthCheck', disassociateHealthCheck_healthCheckArn - The Amazon Resource Name (ARN) of the health check that is associated
with the protection.
Request Lenses
disassociateHealthCheck_protectionId :: Lens' DisassociateHealthCheck Text Source #
The unique identifier (ID) for the Protection object to remove the health check association from.
disassociateHealthCheck_healthCheckArn :: Lens' DisassociateHealthCheck Text Source #
The Amazon Resource Name (ARN) of the health check that is associated with the protection.
Destructuring the Response
data DisassociateHealthCheckResponse Source #
See: newDisassociateHealthCheckResponse smart constructor.
Constructors
| DisassociateHealthCheckResponse' | |
Fields
| |
Instances
newDisassociateHealthCheckResponse Source #
Create a value of DisassociateHealthCheckResponse 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:DisassociateHealthCheckResponse', disassociateHealthCheckResponse_httpStatus - The response's http status code.
Response Lenses
disassociateHealthCheckResponse_httpStatus :: Lens' DisassociateHealthCheckResponse Int Source #
The response's http status code.