amazonka-route53-1.4.3: Amazon Route 53 SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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 '/Route 53 API version/healthcheck' resource. The request body must include a document with a CreateHealthCheckRequest element. The response returns the CreateHealthCheckResponse element that contains metadata about the health check.

Synopsis

Creating a Request

createHealthCheck Source #

Creates a value of CreateHealthCheck with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateHealthCheck Source #

A complex type that contains information about the request to create a health check.

See: createHealthCheck smart constructor.

Instances

Eq CreateHealthCheck Source # 
Data CreateHealthCheck Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateHealthCheck -> c CreateHealthCheck #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateHealthCheck #

toConstr :: CreateHealthCheck -> Constr #

dataTypeOf :: CreateHealthCheck -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateHealthCheck) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateHealthCheck) #

gmapT :: (forall b. Data b => b -> b) -> CreateHealthCheck -> CreateHealthCheck #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateHealthCheck -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateHealthCheck -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateHealthCheck -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateHealthCheck -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateHealthCheck -> m CreateHealthCheck #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateHealthCheck -> m CreateHealthCheck #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateHealthCheck -> m CreateHealthCheck #

Read CreateHealthCheck Source # 
Show CreateHealthCheck Source # 
Generic CreateHealthCheck Source # 
Hashable CreateHealthCheck Source # 
NFData CreateHealthCheck Source # 

Methods

rnf :: CreateHealthCheck -> () #

AWSRequest CreateHealthCheck Source # 
ToPath CreateHealthCheck Source # 
ToHeaders CreateHealthCheck Source # 
ToElement CreateHealthCheck Source # 
ToXML CreateHealthCheck Source # 
ToQuery CreateHealthCheck Source # 
type Rep CreateHealthCheck Source # 
type Rep CreateHealthCheck = D1 (MetaData "CreateHealthCheck" "Network.AWS.Route53.CreateHealthCheck" "amazonka-route53-1.4.3-GVCZrM1VgYbI4WdWSABHKg" False) (C1 (MetaCons "CreateHealthCheck'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_chcCallerReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_chcHealthCheckConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HealthCheckConfig))))
type Rs CreateHealthCheck Source # 

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.

Destructuring the Response

createHealthCheckResponse Source #

Creates a value of CreateHealthCheckResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateHealthCheckResponse Source #

A complex type containing the response information for the new health check.

See: createHealthCheckResponse smart constructor.

Instances

Eq CreateHealthCheckResponse Source # 
Data CreateHealthCheckResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateHealthCheckResponse -> c CreateHealthCheckResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateHealthCheckResponse #

toConstr :: CreateHealthCheckResponse -> Constr #

dataTypeOf :: CreateHealthCheckResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateHealthCheckResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateHealthCheckResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateHealthCheckResponse -> CreateHealthCheckResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateHealthCheckResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateHealthCheckResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateHealthCheckResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateHealthCheckResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateHealthCheckResponse -> m CreateHealthCheckResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateHealthCheckResponse -> m CreateHealthCheckResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateHealthCheckResponse -> m CreateHealthCheckResponse #

Read CreateHealthCheckResponse Source # 
Show CreateHealthCheckResponse Source # 
Generic CreateHealthCheckResponse Source # 
NFData CreateHealthCheckResponse Source # 
type Rep CreateHealthCheckResponse Source # 
type Rep CreateHealthCheckResponse = D1 (MetaData "CreateHealthCheckResponse" "Network.AWS.Route53.CreateHealthCheck" "amazonka-route53-1.4.3-GVCZrM1VgYbI4WdWSABHKg" False) (C1 (MetaCons "CreateHealthCheckResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_chcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_chcrsHealthCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HealthCheck)) (S1 (MetaSel (Just Symbol "_chcrsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

Response Lenses

chcrsHealthCheck :: Lens' CreateHealthCheckResponse HealthCheck Source #

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

chcrsLocation :: Lens' CreateHealthCheckResponse Text Source #

The unique URL representing the new health check.