Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

disassociate_health_check

disassociate_health_check(**kwargs)

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 .

See also: AWS API Documentation

Request Syntax

response = client.disassociate_health_check(
    ProtectionId='string',
    HealthCheckArn='string'
)
Parameters
  • ProtectionId (string) --

    [REQUIRED]

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

  • HealthCheckArn (string) --

    [REQUIRED]

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

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Shield.Client.exceptions.InternalErrorException
  • Shield.Client.exceptions.InvalidParameterException
  • Shield.Client.exceptions.ResourceNotFoundException
  • Shield.Client.exceptions.OptimisticLockException
  • Shield.Client.exceptions.InvalidResourceException