amazonka-elbv2-1.4.5: Amazon Elastic Load Balancing 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.ELBv2.DescribeTargetGroups

Contents

Description

Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups.

To describe the targets for a target group, use DescribeTargetHealth . To describe the attributes of a target group, use DescribeTargetGroupAttributes .

This operation returns paginated results.

Synopsis

Creating a Request

describeTargetGroups :: DescribeTargetGroups Source #

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

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

  • dtgTargetGroupARNs - The Amazon Resource Names (ARN) of the target groups.
  • dtgNames - The names of the target groups.
  • dtgLoadBalancerARN - The Amazon Resource Name (ARN) of the load balancer.
  • dtgMarker - The marker for the next set of results. (You received this marker from a previous call.)
  • dtgPageSize - The maximum number of results to return with this call.

data DescribeTargetGroups Source #

Contains the parameters for DescribeTargetGroups.

See: describeTargetGroups smart constructor.

Instances

Eq DescribeTargetGroups Source # 
Data DescribeTargetGroups Source # 

Methods

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

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

toConstr :: DescribeTargetGroups -> Constr #

dataTypeOf :: DescribeTargetGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTargetGroups Source # 
Show DescribeTargetGroups Source # 
Generic DescribeTargetGroups Source # 
Hashable DescribeTargetGroups Source # 
NFData DescribeTargetGroups Source # 

Methods

rnf :: DescribeTargetGroups -> () #

AWSPager DescribeTargetGroups Source # 
AWSRequest DescribeTargetGroups Source # 
ToPath DescribeTargetGroups Source # 
ToHeaders DescribeTargetGroups Source # 
ToQuery DescribeTargetGroups Source # 
type Rep DescribeTargetGroups Source # 
type Rep DescribeTargetGroups = D1 (MetaData "DescribeTargetGroups" "Network.AWS.ELBv2.DescribeTargetGroups" "amazonka-elbv2-1.4.5-J8ZeSE6X9TjH6Y7FrPuIXa" False) (C1 (MetaCons "DescribeTargetGroups'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dtgTargetGroupARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dtgNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_dtgLoadBalancerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dtgMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtgPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))))
type Rs DescribeTargetGroups Source # 

Request Lenses

dtgTargetGroupARNs :: Lens' DescribeTargetGroups [Text] Source #

The Amazon Resource Names (ARN) of the target groups.

dtgNames :: Lens' DescribeTargetGroups [Text] Source #

The names of the target groups.

dtgLoadBalancerARN :: Lens' DescribeTargetGroups (Maybe Text) Source #

The Amazon Resource Name (ARN) of the load balancer.

dtgMarker :: Lens' DescribeTargetGroups (Maybe Text) Source #

The marker for the next set of results. (You received this marker from a previous call.)

dtgPageSize :: Lens' DescribeTargetGroups (Maybe Natural) Source #

The maximum number of results to return with this call.

Destructuring the Response

describeTargetGroupsResponse Source #

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

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

data DescribeTargetGroupsResponse Source #

Contains the output of DescribeTargetGroups.

See: describeTargetGroupsResponse smart constructor.

Instances

Eq DescribeTargetGroupsResponse Source # 
Data DescribeTargetGroupsResponse Source # 

Methods

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

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

toConstr :: DescribeTargetGroupsResponse -> Constr #

dataTypeOf :: DescribeTargetGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTargetGroupsResponse Source # 
Show DescribeTargetGroupsResponse Source # 
Generic DescribeTargetGroupsResponse Source # 
NFData DescribeTargetGroupsResponse Source # 
type Rep DescribeTargetGroupsResponse Source # 
type Rep DescribeTargetGroupsResponse = D1 (MetaData "DescribeTargetGroupsResponse" "Network.AWS.ELBv2.DescribeTargetGroups" "amazonka-elbv2-1.4.5-J8ZeSE6X9TjH6Y7FrPuIXa" False) (C1 (MetaCons "DescribeTargetGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtgsrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dtgsrsTargetGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TargetGroup]))) (S1 (MetaSel (Just Symbol "_dtgsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dtgsrsNextMarker :: Lens' DescribeTargetGroupsResponse (Maybe Text) Source #

The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

dtgsrsTargetGroups :: Lens' DescribeTargetGroupsResponse [TargetGroup] Source #

Information about the target groups.