Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Used by workers to report to the service that the task represented by the specified taskToken
is still making progress. This action resets the Heartbeat
clock. The Heartbeat
threshold is specified in the state machine's Amazon States Language definition. This action does not in itself create an event in the execution history. However, if the task times out, the execution history will contain an ActivityTimedOut
event.
Creating a Request
Creates a value of SendTaskHeartbeat
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sthTaskToken
- The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
data SendTaskHeartbeat Source #
See: sendTaskHeartbeat
smart constructor.
Request Lenses
sthTaskToken :: Lens' SendTaskHeartbeat Text Source #
The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
Destructuring the Response
sendTaskHeartbeatResponse Source #
Creates a value of SendTaskHeartbeatResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sthrsResponseStatus
- -- | The response status code.
data SendTaskHeartbeatResponse Source #
See: sendTaskHeartbeatResponse
smart constructor.
Response Lenses
sthrsResponseStatus :: Lens' SendTaskHeartbeatResponse Int Source #
- - | The response status code.