| 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.SendTaskSuccess
Description
Used by workers to report that the task identified by the taskToken completed successfully.
Synopsis
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 'GetActivityTaskOutput$taskToken' ).stsOutput- The JSON output of the task.
data SendTaskSuccess Source #
See: sendTaskSuccess smart constructor.
Instances
Request Lenses
stsTaskToken :: Lens' SendTaskSuccess 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
sendTaskSuccessResponse Source #
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 Source #
See: sendTaskSuccessResponse smart constructor.
Instances
Response Lenses
stsrsResponseStatus :: Lens' SendTaskSuccessResponse Int Source #
- - | The response status code.