amazonka-route53-0.1.4: Amazon Route 53 SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.CreateHealthCheck

Contents

Description

This action creates a new health check.

To create a new health check, send a POST request to the '2013-04-01/healthcheck' resource. The request body must include an XML document with a CreateHealthCheckRequest element. The response returns the CreateHealthCheckResponse element that contains metadata about the health check.

http://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHealthCheck.html

Synopsis

Request

Request constructor

Request lenses

chcCallerReference :: Lens' CreateHealthCheck Text Source

A unique string that identifies the request and that allows failed CreateHealthCheck requests to be retried without the risk of executing the operation twice. You must use a unique CallerReference string every time you create a health check. CallerReference can be any unique string; you might choose to use a string that identifies your project.

Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

chcHealthCheckConfig :: Lens' CreateHealthCheck HealthCheckConfig Source

A complex type that contains health check configuration.

Response

Response constructor

Response lenses

chcrHealthCheck :: Lens' CreateHealthCheckResponse HealthCheck Source

A complex type that contains identifying information about the health check.

chcrLocation :: Lens' CreateHealthCheckResponse Text Source

The unique URL representing the new health check.