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.

ActivityTaskStartedEventAttributes

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

type ActivityTaskStartedEventAttributes struct { Identity *string `locationName:"identity" type:"string"` ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` }

Provides the details of the ActivityTaskStarted event.

Identity

Type: *string

Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

ScheduledEventId

Type: *int64

The ID of the ActivityTaskScheduled event that was recorded when this activity 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

Method

GoString

func (s ActivityTaskStartedEventAttributes) GoString() string

GoString returns the string representation

SetIdentity

func (s *ActivityTaskStartedEventAttributes) SetIdentity(v string) *ActivityTaskStartedEventAttributes

SetIdentity sets the Identity field's value.

SetScheduledEventId

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

SetScheduledEventId sets the ScheduledEventId field's value.

String

func (s ActivityTaskStartedEventAttributes) String() string

String returns the string representation

On this page: