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.

ChildWorkflowExecutionFailedEventAttributes

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

type ChildWorkflowExecutionFailedEventAttributes struct { Details *string `locationName:"details" type:"string"` InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` Reason *string `locationName:"reason" type:"string"` StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` }

Provides the details of the ChildWorkflowExecutionFailed event.

Details

Type: *string

The details of the failure (if provided).

InitiatedEventId

Type: *int64

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecutionDecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

InitiatedEventId is a required field

Reason

Type: *string

The reason for the failure (if provided).

StartedEventId

Type: *int64

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution 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

WorkflowExecution

Represents a workflow execution.

WorkflowType

Represents a workflow type.

Method

GoString

func (s ChildWorkflowExecutionFailedEventAttributes) GoString() string

GoString returns the string representation

SetDetails

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

SetDetails sets the Details field's value.

SetInitiatedEventId

func (s *ChildWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionFailedEventAttributes

SetInitiatedEventId sets the InitiatedEventId field's value.

SetReason

func (s *ChildWorkflowExecutionFailedEventAttributes) SetReason(v string) *ChildWorkflowExecutionFailedEventAttributes

SetReason sets the Reason field's value.

SetStartedEventId

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

SetStartedEventId sets the StartedEventId field's value.

SetWorkflowExecution

func (s *ChildWorkflowExecutionFailedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionFailedEventAttributes

SetWorkflowExecution sets the WorkflowExecution field's value.

SetWorkflowType

func (s *ChildWorkflowExecutionFailedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionFailedEventAttributes

SetWorkflowType sets the WorkflowType field's value.

String

func (s ChildWorkflowExecutionFailedEventAttributes) String() string

String returns the string representation

On this page: