amazonka-route53-autonaming-1.6.1: Amazon Route 53 Auto Naming 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.Route53AutoNaming.GetInstancesHealthStatus

Contents

Description

Gets the current health status (Healthy , Unhealthy , or Unknown ) of one or more instances that are associated with a specified service.

Synopsis

Creating a Request

getInstancesHealthStatus Source #

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

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

  • gihsNextToken - For the first GetInstancesHealthStatus request, omit this value. If more than MaxResults instances match the specified criteria, you can submit another GetInstancesHealthStatus request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
  • gihsInstances - An array that contains the IDs of all the instances that you want to get the health status for. If you omit Instances , Amazon Route 53 returns the health status for all the instances that are associated with the specified service.
  • gihsMaxResults - The maximum number of instances that you want Route 53 to return in the response to a GetInstancesHealthStatus request. If you don't specify a value for MaxResults , Route 53 returns up to 100 instances.
  • gihsServiceId - The ID of the service that the instance is associated with.

data GetInstancesHealthStatus Source #

See: getInstancesHealthStatus smart constructor.

Instances
Eq GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Data GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Methods

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

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

toConstr :: GetInstancesHealthStatus -> Constr #

dataTypeOf :: GetInstancesHealthStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Show GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Generic GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Associated Types

type Rep GetInstancesHealthStatus :: Type -> Type #

Hashable GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

ToJSON GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

AWSRequest GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Associated Types

type Rs GetInstancesHealthStatus :: Type #

ToHeaders GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

ToPath GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

ToQuery GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

NFData GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

type Rep GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

type Rep GetInstancesHealthStatus = D1 (MetaData "GetInstancesHealthStatus" "Network.AWS.Route53AutoNaming.GetInstancesHealthStatus" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "GetInstancesHealthStatus'" PrefixI True) ((S1 (MetaSel (Just "_gihsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gihsInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) :*: (S1 (MetaSel (Just "_gihsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_gihsServiceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetInstancesHealthStatus Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Request Lenses

gihsNextToken :: Lens' GetInstancesHealthStatus (Maybe Text) Source #

For the first GetInstancesHealthStatus request, omit this value. If more than MaxResults instances match the specified criteria, you can submit another GetInstancesHealthStatus request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

gihsInstances :: Lens' GetInstancesHealthStatus (Maybe (NonEmpty Text)) Source #

An array that contains the IDs of all the instances that you want to get the health status for. If you omit Instances , Amazon Route 53 returns the health status for all the instances that are associated with the specified service.

gihsMaxResults :: Lens' GetInstancesHealthStatus (Maybe Natural) Source #

The maximum number of instances that you want Route 53 to return in the response to a GetInstancesHealthStatus request. If you don't specify a value for MaxResults , Route 53 returns up to 100 instances.

gihsServiceId :: Lens' GetInstancesHealthStatus Text Source #

The ID of the service that the instance is associated with.

Destructuring the Response

getInstancesHealthStatusResponse Source #

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

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

  • gihsrsStatus - A complex type that contains the IDs and the health status of the instances that you specified in the GetInstancesHealthStatus request.
  • gihsrsNextToken - If more than MaxResults instances match the specified criteria, you can submit another GetInstancesHealthStatus request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
  • gihsrsResponseStatus - -- | The response status code.

data GetInstancesHealthStatusResponse Source #

See: getInstancesHealthStatusResponse smart constructor.

Instances
Eq GetInstancesHealthStatusResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Data GetInstancesHealthStatusResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Methods

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

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

toConstr :: GetInstancesHealthStatusResponse -> Constr #

dataTypeOf :: GetInstancesHealthStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInstancesHealthStatusResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Show GetInstancesHealthStatusResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Generic GetInstancesHealthStatusResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

Associated Types

type Rep GetInstancesHealthStatusResponse :: Type -> Type #

NFData GetInstancesHealthStatusResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

type Rep GetInstancesHealthStatusResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstancesHealthStatus

type Rep GetInstancesHealthStatusResponse = D1 (MetaData "GetInstancesHealthStatusResponse" "Network.AWS.Route53AutoNaming.GetInstancesHealthStatus" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "GetInstancesHealthStatusResponse'" PrefixI True) (S1 (MetaSel (Just "_gihsrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text HealthStatus))) :*: (S1 (MetaSel (Just "_gihsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gihsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gihsrsStatus :: Lens' GetInstancesHealthStatusResponse (HashMap Text HealthStatus) Source #

A complex type that contains the IDs and the health status of the instances that you specified in the GetInstancesHealthStatus request.

gihsrsNextToken :: Lens' GetInstancesHealthStatusResponse (Maybe Text) Source #

If more than MaxResults instances match the specified criteria, you can submit another GetInstancesHealthStatus request to get the next group of results. Specify the value of NextToken from the previous response in the next request.