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 |
Returns information about the most recent high availability monitoring test that was performed on the host in a cluster. If a test isn't performed, the status and start time in the response would be null.
Synopsis
- data DescribeAvailabilityMonitorTest = DescribeAvailabilityMonitorTest' {
- gatewayARN :: Text
- newDescribeAvailabilityMonitorTest :: Text -> DescribeAvailabilityMonitorTest
- describeAvailabilityMonitorTest_gatewayARN :: Lens' DescribeAvailabilityMonitorTest Text
- data DescribeAvailabilityMonitorTestResponse = DescribeAvailabilityMonitorTestResponse' {}
- newDescribeAvailabilityMonitorTestResponse :: Int -> DescribeAvailabilityMonitorTestResponse
- describeAvailabilityMonitorTestResponse_status :: Lens' DescribeAvailabilityMonitorTestResponse (Maybe AvailabilityMonitorTestStatus)
- describeAvailabilityMonitorTestResponse_startTime :: Lens' DescribeAvailabilityMonitorTestResponse (Maybe UTCTime)
- describeAvailabilityMonitorTestResponse_gatewayARN :: Lens' DescribeAvailabilityMonitorTestResponse (Maybe Text)
- describeAvailabilityMonitorTestResponse_httpStatus :: Lens' DescribeAvailabilityMonitorTestResponse Int
Creating a Request
data DescribeAvailabilityMonitorTest Source #
See: newDescribeAvailabilityMonitorTest
smart constructor.
Instances
newDescribeAvailabilityMonitorTest Source #
Create a value of DescribeAvailabilityMonitorTest
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:gatewayARN:DescribeAvailabilityMonitorTest'
, describeAvailabilityMonitorTest_gatewayARN
- Undocumented member.
Request Lenses
describeAvailabilityMonitorTest_gatewayARN :: Lens' DescribeAvailabilityMonitorTest Text Source #
Undocumented member.
Destructuring the Response
data DescribeAvailabilityMonitorTestResponse Source #
See: newDescribeAvailabilityMonitorTestResponse
smart constructor.
DescribeAvailabilityMonitorTestResponse' | |
|
Instances
newDescribeAvailabilityMonitorTestResponse Source #
Create a value of DescribeAvailabilityMonitorTestResponse
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:status:DescribeAvailabilityMonitorTestResponse'
, describeAvailabilityMonitorTestResponse_status
- The status of the high availability monitoring test. If a test hasn't
been performed, the value of this field is null.
$sel:startTime:DescribeAvailabilityMonitorTestResponse'
, describeAvailabilityMonitorTestResponse_startTime
- The time the high availability monitoring test was started. If a test
hasn't been performed, the value of this field is null.
$sel:gatewayARN:DescribeAvailabilityMonitorTest'
, describeAvailabilityMonitorTestResponse_gatewayARN
- Undocumented member.
$sel:httpStatus:DescribeAvailabilityMonitorTestResponse'
, describeAvailabilityMonitorTestResponse_httpStatus
- The response's http status code.
Response Lenses
describeAvailabilityMonitorTestResponse_status :: Lens' DescribeAvailabilityMonitorTestResponse (Maybe AvailabilityMonitorTestStatus) Source #
The status of the high availability monitoring test. If a test hasn't been performed, the value of this field is null.
describeAvailabilityMonitorTestResponse_startTime :: Lens' DescribeAvailabilityMonitorTestResponse (Maybe UTCTime) Source #
The time the high availability monitoring test was started. If a test hasn't been performed, the value of this field is null.
describeAvailabilityMonitorTestResponse_gatewayARN :: Lens' DescribeAvailabilityMonitorTestResponse (Maybe Text) Source #
Undocumented member.
describeAvailabilityMonitorTestResponse_httpStatus :: Lens' DescribeAvailabilityMonitorTestResponse Int Source #
The response's http status code.