amazonka-route53-1.6.1: Amazon Route 53 SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.GetHealthCheck

Contents

Description

Gets information about a specified health check.

Synopsis

Creating a Request

getHealthCheck Source #

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

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

  • ghcHealthCheckId - The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

data GetHealthCheck Source #

A request to get information about a specified health check.

See: getHealthCheck smart constructor.

Instances
Eq GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Data GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Methods

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

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

toConstr :: GetHealthCheck -> Constr #

dataTypeOf :: GetHealthCheck -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Show GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Generic GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Associated Types

type Rep GetHealthCheck :: Type -> Type #

Hashable GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

AWSRequest GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Associated Types

type Rs GetHealthCheck :: Type #

ToHeaders GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

ToPath GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

ToQuery GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

NFData GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Methods

rnf :: GetHealthCheck -> () #

type Rep GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

type Rep GetHealthCheck = D1 (MetaData "GetHealthCheck" "Network.AWS.Route53.GetHealthCheck" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" True) (C1 (MetaCons "GetHealthCheck'" PrefixI True) (S1 (MetaSel (Just "_ghcHealthCheckId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetHealthCheck Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Request Lenses

ghcHealthCheckId :: Lens' GetHealthCheck Text Source #

The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

Destructuring the Response

getHealthCheckResponse Source #

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

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

  • ghcrsResponseStatus - -- | The response status code.
  • ghcrsHealthCheck - A complex type that contains information about one health check that is associated with the current AWS account.

data GetHealthCheckResponse Source #

A complex type that contains the response to a GetHealthCheck request.

See: getHealthCheckResponse smart constructor.

Instances
Eq GetHealthCheckResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Data GetHealthCheckResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Methods

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

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

toConstr :: GetHealthCheckResponse -> Constr #

dataTypeOf :: GetHealthCheckResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHealthCheckResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Show GetHealthCheckResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Generic GetHealthCheckResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Associated Types

type Rep GetHealthCheckResponse :: Type -> Type #

NFData GetHealthCheckResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

Methods

rnf :: GetHealthCheckResponse -> () #

type Rep GetHealthCheckResponse Source # 
Instance details

Defined in Network.AWS.Route53.GetHealthCheck

type Rep GetHealthCheckResponse = D1 (MetaData "GetHealthCheckResponse" "Network.AWS.Route53.GetHealthCheck" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "GetHealthCheckResponse'" PrefixI True) (S1 (MetaSel (Just "_ghcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_ghcrsHealthCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HealthCheck)))

Response Lenses

ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck Source #

A complex type that contains information about one health check that is associated with the current AWS account.