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 #

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 #

Contains the parameters for DescribeTargetGroups.

See: describeTargetGroups smart constructor.

Instances

Eq DescribeTargetGroups # 
Data DescribeTargetGroups # 

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 # 
Show DescribeTargetGroups # 
Generic DescribeTargetGroups # 
Hashable DescribeTargetGroups # 
NFData DescribeTargetGroups # 

Methods

rnf :: DescribeTargetGroups -> () #

AWSPager DescribeTargetGroups # 
AWSRequest DescribeTargetGroups # 
ToQuery DescribeTargetGroups # 
ToPath DescribeTargetGroups # 
ToHeaders DescribeTargetGroups # 
type Rep DescribeTargetGroups # 
type Rep DescribeTargetGroups = D1 (MetaData "DescribeTargetGroups" "Network.AWS.ELBv2.DescribeTargetGroups" "amazonka-elbv2-1.4.5-1H99zq9GcvyVED37xNlPU" 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 # 

Request Lenses

dtgTargetGroupARNs :: Lens' DescribeTargetGroups [Text] #

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

dtgNames :: Lens' DescribeTargetGroups [Text] #

The names of the target groups.

dtgLoadBalancerARN :: Lens' DescribeTargetGroups (Maybe Text) #

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

dtgMarker :: Lens' DescribeTargetGroups (Maybe Text) #

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

dtgPageSize :: Lens' DescribeTargetGroups (Maybe Natural) #

The maximum number of results to return with this call.

Destructuring the Response

describeTargetGroupsResponse #

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 #

Contains the output of DescribeTargetGroups.

See: describeTargetGroupsResponse smart constructor.

Instances

Eq DescribeTargetGroupsResponse # 
Data DescribeTargetGroupsResponse # 

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 # 
Show DescribeTargetGroupsResponse # 
Generic DescribeTargetGroupsResponse # 
NFData DescribeTargetGroupsResponse # 
type Rep DescribeTargetGroupsResponse # 
type Rep DescribeTargetGroupsResponse = D1 (MetaData "DescribeTargetGroupsResponse" "Network.AWS.ELBv2.DescribeTargetGroups" "amazonka-elbv2-1.4.5-1H99zq9GcvyVED37xNlPU" 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) #

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] #

Information about the target groups.