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

Amazonka.ELBV2.DescribeTargetGroups

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.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTargetGroups Source #

See: newDescribeTargetGroups smart constructor.

Constructors

DescribeTargetGroups' 

Fields

Instances

Instances details
Eq DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Read DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Show DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Generic DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Associated Types

type Rep DescribeTargetGroups :: Type -> Type #

NFData DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Methods

rnf :: DescribeTargetGroups -> () #

Hashable DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

AWSPager DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

AWSRequest DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Associated Types

type AWSResponse DescribeTargetGroups #

ToHeaders DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

ToPath DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

ToQuery DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

type Rep DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

type Rep DescribeTargetGroups = D1 ('MetaData "DescribeTargetGroups" "Amazonka.ELBV2.DescribeTargetGroups" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "DescribeTargetGroups'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetGroupArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "loadBalancerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

newDescribeTargetGroups :: DescribeTargetGroups Source #

Create a value of DescribeTargetGroups with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:targetGroupArns:DescribeTargetGroups', describeTargetGroups_targetGroupArns - The Amazon Resource Names (ARN) of the target groups.

$sel:names:DescribeTargetGroups', describeTargetGroups_names - The names of the target groups.

$sel:loadBalancerArn:DescribeTargetGroups', describeTargetGroups_loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.

$sel:marker:DescribeTargetGroups', describeTargetGroups_marker - The marker for the next set of results. (You received this marker from a previous call.)

$sel:pageSize:DescribeTargetGroups', describeTargetGroups_pageSize - The maximum number of results to return with this call.

Request Lenses

describeTargetGroups_targetGroupArns :: Lens' DescribeTargetGroups (Maybe [Text]) Source #

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

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

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

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

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

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

The maximum number of results to return with this call.

Destructuring the Response

data DescribeTargetGroupsResponse Source #

See: newDescribeTargetGroupsResponse smart constructor.

Constructors

DescribeTargetGroupsResponse' 

Fields

Instances

Instances details
Eq DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Read DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Show DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Generic DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Associated Types

type Rep DescribeTargetGroupsResponse :: Type -> Type #

NFData DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

type Rep DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

type Rep DescribeTargetGroupsResponse = D1 ('MetaData "DescribeTargetGroupsResponse" "Amazonka.ELBV2.DescribeTargetGroups" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "DescribeTargetGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetGroup])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTargetGroupsResponse Source #

Create a value of DescribeTargetGroupsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextMarker:DescribeTargetGroupsResponse', describeTargetGroupsResponse_nextMarker - If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

$sel:targetGroups:DescribeTargetGroupsResponse', describeTargetGroupsResponse_targetGroups - Information about the target groups.

$sel:httpStatus:DescribeTargetGroupsResponse', describeTargetGroupsResponse_httpStatus - The response's http status code.

Response Lenses

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

If there are additional results, this is the marker for the next set of results. Otherwise, this is null.