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 |
Checks the status of a remote task running on one or more target devices.
Synopsis
- data DescribeExecution = DescribeExecution' {
- managedDeviceId :: Text
- taskId :: Text
- newDescribeExecution :: Text -> Text -> DescribeExecution
- describeExecution_managedDeviceId :: Lens' DescribeExecution Text
- describeExecution_taskId :: Lens' DescribeExecution Text
- data DescribeExecutionResponse = DescribeExecutionResponse' {}
- newDescribeExecutionResponse :: Int -> DescribeExecutionResponse
- describeExecutionResponse_executionId :: Lens' DescribeExecutionResponse (Maybe Text)
- describeExecutionResponse_state :: Lens' DescribeExecutionResponse (Maybe ExecutionState)
- describeExecutionResponse_lastUpdatedAt :: Lens' DescribeExecutionResponse (Maybe UTCTime)
- describeExecutionResponse_taskId :: Lens' DescribeExecutionResponse (Maybe Text)
- describeExecutionResponse_startedAt :: Lens' DescribeExecutionResponse (Maybe UTCTime)
- describeExecutionResponse_managedDeviceId :: Lens' DescribeExecutionResponse (Maybe Text)
- describeExecutionResponse_httpStatus :: Lens' DescribeExecutionResponse Int
Creating a Request
data DescribeExecution Source #
See: newDescribeExecution
smart constructor.
DescribeExecution' | |
|
Instances
:: Text | |
-> Text | |
-> DescribeExecution |
Create a value of DescribeExecution
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:managedDeviceId:DescribeExecution'
, describeExecution_managedDeviceId
- The ID of the managed device.
$sel:taskId:DescribeExecution'
, describeExecution_taskId
- The ID of the task that the action is describing.
Request Lenses
describeExecution_managedDeviceId :: Lens' DescribeExecution Text Source #
The ID of the managed device.
describeExecution_taskId :: Lens' DescribeExecution Text Source #
The ID of the task that the action is describing.
Destructuring the Response
data DescribeExecutionResponse Source #
See: newDescribeExecutionResponse
smart constructor.
DescribeExecutionResponse' | |
|
Instances
newDescribeExecutionResponse Source #
Create a value of DescribeExecutionResponse
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:executionId:DescribeExecutionResponse'
, describeExecutionResponse_executionId
- The ID of the execution.
$sel:state:DescribeExecutionResponse'
, describeExecutionResponse_state
- The current state of the execution.
$sel:lastUpdatedAt:DescribeExecutionResponse'
, describeExecutionResponse_lastUpdatedAt
- When the status of the execution was last updated.
$sel:taskId:DescribeExecution'
, describeExecutionResponse_taskId
- The ID of the task being executed on the device.
$sel:startedAt:DescribeExecutionResponse'
, describeExecutionResponse_startedAt
- When the execution began.
$sel:managedDeviceId:DescribeExecution'
, describeExecutionResponse_managedDeviceId
- The ID of the managed device that the task is being executed on.
$sel:httpStatus:DescribeExecutionResponse'
, describeExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
describeExecutionResponse_executionId :: Lens' DescribeExecutionResponse (Maybe Text) Source #
The ID of the execution.
describeExecutionResponse_state :: Lens' DescribeExecutionResponse (Maybe ExecutionState) Source #
The current state of the execution.
describeExecutionResponse_lastUpdatedAt :: Lens' DescribeExecutionResponse (Maybe UTCTime) Source #
When the status of the execution was last updated.
describeExecutionResponse_taskId :: Lens' DescribeExecutionResponse (Maybe Text) Source #
The ID of the task being executed on the device.
describeExecutionResponse_startedAt :: Lens' DescribeExecutionResponse (Maybe UTCTime) Source #
When the execution began.
describeExecutionResponse_managedDeviceId :: Lens' DescribeExecutionResponse (Maybe Text) Source #
The ID of the managed device that the task is being executed on.
describeExecutionResponse_httpStatus :: Lens' DescribeExecutionResponse Int Source #
The response's http status code.