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 |
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 mitigation.
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.
DisassociateHealthCheck' | |
|
Instances
newDisassociateHealthCheck Source #
:: 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.
DisassociateHealthCheckResponse' | |
|
Instances
Eq DisassociateHealthCheckResponse Source # | |
Read DisassociateHealthCheckResponse Source # | |
Show DisassociateHealthCheckResponse Source # | |
Defined in Amazonka.Shield.DisassociateHealthCheck | |
Generic DisassociateHealthCheckResponse Source # | |
NFData DisassociateHealthCheckResponse Source # | |
Defined in Amazonka.Shield.DisassociateHealthCheck rnf :: DisassociateHealthCheckResponse -> () # | |
type Rep DisassociateHealthCheckResponse Source # | |
Defined in Amazonka.Shield.DisassociateHealthCheck type Rep DisassociateHealthCheckResponse = D1 ('MetaData "DisassociateHealthCheckResponse" "Amazonka.Shield.DisassociateHealthCheck" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DisassociateHealthCheckResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.