Safe Haskell | None |
---|---|
Language | Haskell2010 |
Notifies AWS Data Pipeline that a task is completed and provides information
about the final status. The task runner calls this action regardless of
whether the task was sucessful. The task runner does not need to call SetTaskStatus
for tasks that are canceled by the web service during a call to ReportTaskProgress
.
http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_SetTaskStatus.html
- data SetTaskStatus
- setTaskStatus :: Text -> TaskStatus -> SetTaskStatus
- stsErrorId :: Lens' SetTaskStatus (Maybe Text)
- stsErrorMessage :: Lens' SetTaskStatus (Maybe Text)
- stsErrorStackTrace :: Lens' SetTaskStatus (Maybe Text)
- stsTaskId :: Lens' SetTaskStatus Text
- stsTaskStatus :: Lens' SetTaskStatus TaskStatus
- data SetTaskStatusResponse
- setTaskStatusResponse :: SetTaskStatusResponse
Request
data SetTaskStatus Source
Request constructor
SetTaskStatus
constructor.
The fields accessible through corresponding lenses are:
Request lenses
stsErrorId :: Lens' SetTaskStatus (Maybe Text) Source
If an error occurred during the task, this value specifies an id value that represents the error. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string Service_ which is reserved by the system.
stsErrorMessage :: Lens' SetTaskStatus (Maybe Text) Source
If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.
stsErrorStackTrace :: Lens' SetTaskStatus (Maybe Text) Source
If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.
stsTaskId :: Lens' SetTaskStatus Text Source
Identifies the task assigned to the task runner. This value is set in the TaskObject
that is returned by the PollForTask
action.
stsTaskStatus :: Lens' SetTaskStatus TaskStatus Source
If FINISHED
, the task successfully completed. If FAILED
the task ended
unsuccessfully. The FALSE
value is used by preconditions.
Response
Response constructor
setTaskStatusResponse :: SetTaskStatusResponse Source
SetTaskStatusResponse
constructor.