amazonka-shield-2.0: Amazon Shield SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

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

Read DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Show DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

NFData DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Methods

rnf :: DisassociateHealthCheck -> () #

Eq DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Hashable DisassociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

type AWSResponse 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" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "DisassociateHealthCheck'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "healthCheckArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Associated Types

type Rep DisassociateHealthCheckResponse :: Type -> Type #

Read DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Show DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

NFData DisassociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.DisassociateHealthCheck

Eq 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" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" '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