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 |
Describes the health of the specified targets or all of your targets.
Synopsis
- data DescribeTargetHealth = DescribeTargetHealth' {}
- newDescribeTargetHealth :: Text -> DescribeTargetHealth
- describeTargetHealth_targets :: Lens' DescribeTargetHealth (Maybe [TargetDescription])
- describeTargetHealth_targetGroupArn :: Lens' DescribeTargetHealth Text
- data DescribeTargetHealthResponse = DescribeTargetHealthResponse' {}
- newDescribeTargetHealthResponse :: Int -> DescribeTargetHealthResponse
- describeTargetHealthResponse_targetHealthDescriptions :: Lens' DescribeTargetHealthResponse (Maybe [TargetHealthDescription])
- describeTargetHealthResponse_httpStatus :: Lens' DescribeTargetHealthResponse Int
Creating a Request
data DescribeTargetHealth Source #
See: newDescribeTargetHealth
smart constructor.
DescribeTargetHealth' | |
|
Instances
newDescribeTargetHealth Source #
Create a value of DescribeTargetHealth
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:targets:DescribeTargetHealth'
, describeTargetHealth_targets
- The targets.
$sel:targetGroupArn:DescribeTargetHealth'
, describeTargetHealth_targetGroupArn
- The Amazon Resource Name (ARN) of the target group.
Request Lenses
describeTargetHealth_targets :: Lens' DescribeTargetHealth (Maybe [TargetDescription]) Source #
The targets.
describeTargetHealth_targetGroupArn :: Lens' DescribeTargetHealth Text Source #
The Amazon Resource Name (ARN) of the target group.
Destructuring the Response
data DescribeTargetHealthResponse Source #
See: newDescribeTargetHealthResponse
smart constructor.
DescribeTargetHealthResponse' | |
|
Instances
newDescribeTargetHealthResponse Source #
Create a value of DescribeTargetHealthResponse
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:targetHealthDescriptions:DescribeTargetHealthResponse'
, describeTargetHealthResponse_targetHealthDescriptions
- Information about the health of the targets.
$sel:httpStatus:DescribeTargetHealthResponse'
, describeTargetHealthResponse_httpStatus
- The response's http status code.
Response Lenses
describeTargetHealthResponse_targetHealthDescriptions :: Lens' DescribeTargetHealthResponse (Maybe [TargetHealthDescription]) Source #
Information about the health of the targets.
describeTargetHealthResponse_httpStatus :: Lens' DescribeTargetHealthResponse Int Source #
The response's http status code.