Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribeTargetGroups = DescribeTargetGroups' {}
- newDescribeTargetGroups :: DescribeTargetGroups
- describeTargetGroups_targetGroupArns :: Lens' DescribeTargetGroups (Maybe [Text])
- describeTargetGroups_names :: Lens' DescribeTargetGroups (Maybe [Text])
- describeTargetGroups_loadBalancerArn :: Lens' DescribeTargetGroups (Maybe Text)
- describeTargetGroups_marker :: Lens' DescribeTargetGroups (Maybe Text)
- describeTargetGroups_pageSize :: Lens' DescribeTargetGroups (Maybe Natural)
- data DescribeTargetGroupsResponse = DescribeTargetGroupsResponse' {
- nextMarker :: Maybe Text
- targetGroups :: Maybe [TargetGroup]
- httpStatus :: Int
- newDescribeTargetGroupsResponse :: Int -> DescribeTargetGroupsResponse
- describeTargetGroupsResponse_nextMarker :: Lens' DescribeTargetGroupsResponse (Maybe Text)
- describeTargetGroupsResponse_targetGroups :: Lens' DescribeTargetGroupsResponse (Maybe [TargetGroup])
- describeTargetGroupsResponse_httpStatus :: Lens' DescribeTargetGroupsResponse Int
Creating a Request
data DescribeTargetGroups Source #
See: newDescribeTargetGroups
smart constructor.
Constructors
DescribeTargetGroups' | |
Fields
|
Instances
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_names :: Lens' DescribeTargetGroups (Maybe [Text]) Source #
The names 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
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.
describeTargetGroupsResponse_targetGroups :: Lens' DescribeTargetGroupsResponse (Maybe [TargetGroup]) Source #
Information about the target groups.
describeTargetGroupsResponse_httpStatus :: Lens' DescribeTargetGroupsResponse Int Source #
The response's http status code.