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

Description

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

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

Creating a Request

data AssociateHealthCheck Source #

See: newAssociateHealthCheck smart constructor.

Constructors

AssociateHealthCheck' 

Fields

  • protectionId :: Text

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

  • healthCheckArn :: Text

    The Amazon Resource Name (ARN) of the health check to associate with the protection.

Instances

Instances details
ToJSON AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

ToHeaders AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

ToPath AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

ToQuery AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

AWSRequest AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Associated Types

type AWSResponse AssociateHealthCheck #

Generic AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Associated Types

type Rep AssociateHealthCheck :: Type -> Type #

Read AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Show AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

NFData AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Methods

rnf :: AssociateHealthCheck -> () #

Eq AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Hashable AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

type AWSResponse AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

type Rep AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

type Rep AssociateHealthCheck = D1 ('MetaData "AssociateHealthCheck" "Amazonka.Shield.AssociateHealthCheck" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "AssociateHealthCheck'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "healthCheckArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAssociateHealthCheck Source #

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.

Constructors

AssociateHealthCheckResponse' 

Fields

Instances

Instances details
Generic AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Associated Types

type Rep AssociateHealthCheckResponse :: Type -> Type #

Read AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Show AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

NFData AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Eq AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

type Rep AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

type Rep AssociateHealthCheckResponse = D1 ('MetaData "AssociateHealthCheckResponse" "Amazonka.Shield.AssociateHealthCheck" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "AssociateHealthCheckResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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