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 |
Synopsis
- data Device = Device' {
- vendor :: Maybe Text
- state :: Maybe DeviceState
- location :: Maybe (Sensitive Location)
- createdAt :: Maybe POSIX
- deviceArn :: Maybe Text
- aWSLocation :: Maybe AWSLocation
- globalNetworkId :: Maybe Text
- model :: Maybe Text
- deviceId :: Maybe Text
- type' :: Maybe Text
- serialNumber :: Maybe Text
- siteId :: Maybe Text
- description :: Maybe Text
- tags :: Maybe [Tag]
- newDevice :: Device
- device_vendor :: Lens' Device (Maybe Text)
- device_state :: Lens' Device (Maybe DeviceState)
- device_location :: Lens' Device (Maybe Location)
- device_createdAt :: Lens' Device (Maybe UTCTime)
- device_deviceArn :: Lens' Device (Maybe Text)
- device_aWSLocation :: Lens' Device (Maybe AWSLocation)
- device_globalNetworkId :: Lens' Device (Maybe Text)
- device_model :: Lens' Device (Maybe Text)
- device_deviceId :: Lens' Device (Maybe Text)
- device_type :: Lens' Device (Maybe Text)
- device_serialNumber :: Lens' Device (Maybe Text)
- device_siteId :: Lens' Device (Maybe Text)
- device_description :: Lens' Device (Maybe Text)
- device_tags :: Lens' Device (Maybe [Tag])
Documentation
Describes a device.
See: newDevice
smart constructor.
Device' | |
|
Instances
Create a value of Device
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:vendor:Device'
, device_vendor
- The device vendor.
$sel:state:Device'
, device_state
- The device state.
$sel:location:Device'
, device_location
- The site location.
$sel:createdAt:Device'
, device_createdAt
- The date and time that the site was created.
$sel:deviceArn:Device'
, device_deviceArn
- The Amazon Resource Name (ARN) of the device.
$sel:aWSLocation:Device'
, device_aWSLocation
- The AWS location of the device.
$sel:globalNetworkId:Device'
, device_globalNetworkId
- The ID of the global network.
$sel:model:Device'
, device_model
- The device model.
$sel:deviceId:Device'
, device_deviceId
- The ID of the device.
$sel:type':Device'
, device_type
- The device type.
$sel:serialNumber:Device'
, device_serialNumber
- The device serial number.
$sel:siteId:Device'
, device_siteId
- The site ID.
$sel:description:Device'
, device_description
- The description of the device.
$sel:tags:Device'
, device_tags
- The tags for the device.
device_state :: Lens' Device (Maybe DeviceState) Source #
The device state.
device_createdAt :: Lens' Device (Maybe UTCTime) Source #
The date and time that the site was created.
device_aWSLocation :: Lens' Device (Maybe AWSLocation) Source #
The AWS location of the device.