| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.StepFunctions.SendTaskHeartbeat
Description
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 contains an ActivityTimedOut event.
Creating a Request
Arguments
| :: Text | |
| -> SendTaskHeartbeat |
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 'GetActivityTaskOutput$taskToken' ).
data SendTaskHeartbeat Source #
See: sendTaskHeartbeat smart constructor.
Instances
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 'GetActivityTaskOutput$taskToken' ).
Destructuring the Response
sendTaskHeartbeatResponse Source #
Arguments
| :: Int | |
| -> SendTaskHeartbeatResponse |
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.
Instances
Response Lenses
sthrsResponseStatus :: Lens' SendTaskHeartbeatResponse Int Source #
- - | The response status code.