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 |
Gets information about a wireless device.
Synopsis
- data GetWirelessDevice = GetWirelessDevice' {}
- newGetWirelessDevice :: Text -> WirelessDeviceIdType -> GetWirelessDevice
- getWirelessDevice_identifier :: Lens' GetWirelessDevice Text
- getWirelessDevice_identifierType :: Lens' GetWirelessDevice WirelessDeviceIdType
- data GetWirelessDeviceResponse = GetWirelessDeviceResponse' {
- arn :: Maybe Text
- description :: Maybe Text
- destinationName :: Maybe Text
- id :: Maybe Text
- loRaWAN :: Maybe LoRaWANDevice
- name :: Maybe Text
- positioning :: Maybe PositioningConfigStatus
- sidewalk :: Maybe SidewalkDevice
- thingArn :: Maybe Text
- thingName :: Maybe Text
- type' :: Maybe WirelessDeviceType
- httpStatus :: Int
- newGetWirelessDeviceResponse :: Int -> GetWirelessDeviceResponse
- getWirelessDeviceResponse_arn :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_description :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_destinationName :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_id :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_loRaWAN :: Lens' GetWirelessDeviceResponse (Maybe LoRaWANDevice)
- getWirelessDeviceResponse_name :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_positioning :: Lens' GetWirelessDeviceResponse (Maybe PositioningConfigStatus)
- getWirelessDeviceResponse_sidewalk :: Lens' GetWirelessDeviceResponse (Maybe SidewalkDevice)
- getWirelessDeviceResponse_thingArn :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_thingName :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_type :: Lens' GetWirelessDeviceResponse (Maybe WirelessDeviceType)
- getWirelessDeviceResponse_httpStatus :: Lens' GetWirelessDeviceResponse Int
Creating a Request
data GetWirelessDevice Source #
See: newGetWirelessDevice
smart constructor.
GetWirelessDevice' | |
|
Instances
Create a value of GetWirelessDevice
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:
GetWirelessDevice
, getWirelessDevice_identifier
- The identifier of the wireless device to get.
GetWirelessDevice
, getWirelessDevice_identifierType
- The type of identifier used in identifier
.
Request Lenses
getWirelessDevice_identifier :: Lens' GetWirelessDevice Text Source #
The identifier of the wireless device to get.
getWirelessDevice_identifierType :: Lens' GetWirelessDevice WirelessDeviceIdType Source #
The type of identifier used in identifier
.
Destructuring the Response
data GetWirelessDeviceResponse Source #
See: newGetWirelessDeviceResponse
smart constructor.
GetWirelessDeviceResponse' | |
|
Instances
newGetWirelessDeviceResponse Source #
Create a value of GetWirelessDeviceResponse
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:
GetWirelessDeviceResponse
, getWirelessDeviceResponse_arn
- The Amazon Resource Name of the resource.
GetWirelessDeviceResponse
, getWirelessDeviceResponse_description
- The description of the resource.
GetWirelessDeviceResponse
, getWirelessDeviceResponse_destinationName
- The name of the destination to which the device is assigned.
GetWirelessDeviceResponse
, getWirelessDeviceResponse_id
- The ID of the wireless device.
GetWirelessDeviceResponse
, getWirelessDeviceResponse_loRaWAN
- Information about the wireless device.
GetWirelessDeviceResponse
, getWirelessDeviceResponse_name
- The name of the resource.
GetWirelessDeviceResponse
, getWirelessDeviceResponse_positioning
- FPort values for the GNSS, stream, and ClockSync functions of the
positioning information.
GetWirelessDeviceResponse
, getWirelessDeviceResponse_sidewalk
- Sidewalk device object.
$sel:thingArn:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_thingArn
- The ARN of the thing associated with the wireless device.
$sel:thingName:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_thingName
- The name of the thing associated with the wireless device. The value is
empty if a thing isn't associated with the device.
GetWirelessDeviceResponse
, getWirelessDeviceResponse_type
- The wireless device type.
$sel:httpStatus:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
getWirelessDeviceResponse_arn :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
getWirelessDeviceResponse_description :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The description of the resource.
getWirelessDeviceResponse_destinationName :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The name of the destination to which the device is assigned.
getWirelessDeviceResponse_id :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The ID of the wireless device.
getWirelessDeviceResponse_loRaWAN :: Lens' GetWirelessDeviceResponse (Maybe LoRaWANDevice) Source #
Information about the wireless device.
getWirelessDeviceResponse_name :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The name of the resource.
getWirelessDeviceResponse_positioning :: Lens' GetWirelessDeviceResponse (Maybe PositioningConfigStatus) Source #
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
getWirelessDeviceResponse_sidewalk :: Lens' GetWirelessDeviceResponse (Maybe SidewalkDevice) Source #
Sidewalk device object.
getWirelessDeviceResponse_thingArn :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The ARN of the thing associated with the wireless device.
getWirelessDeviceResponse_thingName :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The name of the thing associated with the wireless device. The value is empty if a thing isn't associated with the device.
getWirelessDeviceResponse_type :: Lens' GetWirelessDeviceResponse (Maybe WirelessDeviceType) Source #
The wireless device type.
getWirelessDeviceResponse_httpStatus :: Lens' GetWirelessDeviceResponse Int Source #
The response's http status code.