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.

ActivityTaskTimedOutEventAttributes

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

type ActivityTaskTimedOutEventAttributes struct { Details *string `locationName:"details" type:"string"` ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"ActivityTaskTimeoutType"` }

Provides the details of the ActivityTaskTimedOut event.

Details

Type: *string

Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.

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

StartedEventId

Type: *int64

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

TimeoutType

Type: *string

The type of the timeout that caused this event.

TimeoutType is a required field

Method

GoString

func (s ActivityTaskTimedOutEventAttributes) GoString() string

GoString returns the string representation

SetDetails

func (s *ActivityTaskTimedOutEventAttributes) SetDetails(v string) *ActivityTaskTimedOutEventAttributes

SetDetails sets the Details field's value.

SetScheduledEventId

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

SetScheduledEventId sets the ScheduledEventId field's value.

SetStartedEventId

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

SetStartedEventId sets the StartedEventId field's value.

SetTimeoutType

func (s *ActivityTaskTimedOutEventAttributes) SetTimeoutType(v string) *ActivityTaskTimedOutEventAttributes

SetTimeoutType sets the TimeoutType field's value.

String

func (s ActivityTaskTimedOutEventAttributes) String() string

String returns the string representation

On this page: