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 |
Start a test that verifies that the specified gateway is configured for
High Availability monitoring in your host environment. This request only
initiates the test and that a successful response only indicates that
the test was started. It doesn't indicate that the test passed. For the
status of the test, invoke the DescribeAvailabilityMonitorTest
API.
Starting this test will cause your gateway to go offline for a brief period.
Synopsis
- data StartAvailabilityMonitorTest = StartAvailabilityMonitorTest' {
- gatewayARN :: Text
- newStartAvailabilityMonitorTest :: Text -> StartAvailabilityMonitorTest
- startAvailabilityMonitorTest_gatewayARN :: Lens' StartAvailabilityMonitorTest Text
- data StartAvailabilityMonitorTestResponse = StartAvailabilityMonitorTestResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newStartAvailabilityMonitorTestResponse :: Int -> StartAvailabilityMonitorTestResponse
- startAvailabilityMonitorTestResponse_gatewayARN :: Lens' StartAvailabilityMonitorTestResponse (Maybe Text)
- startAvailabilityMonitorTestResponse_httpStatus :: Lens' StartAvailabilityMonitorTestResponse Int
Creating a Request
data StartAvailabilityMonitorTest Source #
See: newStartAvailabilityMonitorTest
smart constructor.
Instances
newStartAvailabilityMonitorTest Source #
Create a value of StartAvailabilityMonitorTest
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:StartAvailabilityMonitorTest'
, startAvailabilityMonitorTest_gatewayARN
- Undocumented member.
Request Lenses
startAvailabilityMonitorTest_gatewayARN :: Lens' StartAvailabilityMonitorTest Text Source #
Undocumented member.
Destructuring the Response
data StartAvailabilityMonitorTestResponse Source #
See: newStartAvailabilityMonitorTestResponse
smart constructor.
StartAvailabilityMonitorTestResponse' | |
|
Instances
newStartAvailabilityMonitorTestResponse Source #
Create a value of StartAvailabilityMonitorTestResponse
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:StartAvailabilityMonitorTest'
, startAvailabilityMonitorTestResponse_gatewayARN
- Undocumented member.
$sel:httpStatus:StartAvailabilityMonitorTestResponse'
, startAvailabilityMonitorTestResponse_httpStatus
- The response's http status code.
Response Lenses
startAvailabilityMonitorTestResponse_gatewayARN :: Lens' StartAvailabilityMonitorTestResponse (Maybe Text) Source #
Undocumented member.
startAvailabilityMonitorTestResponse_httpStatus :: Lens' StartAvailabilityMonitorTestResponse Int Source #
The response's http status code.