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 |
Returns information about a device job.
Synopsis
- data DescribeDeviceJob = DescribeDeviceJob' {}
- newDescribeDeviceJob :: Text -> DescribeDeviceJob
- describeDeviceJob_jobId :: Lens' DescribeDeviceJob Text
- data DescribeDeviceJobResponse = DescribeDeviceJobResponse' {
- status :: Maybe UpdateProgress
- jobId :: Maybe Text
- createdTime :: Maybe POSIX
- deviceArn :: Maybe Text
- imageVersion :: Maybe Text
- deviceName :: Maybe Text
- deviceId :: Maybe Text
- deviceType :: Maybe DeviceType
- httpStatus :: Int
- newDescribeDeviceJobResponse :: Int -> DescribeDeviceJobResponse
- describeDeviceJobResponse_status :: Lens' DescribeDeviceJobResponse (Maybe UpdateProgress)
- describeDeviceJobResponse_jobId :: Lens' DescribeDeviceJobResponse (Maybe Text)
- describeDeviceJobResponse_createdTime :: Lens' DescribeDeviceJobResponse (Maybe UTCTime)
- describeDeviceJobResponse_deviceArn :: Lens' DescribeDeviceJobResponse (Maybe Text)
- describeDeviceJobResponse_imageVersion :: Lens' DescribeDeviceJobResponse (Maybe Text)
- describeDeviceJobResponse_deviceName :: Lens' DescribeDeviceJobResponse (Maybe Text)
- describeDeviceJobResponse_deviceId :: Lens' DescribeDeviceJobResponse (Maybe Text)
- describeDeviceJobResponse_deviceType :: Lens' DescribeDeviceJobResponse (Maybe DeviceType)
- describeDeviceJobResponse_httpStatus :: Lens' DescribeDeviceJobResponse Int
Creating a Request
data DescribeDeviceJob Source #
See: newDescribeDeviceJob
smart constructor.
Instances
Create a value of DescribeDeviceJob
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:DescribeDeviceJob'
, describeDeviceJob_jobId
- The job's ID.
Request Lenses
describeDeviceJob_jobId :: Lens' DescribeDeviceJob Text Source #
The job's ID.
Destructuring the Response
data DescribeDeviceJobResponse Source #
See: newDescribeDeviceJobResponse
smart constructor.
DescribeDeviceJobResponse' | |
|
Instances
newDescribeDeviceJobResponse Source #
Create a value of DescribeDeviceJobResponse
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:status:DescribeDeviceJobResponse'
, describeDeviceJobResponse_status
- The job's status.
$sel:jobId:DescribeDeviceJob'
, describeDeviceJobResponse_jobId
- The job's ID.
$sel:createdTime:DescribeDeviceJobResponse'
, describeDeviceJobResponse_createdTime
- When the job was created.
$sel:deviceArn:DescribeDeviceJobResponse'
, describeDeviceJobResponse_deviceArn
- The device's ARN.
$sel:imageVersion:DescribeDeviceJobResponse'
, describeDeviceJobResponse_imageVersion
- For an OTA job, the target version of the device software.
$sel:deviceName:DescribeDeviceJobResponse'
, describeDeviceJobResponse_deviceName
- The device's name.
$sel:deviceId:DescribeDeviceJobResponse'
, describeDeviceJobResponse_deviceId
- The device's ID.
$sel:deviceType:DescribeDeviceJobResponse'
, describeDeviceJobResponse_deviceType
- The device's type.
$sel:httpStatus:DescribeDeviceJobResponse'
, describeDeviceJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeDeviceJobResponse_status :: Lens' DescribeDeviceJobResponse (Maybe UpdateProgress) Source #
The job's status.
describeDeviceJobResponse_jobId :: Lens' DescribeDeviceJobResponse (Maybe Text) Source #
The job's ID.
describeDeviceJobResponse_createdTime :: Lens' DescribeDeviceJobResponse (Maybe UTCTime) Source #
When the job was created.
describeDeviceJobResponse_deviceArn :: Lens' DescribeDeviceJobResponse (Maybe Text) Source #
The device's ARN.
describeDeviceJobResponse_imageVersion :: Lens' DescribeDeviceJobResponse (Maybe Text) Source #
For an OTA job, the target version of the device software.
describeDeviceJobResponse_deviceName :: Lens' DescribeDeviceJobResponse (Maybe Text) Source #
The device's name.
describeDeviceJobResponse_deviceId :: Lens' DescribeDeviceJobResponse (Maybe Text) Source #
The device's ID.
describeDeviceJobResponse_deviceType :: Lens' DescribeDeviceJobResponse (Maybe DeviceType) Source #
The device's type.
describeDeviceJobResponse_httpStatus :: Lens' DescribeDeviceJobResponse Int Source #
The response's http status code.