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

Contents

Description

Retrieve a list of the health checks that are associated with the current AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

listHealthChecks :: ListHealthChecks Source #

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

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

  • lhcMarker - If the value of IsTruncated in the previous response was true , you have more health checks. To get another group, submit another ListHealthChecks request. For the value of marker , specify the value of NextMarker from the previous response, which is the ID of the first health check that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false , there are no more health checks to get.
  • lhcMaxItems - The maximum number of health checks that you want ListHealthChecks to return in response to the current request. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100 health checks.

data ListHealthChecks Source #

A request to retrieve a list of the health checks that are associated with the current AWS account.

See: listHealthChecks smart constructor.

Instances
Eq ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Data ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Methods

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

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

toConstr :: ListHealthChecks -> Constr #

dataTypeOf :: ListHealthChecks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Show ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Generic ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Associated Types

type Rep ListHealthChecks :: Type -> Type #

Hashable ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

AWSPager ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

AWSRequest ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Associated Types

type Rs ListHealthChecks :: Type #

ToHeaders ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

ToPath ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

ToQuery ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

NFData ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Methods

rnf :: ListHealthChecks -> () #

type Rep ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

type Rep ListHealthChecks = D1 (MetaData "ListHealthChecks" "Network.AWS.Route53.ListHealthChecks" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListHealthChecks'" PrefixI True) (S1 (MetaSel (Just "_lhcMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lhcMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Rs ListHealthChecks Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Request Lenses

lhcMarker :: Lens' ListHealthChecks (Maybe Text) Source #

If the value of IsTruncated in the previous response was true , you have more health checks. To get another group, submit another ListHealthChecks request. For the value of marker , specify the value of NextMarker from the previous response, which is the ID of the first health check that Amazon Route 53 will return if you submit another request. If the value of IsTruncated in the previous response was false , there are no more health checks to get.

lhcMaxItems :: Lens' ListHealthChecks (Maybe Text) Source #

The maximum number of health checks that you want ListHealthChecks to return in response to the current request. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100 health checks.

Destructuring the Response

listHealthChecksResponse Source #

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

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

  • lhcrsNextMarker - If IsTruncated is true , the value of NextMarker identifies the first health check that Amazon Route 53 returns if you submit another ListHealthChecks request and specify the value of NextMarker in the marker parameter.
  • lhcrsResponseStatus - -- | The response status code.
  • lhcrsHealthChecks - A complex type that contains one HealthCheck element for each health check that is associated with the current AWS account.
  • lhcrsMarker - For the second and subsequent calls to ListHealthChecks , Marker is the value that you specified for the marker parameter in the previous request.
  • lhcrsIsTruncated - A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting another ListHealthChecks request and specifying the value of NextMarker in the marker parameter.
  • lhcrsMaxItems - The value that you specified for the maxitems parameter in the call to ListHealthChecks that produced the current response.

data ListHealthChecksResponse Source #

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

See: listHealthChecksResponse smart constructor.

Instances
Eq ListHealthChecksResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Data ListHealthChecksResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Methods

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

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

toConstr :: ListHealthChecksResponse -> Constr #

dataTypeOf :: ListHealthChecksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHealthChecksResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Show ListHealthChecksResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Generic ListHealthChecksResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

Associated Types

type Rep ListHealthChecksResponse :: Type -> Type #

NFData ListHealthChecksResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

type Rep ListHealthChecksResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListHealthChecks

type Rep ListHealthChecksResponse = D1 (MetaData "ListHealthChecksResponse" "Network.AWS.Route53.ListHealthChecks" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListHealthChecksResponse'" PrefixI True) ((S1 (MetaSel (Just "_lhcrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lhcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_lhcrsHealthChecks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [HealthCheck]))) :*: (S1 (MetaSel (Just "_lhcrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_lhcrsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_lhcrsMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

Response Lenses

lhcrsNextMarker :: Lens' ListHealthChecksResponse (Maybe Text) Source #

If IsTruncated is true , the value of NextMarker identifies the first health check that Amazon Route 53 returns if you submit another ListHealthChecks request and specify the value of NextMarker in the marker parameter.

lhcrsHealthChecks :: Lens' ListHealthChecksResponse [HealthCheck] Source #

A complex type that contains one HealthCheck element for each health check that is associated with the current AWS account.

lhcrsMarker :: Lens' ListHealthChecksResponse Text Source #

For the second and subsequent calls to ListHealthChecks , Marker is the value that you specified for the marker parameter in the previous request.

lhcrsIsTruncated :: Lens' ListHealthChecksResponse Bool Source #

A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting another ListHealthChecks request and specifying the value of NextMarker in the marker parameter.

lhcrsMaxItems :: Lens' ListHealthChecksResponse Text Source #

The value that you specified for the maxitems parameter in the call to ListHealthChecks that produced the current response.