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

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
Eq AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Read AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Show AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Generic AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Associated Types

type Rep AssociateHealthCheck :: Type -> Type #

NFData AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Methods

rnf :: AssociateHealthCheck -> () #

Hashable AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

ToJSON AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

AWSRequest AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Associated Types

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

type Rep AssociateHealthCheck Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

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

Defined in Amazonka.Shield.AssociateHealthCheck

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
Eq AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Read AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Show AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Generic AssociateHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Shield.AssociateHealthCheck

Associated Types

type Rep AssociateHealthCheckResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-shieldZSamazonka-shield" '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