AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Container for the parameters to the RespondDecisionTaskCompleted operation. 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.

Access Control

If an IAM policy grants permission to use RespondDecisionTaskCompleted, it can express permissions for the list of decisions in the decisions parameter. Each of the decisions has one or more parameters, much like a regular API call. To allow for policies to be as readable as possible, you can express permissions on decisions as if they were actual API calls, including applying conditions to some parameters. For more information, see Using IAM to Manage Access to Amazon SWF Workflows.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleWorkflow.AmazonSimpleWorkflowRequest
      Amazon.SimpleWorkflow.Model.RespondDecisionTaskCompletedRequest

Namespace: Amazon.SimpleWorkflow.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class RespondDecisionTaskCompletedRequest : AmazonSimpleWorkflowRequest
         IRequestEvents

The RespondDecisionTaskCompletedRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Decisions System.Collections.Generic.List<Amazon.SimpleWorkflow.Model.Decision> Gets and sets the property Decisions.

The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.

Public Property ExecutionContext System.String Gets and sets the property ExecutionContext.

User defined context to add to workflow execution.

Public Property TaskToken System.String Gets and sets the property TaskToken.

The taskToken from the DecisionTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8