| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ELBV2.DescribeTargetHealth
Description
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.
Constructors
| DescribeTargetHealth' | |
Fields
| |
Instances
newDescribeTargetHealth Source #
Arguments
| :: Text | |
| -> DescribeTargetHealth |
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.
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.
Constructors
| DescribeTargetHealthResponse' | |
Fields
| |
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.