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 |
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' {}
- newGetWirelessDeviceResponse :: Int -> GetWirelessDeviceResponse
- getWirelessDeviceResponse_sidewalk :: Lens' GetWirelessDeviceResponse (Maybe SidewalkDevice)
- getWirelessDeviceResponse_arn :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_loRaWAN :: Lens' GetWirelessDeviceResponse (Maybe LoRaWANDevice)
- getWirelessDeviceResponse_thingArn :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_name :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_id :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_type :: Lens' GetWirelessDeviceResponse (Maybe WirelessDeviceType)
- getWirelessDeviceResponse_destinationName :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_thingName :: Lens' GetWirelessDeviceResponse (Maybe Text)
- getWirelessDeviceResponse_description :: Lens' GetWirelessDeviceResponse (Maybe Text)
- 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:
$sel:identifier:GetWirelessDevice'
, getWirelessDevice_identifier
- The identifier of the wireless device to get.
$sel:identifierType: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:
$sel:sidewalk:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_sidewalk
- Sidewalk device object.
$sel:arn:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_arn
- The Amazon Resource Name of the resource.
$sel:loRaWAN:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_loRaWAN
- Information about the wireless device.
$sel:thingArn:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_thingArn
- The ARN of the thing associated with the wireless device.
$sel:name:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_name
- The name of the resource.
$sel:id:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_id
- The ID of the wireless device.
$sel:type':GetWirelessDeviceResponse'
, getWirelessDeviceResponse_type
- The wireless device type.
$sel:destinationName:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_destinationName
- The name of the destination to which the device is assigned.
$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.
$sel:description:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_description
- The description of the resource.
$sel:httpStatus:GetWirelessDeviceResponse'
, getWirelessDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
getWirelessDeviceResponse_sidewalk :: Lens' GetWirelessDeviceResponse (Maybe SidewalkDevice) Source #
Sidewalk device object.
getWirelessDeviceResponse_arn :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
getWirelessDeviceResponse_loRaWAN :: Lens' GetWirelessDeviceResponse (Maybe LoRaWANDevice) Source #
Information about the wireless device.
getWirelessDeviceResponse_thingArn :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The ARN of the thing associated with the wireless device.
getWirelessDeviceResponse_name :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The name of the resource.
getWirelessDeviceResponse_id :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The ID of the wireless device.
getWirelessDeviceResponse_type :: Lens' GetWirelessDeviceResponse (Maybe WirelessDeviceType) Source #
The wireless device type.
getWirelessDeviceResponse_destinationName :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The name of the destination to which the device is assigned.
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_description :: Lens' GetWirelessDeviceResponse (Maybe Text) Source #
The description of the resource.
getWirelessDeviceResponse_httpStatus :: Lens' GetWirelessDeviceResponse Int Source #
The response's http status code.