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.

StartLambdaFunctionFailedEventAttributes

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

type StartLambdaFunctionFailedEventAttributes struct { Cause *string `locationName:"cause" type:"string" enum:"StartLambdaFunctionFailedCause"` Message *string `locationName:"message" type:"string"` ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long"` }

Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.

Cause

Type: *string

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks (https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html) in the Amazon SWF Developer Guide.

Message

Type: *string

A description that can help diagnose the cause of the fault.

ScheduledEventId

Type: *int64

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

Method

GoString

func (s StartLambdaFunctionFailedEventAttributes) GoString() string

GoString returns the string representation

SetCause

func (s *StartLambdaFunctionFailedEventAttributes) SetCause(v string) *StartLambdaFunctionFailedEventAttributes

SetCause sets the Cause field's value.

SetMessage

func (s *StartLambdaFunctionFailedEventAttributes) SetMessage(v string) *StartLambdaFunctionFailedEventAttributes

SetMessage sets the Message field's value.

SetScheduledEventId

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

SetScheduledEventId sets the ScheduledEventId field's value.

String

func (s StartLambdaFunctionFailedEventAttributes) String() string

String returns the string representation

On this page: