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 |
Network.AWS.StepFunctions.SendTaskSuccess
Description
Used by workers to report that the task identified by the taskToken
completed successfully.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> SendTaskSuccess |
Creates a value of SendTaskSuccess
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stsTaskToken
- The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).stsOutput
- The JSON output of the task.
data SendTaskSuccess #
See: sendTaskSuccess
smart constructor.
Instances
Request Lenses
stsTaskToken :: Lens' SendTaskSuccess Text #
The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
stsOutput :: Lens' SendTaskSuccess Text #
The JSON output of the task.
Destructuring the Response
Arguments
:: Int | |
-> SendTaskSuccessResponse |
Creates a value of SendTaskSuccessResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stsrsResponseStatus
- -- | The response status code.
data SendTaskSuccessResponse #
See: sendTaskSuccessResponse
smart constructor.
Response Lenses
stsrsResponseStatus :: Lens' SendTaskSuccessResponse Int #
- - | The response status code.