Used by deciders to tell the service that the DecisionTask identified by the taskToken has successfully completed. The decisions argument specifies the list of decisions made while processing the task.
A DecisionTaskCompleted event is added to the workflow history. The executionContext specified is attached to the event in the workflow execution history.
If an IAM policy grants permission to use RespondDecisionTaskCompleted , it can express permissions for the list of decisions in the decisions parameter in the same way as for the regular API. This approach maintains a uniform conceptual model and helps keep policies readable. For more information, see Using IAM to Manage Access to Amazon SWF Workflows.
- respondDecisionTaskCompletedRequest (RespondDecisionTaskCompletedRequest)
- Container for the necessary parameters to execute the RespondDecisionTaskCompleted service method on AmazonSimpleWorkflow.