amazonka-elbv2-2.0: Amazon Elastic Load Balancing SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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 #

Generic DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Associated Types

type Rep DescribeTargetGroups :: Type -> Type #

Read DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Show DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

NFData DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Methods

rnf :: DescribeTargetGroups -> () #

Eq DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Hashable DescribeTargetGroups Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

type AWSResponse 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" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "DescribeTargetGroups'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "loadBalancerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "targetGroupArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))

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:

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:names:DescribeTargetGroups', describeTargetGroups_names - The names of the target groups.

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

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

Request Lenses

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.

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

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

Destructuring the Response

data DescribeTargetGroupsResponse Source #

See: newDescribeTargetGroupsResponse smart constructor.

Constructors

DescribeTargetGroupsResponse' 

Fields

Instances

Instances details
Generic DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Associated Types

type Rep DescribeTargetGroupsResponse :: Type -> Type #

Read DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Show DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

NFData DescribeTargetGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DescribeTargetGroups

Eq 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" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" '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.

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.