libZSservicesZSamazonka-shieldZSamazonka-shield
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 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

Creating a Request

data DisassociateHealthCheck Source #

See: newDisassociateHealthCheck smart constructor.

Constructors

DisassociateHealthCheck' 

Fields

  • protectionId :: Text

    The unique identifier (ID) for the Protection object to remove the health check association from.

  • healthCheckArn :: Text

    The Amazon Resource Name (ARN) of the health check that is associated with the protection.

Instances

Instances details
Eq DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Read DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Show DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Generic DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Associated Types

type Rep DisassociateHealthCheck :: Type -> Type #

NFData DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Methods

rnf :: DisassociateHealthCheck -> () #

Hashable DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

ToJSON DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

AWSRequest DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

ToHeaders DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

ToPath DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

ToQuery DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

type Rep DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

type Rep DisassociateHealthCheck = D1 ('MetaData "DisassociateHealthCheck" "Amazonka.Shield.DisassociateHealthCheck" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DisassociateHealthCheck'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "healthCheckArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

newDisassociateHealthCheck Source #

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

Instances details
Eq DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Read DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Show DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Generic DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Associated Types

type Rep DisassociateHealthCheckResponse :: Type -> Type #

NFData DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

type Rep DisassociateHealthCheckResponse Source # 
Instance details

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