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.

TimerStartedEventAttributes

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

type TimerStartedEventAttributes struct { Control *string `locationName:"control" type:"string"` DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` StartToFireTimeout *string `locationName:"startToFireTimeout" min:"1" type:"string" required:"true"` TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` }

Provides the details of the TimerStarted event.

Control

Type: *string

Data attached to the event that can be used by the decider in subsequent workflow tasks.

DecisionTaskCompletedEventId

Type: *int64

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

DecisionTaskCompletedEventId is a required field

StartToFireTimeout

Type: *string

The duration of time after which the timer fires.

The duration is specified in seconds, an integer greater than or equal to 0.

StartToFireTimeout is a required field

TimerId

Type: *string

The unique ID of the timer that was started.

TimerId is a required field

Method

GoString

func (s TimerStartedEventAttributes) GoString() string

GoString returns the string representation

SetControl

func (s *TimerStartedEventAttributes) SetControl(v string) *TimerStartedEventAttributes

SetControl sets the Control field's value.

SetDecisionTaskCompletedEventId

func (s *TimerStartedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *TimerStartedEventAttributes

SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value.

SetStartToFireTimeout

func (s *TimerStartedEventAttributes) SetStartToFireTimeout(v string) *TimerStartedEventAttributes

SetStartToFireTimeout sets the StartToFireTimeout field's value.

SetTimerId

func (s *TimerStartedEventAttributes) SetTimerId(v string) *TimerStartedEventAttributes

SetTimerId sets the TimerId field's value.

String

func (s TimerStartedEventAttributes) String() string

String returns the string representation

On this page: