| 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.IoTWireless.TestWirelessDevice
Description
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.
Constructors
| TestWirelessDevice' | |
Instances
newTestWirelessDevice Source #
Arguments
| :: Text | |
| -> TestWirelessDevice |
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:
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.
Constructors
| TestWirelessDeviceResponse' | |
Fields
| |
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.