Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- describeTargetGroups :: DescribeTargetGroups
- data DescribeTargetGroups
- dtgTargetGroupARNs :: Lens' DescribeTargetGroups [Text]
- dtgNames :: Lens' DescribeTargetGroups [Text]
- dtgLoadBalancerARN :: Lens' DescribeTargetGroups (Maybe Text)
- dtgMarker :: Lens' DescribeTargetGroups (Maybe Text)
- dtgPageSize :: Lens' DescribeTargetGroups (Maybe Natural)
- describeTargetGroupsResponse :: Int -> DescribeTargetGroupsResponse
- data DescribeTargetGroupsResponse
- dtgsrsNextMarker :: Lens' DescribeTargetGroupsResponse (Maybe Text)
- dtgsrsTargetGroups :: Lens' DescribeTargetGroupsResponse [TargetGroup]
- dtgsrsResponseStatus :: Lens' DescribeTargetGroupsResponse Int
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 #
See: describeTargetGroups
smart constructor.
Request Lenses
dtgTargetGroupARNs :: Lens' DescribeTargetGroups [Text] Source #
The Amazon Resource Names (ARN) 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:
dtgsrsNextMarker
- The marker to use when requesting the next set of results. If there are no additional results, the string is empty.dtgsrsTargetGroups
- Information about the target groups.dtgsrsResponseStatus
- -- | The response status code.
data DescribeTargetGroupsResponse Source #
See: describeTargetGroupsResponse
smart constructor.
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.
dtgsrsResponseStatus :: Lens' DescribeTargetGroupsResponse Int Source #
- - | The response status code.