AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DecisionTaskCompletedEventAttributes

import "github.com/aws/aws-sdk-go/service/swf"

type DecisionTaskCompletedEventAttributes struct { ExecutionContext *string `locationName:"executionContext" type:"string"` ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` }

Provides the details of the DecisionTaskCompleted event.

ExecutionContext

Type: *string

User defined context for the workflow execution.

ScheduledEventId

Type: *int64

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

ScheduledEventId is a required field

StartedEventId

Type: *int64

The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

StartedEventId is a required field

Method

GoString

func (s DecisionTaskCompletedEventAttributes) GoString() string

GoString returns the string representation

SetExecutionContext

func (s *DecisionTaskCompletedEventAttributes) SetExecutionContext(v string) *DecisionTaskCompletedEventAttributes

SetExecutionContext sets the ExecutionContext field's value.

SetScheduledEventId

func (s *DecisionTaskCompletedEventAttributes) SetScheduledEventId(v int64) *DecisionTaskCompletedEventAttributes

SetScheduledEventId sets the ScheduledEventId field's value.

SetStartedEventId

func (s *DecisionTaskCompletedEventAttributes) SetStartedEventId(v int64) *DecisionTaskCompletedEventAttributes

SetStartedEventId sets the StartedEventId field's value.

String

func (s DecisionTaskCompletedEventAttributes) String() string

String returns the string representation

On this page: