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 |
Simulates a provisioned device by sending an uplink data payload of
Hello
.
Synopsis
- data TestWirelessDevice = TestWirelessDevice' {}
- newTestWirelessDevice :: Text -> TestWirelessDevice
- testWirelessDevice_id :: Lens' TestWirelessDevice Text
- data TestWirelessDeviceResponse = TestWirelessDeviceResponse' {
- result :: Maybe Text
- httpStatus :: Int
- newTestWirelessDeviceResponse :: Int -> TestWirelessDeviceResponse
- testWirelessDeviceResponse_result :: Lens' TestWirelessDeviceResponse (Maybe Text)
- testWirelessDeviceResponse_httpStatus :: Lens' TestWirelessDeviceResponse Int
Creating a Request
data TestWirelessDevice Source #
See: newTestWirelessDevice
smart constructor.
Instances
newTestWirelessDevice Source #
Create a value of TestWirelessDevice
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:id:TestWirelessDevice'
, testWirelessDevice_id
- The ID of the wireless device to test.
Request Lenses
testWirelessDevice_id :: Lens' TestWirelessDevice Text Source #
The ID of the wireless device to test.
Destructuring the Response
data TestWirelessDeviceResponse Source #
See: newTestWirelessDeviceResponse
smart constructor.
TestWirelessDeviceResponse' | |
|
Instances
newTestWirelessDeviceResponse Source #
Create a value of TestWirelessDeviceResponse
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:result:TestWirelessDeviceResponse'
, testWirelessDeviceResponse_result
- The result returned by the test.
$sel:httpStatus:TestWirelessDeviceResponse'
, testWirelessDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
testWirelessDeviceResponse_result :: Lens' TestWirelessDeviceResponse (Maybe Text) Source #
The result returned by the test.
testWirelessDeviceResponse_httpStatus :: Lens' TestWirelessDeviceResponse Int Source #
The response's http status code.