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
Documentation
A job that runs on a device.
See: newDeviceJob
smart constructor.
Instances
Eq DeviceJob Source # | |
Read DeviceJob Source # | |
Show DeviceJob Source # | |
Generic DeviceJob Source # | |
NFData DeviceJob Source # | |
Defined in Amazonka.Panorama.Types.DeviceJob | |
Hashable DeviceJob Source # | |
Defined in Amazonka.Panorama.Types.DeviceJob | |
FromJSON DeviceJob Source # | |
type Rep DeviceJob Source # | |
Defined in Amazonka.Panorama.Types.DeviceJob type Rep DeviceJob = D1 ('MetaData "DeviceJob" "Amazonka.Panorama.Types.DeviceJob" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "DeviceJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newDeviceJob :: DeviceJob Source #
Create a value of DeviceJob
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:jobId:DeviceJob'
, deviceJob_jobId
- The job's ID.
$sel:createdTime:DeviceJob'
, deviceJob_createdTime
- When the job was created.
$sel:deviceName:DeviceJob'
, deviceJob_deviceName
- The name of the target device
$sel:deviceId:DeviceJob'
, deviceJob_deviceId
- The ID of the target device.