Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityTaskCancelRequestedEventAttributes

type ActivityTaskCancelRequestedEventAttributes struct {

	// The unique ID of the task.
	//
	// This member is required.
	ActivityId *string

	// The ID of the DecisionTaskCompleted event corresponding to the decision task
	// that resulted in the RequestCancelActivityTask decision for this cancellation
	// request. This information can be useful for diagnosing problems by tracing back
	// the chain of events leading up to this event.
	//
	// This member is required.
	DecisionTaskCompletedEventId int64
}

    Provides the details of the ActivityTaskCancelRequested event.

    type ActivityTaskCanceledEventAttributes

    type ActivityTaskCanceledEventAttributes struct {
    
    	// 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.
    	//
    	// This member is required.
    	ScheduledEventId 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.
    	//
    	// This member is required.
    	StartedEventId int64
    
    	// Details of the cancellation.
    	Details *string
    
    	// If set, contains the ID of the last ActivityTaskCancelRequested event recorded
    	// for this activity task. This information can be useful for diagnosing problems
    	// by tracing back the chain of events leading up to this event.
    	LatestCancelRequestedEventId int64
    }

      Provides the details of the ActivityTaskCanceled event.

      type ActivityTaskCompletedEventAttributes

      type ActivityTaskCompletedEventAttributes struct {
      
      	// 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.
      	//
      	// This member is required.
      	ScheduledEventId 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.
      	//
      	// This member is required.
      	StartedEventId int64
      
      	// The results of the activity task.
      	Result *string
      }

        Provides the details of the ActivityTaskCompleted event.

        type ActivityTaskFailedEventAttributes

        type ActivityTaskFailedEventAttributes struct {
        
        	// 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.
        	//
        	// This member is required.
        	ScheduledEventId 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.
        	//
        	// This member is required.
        	StartedEventId int64
        
        	// The details of the failure.
        	Details *string
        
        	// The reason provided for the failure.
        	Reason *string
        }

          Provides the details of the ActivityTaskFailed event.

          type ActivityTaskScheduledEventAttributes

          type ActivityTaskScheduledEventAttributes struct {
          
          	// The unique ID of the activity task.
          	//
          	// This member is required.
          	ActivityId *string
          
          	// The type of the activity task.
          	//
          	// This member is required.
          	ActivityType *ActivityType
          
          	// The ID of the DecisionTaskCompleted event corresponding to the decision that
          	// resulted in the scheduling of this activity task. This information can be useful
          	// for diagnosing problems by tracing back the chain of events leading up to this
          	// event.
          	//
          	// This member is required.
          	DecisionTaskCompletedEventId int64
          
          	// The task list in which the activity task has been scheduled.
          	//
          	// This member is required.
          	TaskList *TaskList
          
          	// Data attached to the event that can be used by the decider in subsequent
          	// workflow tasks. This data isn't sent to the activity.
          	Control *string
          
          	// The maximum time before which the worker processing this task must report
          	// progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the
          	// activity task is automatically timed out. If the worker subsequently attempts to
          	// record a heartbeat or return a result, it is ignored.
          	HeartbeatTimeout *string
          
          	// The input provided to the activity task.
          	Input *string
          
          	// The maximum amount of time for this activity task.
          	ScheduleToCloseTimeout *string
          
          	// The maximum amount of time the activity task can wait to be assigned to a
          	// worker.
          	ScheduleToStartTimeout *string
          
          	// The maximum amount of time a worker may take to process the activity task.
          	StartToCloseTimeout *string
          
          	// The priority to assign to the scheduled activity task. If set, this overrides
          	// any default priority value that was assigned when the activity type was
          	// registered. Valid values are integers that range from Java's Integer.MIN_VALUE
          	// (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher
          	// priority. For more information about setting task priority, see Setting Task
          	// Priority
          	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
          	// in the Amazon SWF Developer Guide.
          	TaskPriority *string
          }

            Provides the details of the ActivityTaskScheduled event.

            type ActivityTaskStartedEventAttributes

            type ActivityTaskStartedEventAttributes struct {
            
            	// 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.
            	//
            	// This member is required.
            	ScheduledEventId int64
            
            	// Identity of the worker that was assigned this task. This aids diagnostics when
            	// problems arise. The form of this identity is user defined.
            	Identity *string
            }

              Provides the details of the ActivityTaskStarted event.

              type ActivityTaskTimedOutEventAttributes

              type ActivityTaskTimedOutEventAttributes struct {
              
              	// 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.
              	//
              	// This member is required.
              	ScheduledEventId 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.
              	//
              	// This member is required.
              	StartedEventId int64
              
              	// The type of the timeout that caused this event.
              	//
              	// This member is required.
              	TimeoutType ActivityTaskTimeoutType
              
              	// Contains the content of the details parameter for the last call made by the
              	// activity to RecordActivityTaskHeartbeat.
              	Details *string
              }

                Provides the details of the ActivityTaskTimedOut event.

                type ActivityTaskTimeoutType

                type ActivityTaskTimeoutType string
                const (
                	ActivityTaskTimeoutTypeStartToClose    ActivityTaskTimeoutType = "START_TO_CLOSE"
                	ActivityTaskTimeoutTypeScheduleToStart ActivityTaskTimeoutType = "SCHEDULE_TO_START"
                	ActivityTaskTimeoutTypeScheduleToClose ActivityTaskTimeoutType = "SCHEDULE_TO_CLOSE"
                	ActivityTaskTimeoutTypeHeartbeat       ActivityTaskTimeoutType = "HEARTBEAT"
                )

                  Enum values for ActivityTaskTimeoutType

                  func (ActivityTaskTimeoutType) Values

                    Values returns all known values for ActivityTaskTimeoutType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                    type ActivityType

                    type ActivityType struct {
                    
                    	// The name of this activity. The combination of activity type name and version
                    	// must be unique within a domain.
                    	//
                    	// This member is required.
                    	Name *string
                    
                    	// The version of this activity. The combination of activity type name and version
                    	// must be unique with in a domain.
                    	//
                    	// This member is required.
                    	Version *string
                    }

                      Represents an activity type.

                      type ActivityTypeConfiguration

                      type ActivityTypeConfiguration struct {
                      
                      	// The default maximum time, in seconds, before which a worker processing a task
                      	// must report progress by calling RecordActivityTaskHeartbeat. You can specify
                      	// this value only when registering an activity type. The registered default value
                      	// can be overridden when you schedule a task through the
                      	// ScheduleActivityTaskDecision. If the activity worker subsequently attempts to
                      	// record a heartbeat or returns a result, the activity worker receives an
                      	// UnknownResource fault. In this case, Amazon SWF no longer considers the activity
                      	// task to be valid; the activity worker should clean up the activity task. The
                      	// duration is specified in seconds, an integer greater than or equal to 0. You can
                      	// use NONE to specify unlimited duration.
                      	DefaultTaskHeartbeatTimeout *string
                      
                      	// The default task list specified for this activity type at registration. This
                      	// default is used if a task list isn't provided when a task is scheduled through
                      	// the ScheduleActivityTaskDecision. You can override the default registered task
                      	// list when scheduling a task through the ScheduleActivityTaskDecision.
                      	DefaultTaskList *TaskList
                      
                      	// The default task priority for tasks of this activity type, specified at
                      	// registration. If not set, then 0 is used as the default priority. This default
                      	// can be overridden when scheduling an activity task. Valid values are integers
                      	// that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE
                      	// (2147483647). Higher numbers indicate higher priority. For more information
                      	// about setting task priority, see Setting Task Priority
                      	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
                      	// in the Amazon SWF Developer Guide.
                      	DefaultTaskPriority *string
                      
                      	// The default maximum duration, specified when registering the activity type, for
                      	// tasks of this activity type. You can override this default when scheduling a
                      	// task through the ScheduleActivityTaskDecision. The duration is specified in
                      	// seconds, an integer greater than or equal to 0. You can use NONE to specify
                      	// unlimited duration.
                      	DefaultTaskScheduleToCloseTimeout *string
                      
                      	// The default maximum duration, specified when registering the activity type, that
                      	// a task of an activity type can wait before being assigned to a worker. You can
                      	// override this default when scheduling a task through the
                      	// ScheduleActivityTaskDecision. The duration is specified in seconds, an integer
                      	// greater than or equal to 0. You can use NONE to specify unlimited duration.
                      	DefaultTaskScheduleToStartTimeout *string
                      
                      	// The default maximum duration for tasks of an activity type specified when
                      	// registering the activity type. You can override this default when scheduling a
                      	// task through the ScheduleActivityTaskDecision. The duration is specified in
                      	// seconds, an integer greater than or equal to 0. You can use NONE to specify
                      	// unlimited duration.
                      	DefaultTaskStartToCloseTimeout *string
                      }

                        Configuration settings registered with the activity type.

                        type ActivityTypeInfo

                        type ActivityTypeInfo struct {
                        
                        	// The ActivityType type structure representing the activity type.
                        	//
                        	// This member is required.
                        	ActivityType *ActivityType
                        
                        	// The date and time this activity type was created through RegisterActivityType.
                        	//
                        	// This member is required.
                        	CreationDate *time.Time
                        
                        	// The current status of the activity type.
                        	//
                        	// This member is required.
                        	Status RegistrationStatus
                        
                        	// If DEPRECATED, the date and time DeprecateActivityType was called.
                        	DeprecationDate *time.Time
                        
                        	// The description of the activity type provided in RegisterActivityType.
                        	Description *string
                        }

                          Detailed information about an activity type.

                          type CancelTimerDecisionAttributes

                          type CancelTimerDecisionAttributes struct {
                          
                          	// The unique ID of the timer to cancel.
                          	//
                          	// This member is required.
                          	TimerId *string
                          }

                            Provides the details of the CancelTimer decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                            * Use a Resource element with the domain name to limit the action to only specified domains.

                            * Use an Action element to allow or deny permission to call this action.

                            * You cannot use an IAM policy to constrain this action's parameters.

                            If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                            type CancelTimerFailedCause

                            type CancelTimerFailedCause string
                            const (
                            	CancelTimerFailedCauseTimerIdUnknown        CancelTimerFailedCause = "TIMER_ID_UNKNOWN"
                            	CancelTimerFailedCauseOperationNotPermitted CancelTimerFailedCause = "OPERATION_NOT_PERMITTED"
                            )

                              Enum values for CancelTimerFailedCause

                              func (CancelTimerFailedCause) Values

                                Values returns all known values for CancelTimerFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                type CancelTimerFailedEventAttributes

                                type CancelTimerFailedEventAttributes struct {
                                
                                	// The cause of the failure. This information is generated by the system and can be
                                	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                	// decision failed because it lacked sufficient permissions. For details and
                                	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                	// in the Amazon SWF Developer Guide.
                                	//
                                	// This member is required.
                                	Cause CancelTimerFailedCause
                                
                                	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                	// that resulted in the CancelTimer decision to cancel this timer. This information
                                	// can be useful for diagnosing problems by tracing back the chain of events
                                	// leading up to this event.
                                	//
                                	// This member is required.
                                	DecisionTaskCompletedEventId int64
                                
                                	// The timerId provided in the CancelTimer decision that failed.
                                	//
                                	// This member is required.
                                	TimerId *string
                                }

                                  Provides the details of the CancelTimerFailed event.

                                  type CancelWorkflowExecutionDecisionAttributes

                                  type CancelWorkflowExecutionDecisionAttributes struct {
                                  
                                  	// Details of the cancellation.
                                  	Details *string
                                  }

                                    Provides the details of the CancelWorkflowExecution decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                    * Use a Resource element with the domain name to limit the action to only specified domains.

                                    * Use an Action element to allow or deny permission to call this action.

                                    * You cannot use an IAM policy to constrain this action's parameters.

                                    If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                    type CancelWorkflowExecutionFailedCause

                                    type CancelWorkflowExecutionFailedCause string
                                    const (
                                    	CancelWorkflowExecutionFailedCauseUnhandledDecision     CancelWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
                                    	CancelWorkflowExecutionFailedCauseOperationNotPermitted CancelWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
                                    )

                                      Enum values for CancelWorkflowExecutionFailedCause

                                      func (CancelWorkflowExecutionFailedCause) Values

                                        Values returns all known values for CancelWorkflowExecutionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                        type CancelWorkflowExecutionFailedEventAttributes

                                        type CancelWorkflowExecutionFailedEventAttributes struct {
                                        
                                        	// The cause of the failure. This information is generated by the system and can be
                                        	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                        	// decision failed because it lacked sufficient permissions. For details and
                                        	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                        	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                        	// in the Amazon SWF Developer Guide.
                                        	//
                                        	// This member is required.
                                        	Cause CancelWorkflowExecutionFailedCause
                                        
                                        	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                        	// that resulted in the CancelWorkflowExecution decision for this cancellation
                                        	// request. This information can be useful for diagnosing problems by tracing back
                                        	// the chain of events leading up to this event.
                                        	//
                                        	// This member is required.
                                        	DecisionTaskCompletedEventId int64
                                        }

                                          Provides the details of the CancelWorkflowExecutionFailed event.

                                          type ChildPolicy

                                          type ChildPolicy string
                                          const (
                                          	ChildPolicyTerminate     ChildPolicy = "TERMINATE"
                                          	ChildPolicyRequestCancel ChildPolicy = "REQUEST_CANCEL"
                                          	ChildPolicyAbandon       ChildPolicy = "ABANDON"
                                          )

                                            Enum values for ChildPolicy

                                            func (ChildPolicy) Values

                                            func (ChildPolicy) Values() []ChildPolicy

                                              Values returns all known values for ChildPolicy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                              type ChildWorkflowExecutionCanceledEventAttributes

                                              type ChildWorkflowExecutionCanceledEventAttributes struct {
                                              
                                              	// 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.
                                              	//
                                              	// This member is required.
                                              	InitiatedEventId 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.
                                              	//
                                              	// This member is required.
                                              	StartedEventId int64
                                              
                                              	// The child workflow execution that was canceled.
                                              	//
                                              	// This member is required.
                                              	WorkflowExecution *WorkflowExecution
                                              
                                              	// The type of the child workflow execution.
                                              	//
                                              	// This member is required.
                                              	WorkflowType *WorkflowType
                                              
                                              	// Details of the cancellation (if provided).
                                              	Details *string
                                              }

                                                Provide details of the ChildWorkflowExecutionCanceled event.

                                                type ChildWorkflowExecutionCompletedEventAttributes

                                                type ChildWorkflowExecutionCompletedEventAttributes struct {
                                                
                                                	// 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.
                                                	//
                                                	// This member is required.
                                                	InitiatedEventId 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.
                                                	//
                                                	// This member is required.
                                                	StartedEventId int64
                                                
                                                	// The child workflow execution that was completed.
                                                	//
                                                	// This member is required.
                                                	WorkflowExecution *WorkflowExecution
                                                
                                                	// The type of the child workflow execution.
                                                	//
                                                	// This member is required.
                                                	WorkflowType *WorkflowType
                                                
                                                	// The result of the child workflow execution.
                                                	Result *string
                                                }

                                                  Provides the details of the ChildWorkflowExecutionCompleted event.

                                                  type ChildWorkflowExecutionFailedEventAttributes

                                                  type ChildWorkflowExecutionFailedEventAttributes struct {
                                                  
                                                  	// 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.
                                                  	//
                                                  	// This member is required.
                                                  	InitiatedEventId 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.
                                                  	//
                                                  	// This member is required.
                                                  	StartedEventId int64
                                                  
                                                  	// The child workflow execution that failed.
                                                  	//
                                                  	// This member is required.
                                                  	WorkflowExecution *WorkflowExecution
                                                  
                                                  	// The type of the child workflow execution.
                                                  	//
                                                  	// This member is required.
                                                  	WorkflowType *WorkflowType
                                                  
                                                  	// The details of the failure (if provided).
                                                  	Details *string
                                                  
                                                  	// The reason for the failure (if provided).
                                                  	Reason *string
                                                  }

                                                    Provides the details of the ChildWorkflowExecutionFailed event.

                                                    type ChildWorkflowExecutionStartedEventAttributes

                                                    type ChildWorkflowExecutionStartedEventAttributes struct {
                                                    
                                                    	// 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.
                                                    	//
                                                    	// This member is required.
                                                    	InitiatedEventId int64
                                                    
                                                    	// The child workflow execution that was started.
                                                    	//
                                                    	// This member is required.
                                                    	WorkflowExecution *WorkflowExecution
                                                    
                                                    	// The type of the child workflow execution.
                                                    	//
                                                    	// This member is required.
                                                    	WorkflowType *WorkflowType
                                                    }

                                                      Provides the details of the ChildWorkflowExecutionStarted event.

                                                      type ChildWorkflowExecutionTerminatedEventAttributes

                                                      type ChildWorkflowExecutionTerminatedEventAttributes struct {
                                                      
                                                      	// 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.
                                                      	//
                                                      	// This member is required.
                                                      	InitiatedEventId 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.
                                                      	//
                                                      	// This member is required.
                                                      	StartedEventId int64
                                                      
                                                      	// The child workflow execution that was terminated.
                                                      	//
                                                      	// This member is required.
                                                      	WorkflowExecution *WorkflowExecution
                                                      
                                                      	// The type of the child workflow execution.
                                                      	//
                                                      	// This member is required.
                                                      	WorkflowType *WorkflowType
                                                      }

                                                        Provides the details of the ChildWorkflowExecutionTerminated event.

                                                        type ChildWorkflowExecutionTimedOutEventAttributes

                                                        type ChildWorkflowExecutionTimedOutEventAttributes struct {
                                                        
                                                        	// 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.
                                                        	//
                                                        	// This member is required.
                                                        	InitiatedEventId 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.
                                                        	//
                                                        	// This member is required.
                                                        	StartedEventId int64
                                                        
                                                        	// The type of the timeout that caused the child workflow execution to time out.
                                                        	//
                                                        	// This member is required.
                                                        	TimeoutType WorkflowExecutionTimeoutType
                                                        
                                                        	// The child workflow execution that timed out.
                                                        	//
                                                        	// This member is required.
                                                        	WorkflowExecution *WorkflowExecution
                                                        
                                                        	// The type of the child workflow execution.
                                                        	//
                                                        	// This member is required.
                                                        	WorkflowType *WorkflowType
                                                        }

                                                          Provides the details of the ChildWorkflowExecutionTimedOut event.

                                                          type CloseStatus

                                                          type CloseStatus string
                                                          const (
                                                          	CloseStatusCompleted      CloseStatus = "COMPLETED"
                                                          	CloseStatusFailed         CloseStatus = "FAILED"
                                                          	CloseStatusCanceled       CloseStatus = "CANCELED"
                                                          	CloseStatusTerminated     CloseStatus = "TERMINATED"
                                                          	CloseStatusContinuedAsNew CloseStatus = "CONTINUED_AS_NEW"
                                                          	CloseStatusTimedOut       CloseStatus = "TIMED_OUT"
                                                          )

                                                            Enum values for CloseStatus

                                                            func (CloseStatus) Values

                                                            func (CloseStatus) Values() []CloseStatus

                                                              Values returns all known values for CloseStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                              type CloseStatusFilter

                                                              type CloseStatusFilter struct {
                                                              
                                                              	// The close status that must match the close status of an execution for it to meet
                                                              	// the criteria of this filter.
                                                              	//
                                                              	// This member is required.
                                                              	Status CloseStatus
                                                              }

                                                                Used to filter the closed workflow executions in visibility APIs by their close status.

                                                                type CompleteWorkflowExecutionDecisionAttributes

                                                                type CompleteWorkflowExecutionDecisionAttributes struct {
                                                                
                                                                	// The result of the workflow execution. The form of the result is implementation
                                                                	// defined.
                                                                	Result *string
                                                                }

                                                                  Provides the details of the CompleteWorkflowExecution decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                  * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                  * Use an Action element to allow or deny permission to call this action.

                                                                  * You cannot use an IAM policy to constrain this action's parameters.

                                                                  If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                  type CompleteWorkflowExecutionFailedCause

                                                                  type CompleteWorkflowExecutionFailedCause string
                                                                  const (
                                                                  	CompleteWorkflowExecutionFailedCauseUnhandledDecision     CompleteWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
                                                                  	CompleteWorkflowExecutionFailedCauseOperationNotPermitted CompleteWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
                                                                  )

                                                                    Enum values for CompleteWorkflowExecutionFailedCause

                                                                    func (CompleteWorkflowExecutionFailedCause) Values

                                                                      Values returns all known values for CompleteWorkflowExecutionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                      type CompleteWorkflowExecutionFailedEventAttributes

                                                                      type CompleteWorkflowExecutionFailedEventAttributes struct {
                                                                      
                                                                      	// The cause of the failure. This information is generated by the system and can be
                                                                      	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                      	// decision failed because it lacked sufficient permissions. For details and
                                                                      	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                      	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                      	// in the Amazon SWF Developer Guide.
                                                                      	//
                                                                      	// This member is required.
                                                                      	Cause CompleteWorkflowExecutionFailedCause
                                                                      
                                                                      	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                      	// that resulted in the CompleteWorkflowExecution decision to complete this
                                                                      	// execution. This information can be useful for diagnosing problems by tracing
                                                                      	// back the chain of events leading up to this event.
                                                                      	//
                                                                      	// This member is required.
                                                                      	DecisionTaskCompletedEventId int64
                                                                      }

                                                                        Provides the details of the CompleteWorkflowExecutionFailed event.

                                                                        type ContinueAsNewWorkflowExecutionDecisionAttributes

                                                                        type ContinueAsNewWorkflowExecutionDecisionAttributes struct {
                                                                        
                                                                        	// If set, specifies the policy to use for the child workflow executions of the new
                                                                        	// execution if it is terminated by calling the TerminateWorkflowExecution action
                                                                        	// explicitly or due to an expired timeout. This policy overrides the default child
                                                                        	// policy specified when registering the workflow type using RegisterWorkflowType.
                                                                        	// The supported child policies are:
                                                                        	//
                                                                        	// * TERMINATE – The child executions are
                                                                        	// terminated.
                                                                        	//
                                                                        	// * REQUEST_CANCEL – A request to cancel is attempted for each child
                                                                        	// execution by recording a WorkflowExecutionCancelRequested event in its history.
                                                                        	// It is up to the decider to take appropriate actions when it receives an
                                                                        	// execution history with this event.
                                                                        	//
                                                                        	// * ABANDON – No action is taken. The child
                                                                        	// executions continue to run.
                                                                        	//
                                                                        	// A child policy for this workflow execution must be
                                                                        	// specified either as a default for the workflow type or through this parameter.
                                                                        	// If neither this parameter is set nor a default child policy was specified at
                                                                        	// registration time then a fault is returned.
                                                                        	ChildPolicy ChildPolicy
                                                                        
                                                                        	// If set, specifies the total duration for this workflow execution. This overrides
                                                                        	// the defaultExecutionStartToCloseTimeout specified when registering the workflow
                                                                        	// type. The duration is specified in seconds, an integer greater than or equal to
                                                                        	// 0. You can use NONE to specify unlimited duration. An execution start-to-close
                                                                        	// timeout for this workflow execution must be specified either as a default for
                                                                        	// the workflow type or through this field. If neither this field is set nor a
                                                                        	// default execution start-to-close timeout was specified at registration time then
                                                                        	// a fault is returned.
                                                                        	ExecutionStartToCloseTimeout *string
                                                                        
                                                                        	// The input provided to the new workflow execution.
                                                                        	Input *string
                                                                        
                                                                        	// The IAM role to attach to the new (continued) execution.
                                                                        	LambdaRole *string
                                                                        
                                                                        	// The list of tags to associate with the new workflow execution. A maximum of 5
                                                                        	// tags can be specified. You can list workflow executions with a specific tag by
                                                                        	// calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and
                                                                        	// specifying a TagFilter.
                                                                        	TagList []string
                                                                        
                                                                        	// The task list to use for the decisions of the new (continued) workflow
                                                                        	// execution.
                                                                        	TaskList *TaskList
                                                                        
                                                                        	// The task priority that, if set, specifies the priority for the decision tasks
                                                                        	// for this workflow execution. This overrides the defaultTaskPriority specified
                                                                        	// when registering the workflow type. Valid values are integers that range from
                                                                        	// Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
                                                                        	// numbers indicate higher priority. For more information about setting task
                                                                        	// priority, see Setting Task Priority
                                                                        	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
                                                                        	// in the Amazon SWF Developer Guide.
                                                                        	TaskPriority *string
                                                                        
                                                                        	// Specifies the maximum duration of decision tasks for the new workflow execution.
                                                                        	// This parameter overrides the defaultTaskStartToCloseTimout specified when
                                                                        	// registering the workflow type using RegisterWorkflowType. The duration is
                                                                        	// specified in seconds, an integer greater than or equal to 0. You can use NONE to
                                                                        	// specify unlimited duration. A task start-to-close timeout for the new workflow
                                                                        	// execution must be specified either as a default for the workflow type or through
                                                                        	// this parameter. If neither this parameter is set nor a default task
                                                                        	// start-to-close timeout was specified at registration time then a fault is
                                                                        	// returned.
                                                                        	TaskStartToCloseTimeout *string
                                                                        
                                                                        	// The version of the workflow to start.
                                                                        	WorkflowTypeVersion *string
                                                                        }

                                                                          Provides the details of the ContinueAsNewWorkflowExecution decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                          * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                          * Use an Action element to allow or deny permission to call this action.

                                                                          * Constrain the following parameters by using a Condition element with the appropriate keys.

                                                                          * tag – A tag used to identify the workflow execution

                                                                          * taskList – String constraint. The key is swf:taskList.name.

                                                                          * workflowType.version – String constraint. The key is swf:workflowType.version.

                                                                          If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                          type ContinueAsNewWorkflowExecutionFailedCause

                                                                          type ContinueAsNewWorkflowExecutionFailedCause string
                                                                          const (
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision                            ContinueAsNewWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated                       ContinueAsNewWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DEPRECATED"
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist                     ContinueAsNewWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DOES_NOT_EXIST"
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined ContinueAsNewWorkflowExecutionFailedCause = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined      ContinueAsNewWorkflowExecutionFailedCause = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined                     ContinueAsNewWorkflowExecutionFailedCause = "DEFAULT_TASK_LIST_UNDEFINED"
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined                  ContinueAsNewWorkflowExecutionFailedCause = "DEFAULT_CHILD_POLICY_UNDEFINED"
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded   ContinueAsNewWorkflowExecutionFailedCause = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"
                                                                          	ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted                        ContinueAsNewWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
                                                                          )

                                                                            Enum values for ContinueAsNewWorkflowExecutionFailedCause

                                                                            func (ContinueAsNewWorkflowExecutionFailedCause) Values

                                                                              Values returns all known values for ContinueAsNewWorkflowExecutionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                              type ContinueAsNewWorkflowExecutionFailedEventAttributes

                                                                              type ContinueAsNewWorkflowExecutionFailedEventAttributes struct {
                                                                              
                                                                              	// The cause of the failure. This information is generated by the system and can be
                                                                              	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                              	// decision failed because it lacked sufficient permissions. For details and
                                                                              	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                              	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                              	// in the Amazon SWF Developer Guide.
                                                                              	//
                                                                              	// This member is required.
                                                                              	Cause ContinueAsNewWorkflowExecutionFailedCause
                                                                              
                                                                              	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                              	// that resulted in the ContinueAsNewWorkflowExecution decision that started this
                                                                              	// execution. This information can be useful for diagnosing problems by tracing
                                                                              	// back the chain of events leading up to this event.
                                                                              	//
                                                                              	// This member is required.
                                                                              	DecisionTaskCompletedEventId int64
                                                                              }

                                                                                Provides the details of the ContinueAsNewWorkflowExecutionFailed event.

                                                                                type Decision

                                                                                type Decision struct {
                                                                                
                                                                                	// Specifies the type of the decision.
                                                                                	//
                                                                                	// This member is required.
                                                                                	DecisionType DecisionType
                                                                                
                                                                                	// Provides the details of the CancelTimer decision. It isn't set for other
                                                                                	// decision types.
                                                                                	CancelTimerDecisionAttributes *CancelTimerDecisionAttributes
                                                                                
                                                                                	// Provides the details of the CancelWorkflowExecution decision. It isn't set for
                                                                                	// other decision types.
                                                                                	CancelWorkflowExecutionDecisionAttributes *CancelWorkflowExecutionDecisionAttributes
                                                                                
                                                                                	// Provides the details of the CompleteWorkflowExecution decision. It isn't set for
                                                                                	// other decision types.
                                                                                	CompleteWorkflowExecutionDecisionAttributes *CompleteWorkflowExecutionDecisionAttributes
                                                                                
                                                                                	// Provides the details of the ContinueAsNewWorkflowExecution decision. It isn't
                                                                                	// set for other decision types.
                                                                                	ContinueAsNewWorkflowExecutionDecisionAttributes *ContinueAsNewWorkflowExecutionDecisionAttributes
                                                                                
                                                                                	// Provides the details of the FailWorkflowExecution decision. It isn't set for
                                                                                	// other decision types.
                                                                                	FailWorkflowExecutionDecisionAttributes *FailWorkflowExecutionDecisionAttributes
                                                                                
                                                                                	// Provides the details of the RecordMarker decision. It isn't set for other
                                                                                	// decision types.
                                                                                	RecordMarkerDecisionAttributes *RecordMarkerDecisionAttributes
                                                                                
                                                                                	// Provides the details of the RequestCancelActivityTask decision. It isn't set for
                                                                                	// other decision types.
                                                                                	RequestCancelActivityTaskDecisionAttributes *RequestCancelActivityTaskDecisionAttributes
                                                                                
                                                                                	// Provides the details of the RequestCancelExternalWorkflowExecution decision. It
                                                                                	// isn't set for other decision types.
                                                                                	RequestCancelExternalWorkflowExecutionDecisionAttributes *RequestCancelExternalWorkflowExecutionDecisionAttributes
                                                                                
                                                                                	// Provides the details of the ScheduleActivityTask decision. It isn't set for
                                                                                	// other decision types.
                                                                                	ScheduleActivityTaskDecisionAttributes *ScheduleActivityTaskDecisionAttributes
                                                                                
                                                                                	// Provides the details of the ScheduleLambdaFunction decision. It isn't set for
                                                                                	// other decision types.
                                                                                	ScheduleLambdaFunctionDecisionAttributes *ScheduleLambdaFunctionDecisionAttributes
                                                                                
                                                                                	// Provides the details of the SignalExternalWorkflowExecution decision. It isn't
                                                                                	// set for other decision types.
                                                                                	SignalExternalWorkflowExecutionDecisionAttributes *SignalExternalWorkflowExecutionDecisionAttributes
                                                                                
                                                                                	// Provides the details of the StartChildWorkflowExecution decision. It isn't set
                                                                                	// for other decision types.
                                                                                	StartChildWorkflowExecutionDecisionAttributes *StartChildWorkflowExecutionDecisionAttributes
                                                                                
                                                                                	// Provides the details of the StartTimer decision. It isn't set for other decision
                                                                                	// types.
                                                                                	StartTimerDecisionAttributes *StartTimerDecisionAttributes
                                                                                }

                                                                                  Specifies a decision made by the decider. A decision can be one of these types:

                                                                                  * CancelTimer – Cancels a previously started timer and records a TimerCanceled event in the history.

                                                                                  * CancelWorkflowExecution – Closes the workflow execution and records a WorkflowExecutionCanceled event in the history.

                                                                                  * CompleteWorkflowExecution – Closes the workflow execution and records a WorkflowExecutionCompleted event in the history .

                                                                                  * ContinueAsNewWorkflowExecution – Closes the workflow execution and starts a new workflow execution of the same type using the same workflow ID and a unique run Id. A WorkflowExecutionContinuedAsNew event is recorded in the history.

                                                                                  * FailWorkflowExecution – Closes the workflow execution and records a WorkflowExecutionFailed event in the history.

                                                                                  * RecordMarker – Records a MarkerRecorded event in the history. Markers can be used for adding custom information in the history for instance to let deciders know that they don't need to look at the history beyond the marker event.

                                                                                  * RequestCancelActivityTask – Attempts to cancel a previously scheduled activity task. If the activity task was scheduled but has not been assigned to a worker, then it is canceled. If the activity task was already assigned to a worker, then the worker is informed that cancellation has been requested in the response to RecordActivityTaskHeartbeat.

                                                                                  * RequestCancelExternalWorkflowExecution – Requests that a request be made to cancel the specified external workflow execution and records a RequestCancelExternalWorkflowExecutionInitiated event in the history.

                                                                                  * ScheduleActivityTask – Schedules an activity task.

                                                                                  * SignalExternalWorkflowExecution – Requests a signal to be delivered to the specified external workflow execution and records a SignalExternalWorkflowExecutionInitiated event in the history.

                                                                                  * StartChildWorkflowExecution – Requests that a child workflow execution be started and records a StartChildWorkflowExecutionInitiated event in the history. The child workflow execution is a separate workflow execution with its own history.

                                                                                  * StartTimer – Starts a timer for this workflow execution and records a TimerStarted event in the history. This timer fires after the specified delay and record a TimerFired event.

                                                                                  Access Control If you grant permission to use RespondDecisionTaskCompleted, you can use IAM policies to express permissions for the list of decisions returned by this action as if they were members of the API. Treating decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide. Decision Failure Decisions can fail for several reasons

                                                                                  * The ordering of decisions should follow a logical flow. Some decisions might not make sense in the current context of the workflow execution and therefore fails.

                                                                                  * A limit on your account was reached.

                                                                                  * The decision lacks sufficient permissions.

                                                                                  One of the following events might be added to the history to indicate an error. The event attribute's cause parameter indicates the cause. If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                  * ScheduleActivityTaskFailed – A ScheduleActivityTask decision failed. This could happen if the activity type specified in the decision isn't registered, is in a deprecated state, or the decision isn't properly configured.

                                                                                  * RequestCancelActivityTaskFailed – A RequestCancelActivityTask decision failed. This could happen if there is no open activity task with the specified activityId.

                                                                                  * StartTimerFailed – A StartTimer decision failed. This could happen if there is another open timer with the same timerId.

                                                                                  * CancelTimerFailed – A CancelTimer decision failed. This could happen if there is no open timer with the specified timerId.

                                                                                  * StartChildWorkflowExecutionFailed – A StartChildWorkflowExecution decision failed. This could happen if the workflow type specified isn't registered, is deprecated, or the decision isn't properly configured.

                                                                                  * SignalExternalWorkflowExecutionFailed – A SignalExternalWorkflowExecution decision failed. This could happen if the workflowID specified in the decision was incorrect.

                                                                                  * RequestCancelExternalWorkflowExecutionFailed – A RequestCancelExternalWorkflowExecution decision failed. This could happen if the workflowID specified in the decision was incorrect.

                                                                                  * CancelWorkflowExecutionFailed – A CancelWorkflowExecution decision failed. This could happen if there is an unhandled decision task pending in the workflow execution.

                                                                                  * CompleteWorkflowExecutionFailed – A CompleteWorkflowExecution decision failed. This could happen if there is an unhandled decision task pending in the workflow execution.

                                                                                  * ContinueAsNewWorkflowExecutionFailed – A ContinueAsNewWorkflowExecution decision failed. This could happen if there is an unhandled decision task pending in the workflow execution or the ContinueAsNewWorkflowExecution decision was not configured correctly.

                                                                                  * FailWorkflowExecutionFailed – A FailWorkflowExecution decision failed. This could happen if there is an unhandled decision task pending in the workflow execution.

                                                                                  The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error. A workflow execution may be closed by the decider by returning one of the following decisions when completing a decision task: CompleteWorkflowExecution, FailWorkflowExecution, CancelWorkflowExecution and ContinueAsNewWorkflowExecution. An UnhandledDecision fault is returned if a workflow closing decision is specified and a signal or activity event had been added to the history while the decision task was being performed by the decider. Unlike the above situations which are logic issues, this fault is always possible because of race conditions in a distributed system. The right action here is to call RespondDecisionTaskCompleted without any decisions. This would result in another decision task with these new events included in the history. The decider should handle the new events and may decide to close the workflow execution. How to Code a Decision You code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:

                                                                                  * ScheduleActivityTaskDecisionAttributes

                                                                                  * RequestCancelActivityTaskDecisionAttributes

                                                                                  * CompleteWorkflowExecutionDecisionAttributes

                                                                                  * FailWorkflowExecutionDecisionAttributes

                                                                                  * CancelWorkflowExecutionDecisionAttributes

                                                                                  * ContinueAsNewWorkflowExecutionDecisionAttributes

                                                                                  * RecordMarkerDecisionAttributes

                                                                                  * StartTimerDecisionAttributes

                                                                                  * CancelTimerDecisionAttributes

                                                                                  * SignalExternalWorkflowExecutionDecisionAttributes

                                                                                  * RequestCancelExternalWorkflowExecutionDecisionAttributes

                                                                                  * StartChildWorkflowExecutionDecisionAttributes

                                                                                  type DecisionTaskCompletedEventAttributes

                                                                                  type DecisionTaskCompletedEventAttributes struct {
                                                                                  
                                                                                  	// The ID of the DecisionTaskScheduled event that was recorded when this decision
                                                                                  	// task was scheduled. This information can be useful for diagnosing problems by
                                                                                  	// tracing back the chain of events leading up to this event.
                                                                                  	//
                                                                                  	// This member is required.
                                                                                  	ScheduledEventId int64
                                                                                  
                                                                                  	// The ID of the DecisionTaskStarted event recorded when this decision task was
                                                                                  	// started. This information can be useful for diagnosing problems by tracing back
                                                                                  	// the chain of events leading up to this event.
                                                                                  	//
                                                                                  	// This member is required.
                                                                                  	StartedEventId int64
                                                                                  
                                                                                  	// User defined context for the workflow execution.
                                                                                  	ExecutionContext *string
                                                                                  }

                                                                                    Provides the details of the DecisionTaskCompleted event.

                                                                                    type DecisionTaskScheduledEventAttributes

                                                                                    type DecisionTaskScheduledEventAttributes struct {
                                                                                    
                                                                                    	// The name of the task list in which the decision task was scheduled.
                                                                                    	//
                                                                                    	// This member is required.
                                                                                    	TaskList *TaskList
                                                                                    
                                                                                    	// The maximum duration for this decision task. The task is considered timed out if
                                                                                    	// it doesn't completed within this duration. The duration is specified in seconds,
                                                                                    	// an integer greater than or equal to 0. You can use NONE to specify unlimited
                                                                                    	// duration.
                                                                                    	StartToCloseTimeout *string
                                                                                    
                                                                                    	// A task priority that, if set, specifies the priority for this decision task.
                                                                                    	// Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648)
                                                                                    	// to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For
                                                                                    	// more information about setting task priority, see Setting Task Priority
                                                                                    	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
                                                                                    	// in the Amazon SWF Developer Guide.
                                                                                    	TaskPriority *string
                                                                                    }

                                                                                      Provides details about the DecisionTaskScheduled event.

                                                                                      type DecisionTaskStartedEventAttributes

                                                                                      type DecisionTaskStartedEventAttributes struct {
                                                                                      
                                                                                      	// The ID of the DecisionTaskScheduled event that was recorded when this decision
                                                                                      	// task was scheduled. This information can be useful for diagnosing problems by
                                                                                      	// tracing back the chain of events leading up to this event.
                                                                                      	//
                                                                                      	// This member is required.
                                                                                      	ScheduledEventId int64
                                                                                      
                                                                                      	// Identity of the decider making the request. This enables diagnostic tracing when
                                                                                      	// problems arise. The form of this identity is user defined.
                                                                                      	Identity *string
                                                                                      }

                                                                                        Provides the details of the DecisionTaskStarted event.

                                                                                        type DecisionTaskTimedOutEventAttributes

                                                                                        type DecisionTaskTimedOutEventAttributes struct {
                                                                                        
                                                                                        	// The ID of the DecisionTaskScheduled event that was recorded when this decision
                                                                                        	// task was scheduled. This information can be useful for diagnosing problems by
                                                                                        	// tracing back the chain of events leading up to this event.
                                                                                        	//
                                                                                        	// This member is required.
                                                                                        	ScheduledEventId int64
                                                                                        
                                                                                        	// The ID of the DecisionTaskStarted event recorded when this decision task was
                                                                                        	// started. This information can be useful for diagnosing problems by tracing back
                                                                                        	// the chain of events leading up to this event.
                                                                                        	//
                                                                                        	// This member is required.
                                                                                        	StartedEventId int64
                                                                                        
                                                                                        	// The type of timeout that expired before the decision task could be completed.
                                                                                        	//
                                                                                        	// This member is required.
                                                                                        	TimeoutType DecisionTaskTimeoutType
                                                                                        }

                                                                                          Provides the details of the DecisionTaskTimedOut event.

                                                                                          type DecisionTaskTimeoutType

                                                                                          type DecisionTaskTimeoutType string
                                                                                          const (
                                                                                          	DecisionTaskTimeoutTypeStartToClose DecisionTaskTimeoutType = "START_TO_CLOSE"
                                                                                          )

                                                                                            Enum values for DecisionTaskTimeoutType

                                                                                            func (DecisionTaskTimeoutType) Values

                                                                                              Values returns all known values for DecisionTaskTimeoutType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                              type DecisionType

                                                                                              type DecisionType string
                                                                                              const (
                                                                                              	DecisionTypeScheduleActivityTask                   DecisionType = "ScheduleActivityTask"
                                                                                              	DecisionTypeRequestCancelActivityTask              DecisionType = "RequestCancelActivityTask"
                                                                                              	DecisionTypeCompleteWorkflowExecution              DecisionType = "CompleteWorkflowExecution"
                                                                                              	DecisionTypeFailWorkflowExecution                  DecisionType = "FailWorkflowExecution"
                                                                                              	DecisionTypeCancelWorkflowExecution                DecisionType = "CancelWorkflowExecution"
                                                                                              	DecisionTypeContinueAsNewWorkflowExecution         DecisionType = "ContinueAsNewWorkflowExecution"
                                                                                              	DecisionTypeRecordMarker                           DecisionType = "RecordMarker"
                                                                                              	DecisionTypeStartTimer                             DecisionType = "StartTimer"
                                                                                              	DecisionTypeCancelTimer                            DecisionType = "CancelTimer"
                                                                                              	DecisionTypeSignalExternalWorkflowExecution        DecisionType = "SignalExternalWorkflowExecution"
                                                                                              	DecisionTypeRequestCancelExternalWorkflowExecution DecisionType = "RequestCancelExternalWorkflowExecution"
                                                                                              	DecisionTypeStartChildWorkflowExecution            DecisionType = "StartChildWorkflowExecution"
                                                                                              	DecisionTypeScheduleLambdaFunction                 DecisionType = "ScheduleLambdaFunction"
                                                                                              )

                                                                                                Enum values for DecisionType

                                                                                                func (DecisionType) Values

                                                                                                func (DecisionType) Values() []DecisionType

                                                                                                  Values returns all known values for DecisionType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                  type DefaultUndefinedFault

                                                                                                  type DefaultUndefinedFault struct {
                                                                                                  	Message *string
                                                                                                  }

                                                                                                    The StartWorkflowExecution API action was called without the required parameters set. Some workflow execution parameters, such as the decision taskList, must be set to start the execution. However, these parameters might have been set as defaults when the workflow type was registered. In this case, you can omit these parameters from the StartWorkflowExecution call and Amazon SWF uses the values defined in the workflow type. If these parameters aren't set and no default parameters were defined in the workflow type, this error is displayed.

                                                                                                    func (*DefaultUndefinedFault) Error

                                                                                                    func (e *DefaultUndefinedFault) Error() string

                                                                                                    func (*DefaultUndefinedFault) ErrorCode

                                                                                                    func (e *DefaultUndefinedFault) ErrorCode() string

                                                                                                    func (*DefaultUndefinedFault) ErrorFault

                                                                                                    func (e *DefaultUndefinedFault) ErrorFault() smithy.ErrorFault

                                                                                                    func (*DefaultUndefinedFault) ErrorMessage

                                                                                                    func (e *DefaultUndefinedFault) ErrorMessage() string

                                                                                                    type DomainAlreadyExistsFault

                                                                                                    type DomainAlreadyExistsFault struct {
                                                                                                    	Message *string
                                                                                                    }

                                                                                                      Returned if the domain already exists. You may get this fault if you are registering a domain that is either already registered or deprecated, or if you undeprecate a domain that is currently registered.

                                                                                                      func (*DomainAlreadyExistsFault) Error

                                                                                                      func (e *DomainAlreadyExistsFault) Error() string

                                                                                                      func (*DomainAlreadyExistsFault) ErrorCode

                                                                                                      func (e *DomainAlreadyExistsFault) ErrorCode() string

                                                                                                      func (*DomainAlreadyExistsFault) ErrorFault

                                                                                                      func (e *DomainAlreadyExistsFault) ErrorFault() smithy.ErrorFault

                                                                                                      func (*DomainAlreadyExistsFault) ErrorMessage

                                                                                                      func (e *DomainAlreadyExistsFault) ErrorMessage() string

                                                                                                      type DomainConfiguration

                                                                                                      type DomainConfiguration struct {
                                                                                                      
                                                                                                      	// The retention period for workflow executions in this domain.
                                                                                                      	//
                                                                                                      	// This member is required.
                                                                                                      	WorkflowExecutionRetentionPeriodInDays *string
                                                                                                      }

                                                                                                        Contains the configuration settings of a domain.

                                                                                                        type DomainDeprecatedFault

                                                                                                        type DomainDeprecatedFault struct {
                                                                                                        	Message *string
                                                                                                        }

                                                                                                          Returned when the specified domain has been deprecated.

                                                                                                          func (*DomainDeprecatedFault) Error

                                                                                                          func (e *DomainDeprecatedFault) Error() string

                                                                                                          func (*DomainDeprecatedFault) ErrorCode

                                                                                                          func (e *DomainDeprecatedFault) ErrorCode() string

                                                                                                          func (*DomainDeprecatedFault) ErrorFault

                                                                                                          func (e *DomainDeprecatedFault) ErrorFault() smithy.ErrorFault

                                                                                                          func (*DomainDeprecatedFault) ErrorMessage

                                                                                                          func (e *DomainDeprecatedFault) ErrorMessage() string

                                                                                                          type DomainInfo

                                                                                                          type DomainInfo struct {
                                                                                                          
                                                                                                          	// The name of the domain. This name is unique within the account.
                                                                                                          	//
                                                                                                          	// This member is required.
                                                                                                          	Name *string
                                                                                                          
                                                                                                          	// The status of the domain:
                                                                                                          	//
                                                                                                          	// * REGISTERED – The domain is properly registered and
                                                                                                          	// available. You can use this domain for registering types and creating new
                                                                                                          	// workflow executions.
                                                                                                          	//
                                                                                                          	// * DEPRECATED – The domain was deprecated using
                                                                                                          	// DeprecateDomain, but is still in use. You should not create new workflow
                                                                                                          	// executions in this domain.
                                                                                                          	//
                                                                                                          	// This member is required.
                                                                                                          	Status RegistrationStatus
                                                                                                          
                                                                                                          	// The ARN of the domain.
                                                                                                          	Arn *string
                                                                                                          
                                                                                                          	// The description of the domain provided through RegisterDomain.
                                                                                                          	Description *string
                                                                                                          }

                                                                                                            Contains general information about a domain.

                                                                                                            type EventType

                                                                                                            type EventType string
                                                                                                            const (
                                                                                                            	EventTypeWorkflowExecutionStarted                        EventType = "WorkflowExecutionStarted"
                                                                                                            	EventTypeWorkflowExecutionCancelRequested                EventType = "WorkflowExecutionCancelRequested"
                                                                                                            	EventTypeWorkflowExecutionCompleted                      EventType = "WorkflowExecutionCompleted"
                                                                                                            	EventTypeCompleteWorkflowExecutionFailed                 EventType = "CompleteWorkflowExecutionFailed"
                                                                                                            	EventTypeWorkflowExecutionFailed                         EventType = "WorkflowExecutionFailed"
                                                                                                            	EventTypeFailWorkflowExecutionFailed                     EventType = "FailWorkflowExecutionFailed"
                                                                                                            	EventTypeWorkflowExecutionTimedOut                       EventType = "WorkflowExecutionTimedOut"
                                                                                                            	EventTypeWorkflowExecutionCanceled                       EventType = "WorkflowExecutionCanceled"
                                                                                                            	EventTypeCancelWorkflowExecutionFailed                   EventType = "CancelWorkflowExecutionFailed"
                                                                                                            	EventTypeWorkflowExecutionContinuedAsNew                 EventType = "WorkflowExecutionContinuedAsNew"
                                                                                                            	EventTypeContinueAsNewWorkflowExecutionFailed            EventType = "ContinueAsNewWorkflowExecutionFailed"
                                                                                                            	EventTypeWorkflowExecutionTerminated                     EventType = "WorkflowExecutionTerminated"
                                                                                                            	EventTypeDecisionTaskScheduled                           EventType = "DecisionTaskScheduled"
                                                                                                            	EventTypeDecisionTaskStarted                             EventType = "DecisionTaskStarted"
                                                                                                            	EventTypeDecisionTaskCompleted                           EventType = "DecisionTaskCompleted"
                                                                                                            	EventTypeDecisionTaskTimedOut                            EventType = "DecisionTaskTimedOut"
                                                                                                            	EventTypeActivityTaskScheduled                           EventType = "ActivityTaskScheduled"
                                                                                                            	EventTypeScheduleActivityTaskFailed                      EventType = "ScheduleActivityTaskFailed"
                                                                                                            	EventTypeActivityTaskStarted                             EventType = "ActivityTaskStarted"
                                                                                                            	EventTypeActivityTaskCompleted                           EventType = "ActivityTaskCompleted"
                                                                                                            	EventTypeActivityTaskFailed                              EventType = "ActivityTaskFailed"
                                                                                                            	EventTypeActivityTaskTimedOut                            EventType = "ActivityTaskTimedOut"
                                                                                                            	EventTypeActivityTaskCanceled                            EventType = "ActivityTaskCanceled"
                                                                                                            	EventTypeActivityTaskCancelRequested                     EventType = "ActivityTaskCancelRequested"
                                                                                                            	EventTypeRequestCancelActivityTaskFailed                 EventType = "RequestCancelActivityTaskFailed"
                                                                                                            	EventTypeWorkflowExecutionSignaled                       EventType = "WorkflowExecutionSignaled"
                                                                                                            	EventTypeMarkerRecorded                                  EventType = "MarkerRecorded"
                                                                                                            	EventTypeRecordMarkerFailed                              EventType = "RecordMarkerFailed"
                                                                                                            	EventTypeTimerStarted                                    EventType = "TimerStarted"
                                                                                                            	EventTypeStartTimerFailed                                EventType = "StartTimerFailed"
                                                                                                            	EventTypeTimerFired                                      EventType = "TimerFired"
                                                                                                            	EventTypeTimerCanceled                                   EventType = "TimerCanceled"
                                                                                                            	EventTypeCancelTimerFailed                               EventType = "CancelTimerFailed"
                                                                                                            	EventTypeStartChildWorkflowExecutionInitiated            EventType = "StartChildWorkflowExecutionInitiated"
                                                                                                            	EventTypeStartChildWorkflowExecutionFailed               EventType = "StartChildWorkflowExecutionFailed"
                                                                                                            	EventTypeChildWorkflowExecutionStarted                   EventType = "ChildWorkflowExecutionStarted"
                                                                                                            	EventTypeChildWorkflowExecutionCompleted                 EventType = "ChildWorkflowExecutionCompleted"
                                                                                                            	EventTypeChildWorkflowExecutionFailed                    EventType = "ChildWorkflowExecutionFailed"
                                                                                                            	EventTypeChildWorkflowExecutionTimedOut                  EventType = "ChildWorkflowExecutionTimedOut"
                                                                                                            	EventTypeChildWorkflowExecutionCanceled                  EventType = "ChildWorkflowExecutionCanceled"
                                                                                                            	EventTypeChildWorkflowExecutionTerminated                EventType = "ChildWorkflowExecutionTerminated"
                                                                                                            	EventTypeSignalExternalWorkflowExecutionInitiated        EventType = "SignalExternalWorkflowExecutionInitiated"
                                                                                                            	EventTypeSignalExternalWorkflowExecutionFailed           EventType = "SignalExternalWorkflowExecutionFailed"
                                                                                                            	EventTypeExternalWorkflowExecutionSignaled               EventType = "ExternalWorkflowExecutionSignaled"
                                                                                                            	EventTypeRequestCancelExternalWorkflowExecutionInitiated EventType = "RequestCancelExternalWorkflowExecutionInitiated"
                                                                                                            	EventTypeRequestCancelExternalWorkflowExecutionFailed    EventType = "RequestCancelExternalWorkflowExecutionFailed"
                                                                                                            	EventTypeExternalWorkflowExecutionCancelRequested        EventType = "ExternalWorkflowExecutionCancelRequested"
                                                                                                            	EventTypeLambdaFunctionScheduled                         EventType = "LambdaFunctionScheduled"
                                                                                                            	EventTypeLambdaFunctionStarted                           EventType = "LambdaFunctionStarted"
                                                                                                            	EventTypeLambdaFunctionCompleted                         EventType = "LambdaFunctionCompleted"
                                                                                                            	EventTypeLambdaFunctionFailed                            EventType = "LambdaFunctionFailed"
                                                                                                            	EventTypeLambdaFunctionTimedOut                          EventType = "LambdaFunctionTimedOut"
                                                                                                            	EventTypeScheduleLambdaFunctionFailed                    EventType = "ScheduleLambdaFunctionFailed"
                                                                                                            	EventTypeStartLambdaFunctionFailed                       EventType = "StartLambdaFunctionFailed"
                                                                                                            )

                                                                                                              Enum values for EventType

                                                                                                              func (EventType) Values

                                                                                                              func (EventType) Values() []EventType

                                                                                                                Values returns all known values for EventType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                type ExecutionStatus

                                                                                                                type ExecutionStatus string
                                                                                                                const (
                                                                                                                	ExecutionStatusOpen   ExecutionStatus = "OPEN"
                                                                                                                	ExecutionStatusClosed ExecutionStatus = "CLOSED"
                                                                                                                )

                                                                                                                  Enum values for ExecutionStatus

                                                                                                                  func (ExecutionStatus) Values

                                                                                                                  func (ExecutionStatus) Values() []ExecutionStatus

                                                                                                                    Values returns all known values for ExecutionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                    type ExecutionTimeFilter

                                                                                                                    type ExecutionTimeFilter struct {
                                                                                                                    
                                                                                                                    	// Specifies the oldest start or close date and time to return.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	OldestDate *time.Time
                                                                                                                    
                                                                                                                    	// Specifies the latest start or close date and time to return.
                                                                                                                    	LatestDate *time.Time
                                                                                                                    }

                                                                                                                      Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if specified, defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format (https://en.wikipedia.org/wiki/Unix_time). For example: "oldestDate": 1325376070.

                                                                                                                      type ExternalWorkflowExecutionCancelRequestedEventAttributes

                                                                                                                      type ExternalWorkflowExecutionCancelRequestedEventAttributes struct {
                                                                                                                      
                                                                                                                      	// The ID of the RequestCancelExternalWorkflowExecutionInitiated event
                                                                                                                      	// corresponding to the RequestCancelExternalWorkflowExecution decision to cancel
                                                                                                                      	// this external workflow execution. This information can be useful for diagnosing
                                                                                                                      	// problems by tracing back the chain of events leading up to this event.
                                                                                                                      	//
                                                                                                                      	// This member is required.
                                                                                                                      	InitiatedEventId int64
                                                                                                                      
                                                                                                                      	// The external workflow execution to which the cancellation request was delivered.
                                                                                                                      	//
                                                                                                                      	// This member is required.
                                                                                                                      	WorkflowExecution *WorkflowExecution
                                                                                                                      }

                                                                                                                        Provides the details of the ExternalWorkflowExecutionCancelRequested event.

                                                                                                                        type ExternalWorkflowExecutionSignaledEventAttributes

                                                                                                                        type ExternalWorkflowExecutionSignaledEventAttributes struct {
                                                                                                                        
                                                                                                                        	// The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to
                                                                                                                        	// the SignalExternalWorkflowExecution decision to request this signal. This
                                                                                                                        	// information can be useful for diagnosing problems by tracing back the chain of
                                                                                                                        	// events leading up to this event.
                                                                                                                        	//
                                                                                                                        	// This member is required.
                                                                                                                        	InitiatedEventId int64
                                                                                                                        
                                                                                                                        	// The external workflow execution that the signal was delivered to.
                                                                                                                        	//
                                                                                                                        	// This member is required.
                                                                                                                        	WorkflowExecution *WorkflowExecution
                                                                                                                        }

                                                                                                                          Provides the details of the ExternalWorkflowExecutionSignaled event.

                                                                                                                          type FailWorkflowExecutionDecisionAttributes

                                                                                                                          type FailWorkflowExecutionDecisionAttributes struct {
                                                                                                                          
                                                                                                                          	// Details of the failure.
                                                                                                                          	Details *string
                                                                                                                          
                                                                                                                          	// A descriptive reason for the failure that may help in diagnostics.
                                                                                                                          	Reason *string
                                                                                                                          }

                                                                                                                            Provides the details of the FailWorkflowExecution decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                                                                            * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                                                                            * Use an Action element to allow or deny permission to call this action.

                                                                                                                            * You cannot use an IAM policy to constrain this action's parameters.

                                                                                                                            If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                                                            type FailWorkflowExecutionFailedCause

                                                                                                                            type FailWorkflowExecutionFailedCause string
                                                                                                                            const (
                                                                                                                            	FailWorkflowExecutionFailedCauseUnhandledDecision     FailWorkflowExecutionFailedCause = "UNHANDLED_DECISION"
                                                                                                                            	FailWorkflowExecutionFailedCauseOperationNotPermitted FailWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
                                                                                                                            )

                                                                                                                              Enum values for FailWorkflowExecutionFailedCause

                                                                                                                              func (FailWorkflowExecutionFailedCause) Values

                                                                                                                                Values returns all known values for FailWorkflowExecutionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                type FailWorkflowExecutionFailedEventAttributes

                                                                                                                                type FailWorkflowExecutionFailedEventAttributes struct {
                                                                                                                                
                                                                                                                                	// The cause of the failure. This information is generated by the system and can be
                                                                                                                                	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                                                                                	// decision failed because it lacked sufficient permissions. For details and
                                                                                                                                	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                                                                                	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                	// in the Amazon SWF Developer Guide.
                                                                                                                                	//
                                                                                                                                	// This member is required.
                                                                                                                                	Cause FailWorkflowExecutionFailedCause
                                                                                                                                
                                                                                                                                	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                	// that resulted in the FailWorkflowExecution decision to fail this execution. This
                                                                                                                                	// information can be useful for diagnosing problems by tracing back the chain of
                                                                                                                                	// events leading up to this event.
                                                                                                                                	//
                                                                                                                                	// This member is required.
                                                                                                                                	DecisionTaskCompletedEventId int64
                                                                                                                                }

                                                                                                                                  Provides the details of the FailWorkflowExecutionFailed event.

                                                                                                                                  type HistoryEvent

                                                                                                                                  type HistoryEvent struct {
                                                                                                                                  
                                                                                                                                  	// The system generated ID of the event. This ID uniquely identifies the event with
                                                                                                                                  	// in the workflow execution history.
                                                                                                                                  	//
                                                                                                                                  	// This member is required.
                                                                                                                                  	EventId int64
                                                                                                                                  
                                                                                                                                  	// The date and time when the event occurred.
                                                                                                                                  	//
                                                                                                                                  	// This member is required.
                                                                                                                                  	EventTimestamp *time.Time
                                                                                                                                  
                                                                                                                                  	// The type of the history event.
                                                                                                                                  	//
                                                                                                                                  	// This member is required.
                                                                                                                                  	EventType EventType
                                                                                                                                  
                                                                                                                                  	// If the event is of type ActivityTaskcancelRequested then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ActivityTaskCancelRequestedEventAttributes *ActivityTaskCancelRequestedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ActivityTaskCanceled then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ActivityTaskCanceledEventAttributes *ActivityTaskCanceledEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ActivityTaskCompleted then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ActivityTaskCompletedEventAttributes *ActivityTaskCompletedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ActivityTaskFailed then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	ActivityTaskFailedEventAttributes *ActivityTaskFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ActivityTaskScheduled then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ActivityTaskScheduledEventAttributes *ActivityTaskScheduledEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ActivityTaskStarted then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	ActivityTaskStartedEventAttributes *ActivityTaskStartedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ActivityTaskTimedOut then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ActivityTaskTimedOutEventAttributes *ActivityTaskTimedOutEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type CancelTimerFailed then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	CancelTimerFailedEventAttributes *CancelTimerFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type CancelWorkflowExecutionFailed then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	CancelWorkflowExecutionFailedEventAttributes *CancelWorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ChildWorkflowExecutionCanceled then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ChildWorkflowExecutionCanceledEventAttributes *ChildWorkflowExecutionCanceledEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ChildWorkflowExecutionCompleted then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ChildWorkflowExecutionCompletedEventAttributes *ChildWorkflowExecutionCompletedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ChildWorkflowExecutionFailed then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ChildWorkflowExecutionFailedEventAttributes *ChildWorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ChildWorkflowExecutionStarted then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ChildWorkflowExecutionStartedEventAttributes *ChildWorkflowExecutionStartedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ChildWorkflowExecutionTerminated then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ChildWorkflowExecutionTerminatedEventAttributes *ChildWorkflowExecutionTerminatedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ChildWorkflowExecutionTimedOut then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ChildWorkflowExecutionTimedOutEventAttributes *ChildWorkflowExecutionTimedOutEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type CompleteWorkflowExecutionFailed then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	CompleteWorkflowExecutionFailedEventAttributes *CompleteWorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is
                                                                                                                                  	// set and provides detailed information about the event. It isn't set for other
                                                                                                                                  	// event types.
                                                                                                                                  	ContinueAsNewWorkflowExecutionFailedEventAttributes *ContinueAsNewWorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type DecisionTaskCompleted then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	DecisionTaskCompletedEventAttributes *DecisionTaskCompletedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type DecisionTaskScheduled then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	DecisionTaskScheduledEventAttributes *DecisionTaskScheduledEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type DecisionTaskStarted then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	DecisionTaskStartedEventAttributes *DecisionTaskStartedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type DecisionTaskTimedOut then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	DecisionTaskTimedOutEventAttributes *DecisionTaskTimedOutEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ExternalWorkflowExecutionCancelRequested then this
                                                                                                                                  	// member is set and provides detailed information about the event. It isn't set
                                                                                                                                  	// for other event types.
                                                                                                                                  	ExternalWorkflowExecutionCancelRequestedEventAttributes *ExternalWorkflowExecutionCancelRequestedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ExternalWorkflowExecutionSignaled then this member is
                                                                                                                                  	// set and provides detailed information about the event. It isn't set for other
                                                                                                                                  	// event types.
                                                                                                                                  	ExternalWorkflowExecutionSignaledEventAttributes *ExternalWorkflowExecutionSignaledEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type FailWorkflowExecutionFailed then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	FailWorkflowExecutionFailedEventAttributes *FailWorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// Provides the details of the LambdaFunctionCompleted event. It isn't set for
                                                                                                                                  	// other event types.
                                                                                                                                  	LambdaFunctionCompletedEventAttributes *LambdaFunctionCompletedEventAttributes
                                                                                                                                  
                                                                                                                                  	// Provides the details of the LambdaFunctionFailed event. It isn't set for other
                                                                                                                                  	// event types.
                                                                                                                                  	LambdaFunctionFailedEventAttributes *LambdaFunctionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// Provides the details of the LambdaFunctionScheduled event. It isn't set for
                                                                                                                                  	// other event types.
                                                                                                                                  	LambdaFunctionScheduledEventAttributes *LambdaFunctionScheduledEventAttributes
                                                                                                                                  
                                                                                                                                  	// Provides the details of the LambdaFunctionStarted event. It isn't set for other
                                                                                                                                  	// event types.
                                                                                                                                  	LambdaFunctionStartedEventAttributes *LambdaFunctionStartedEventAttributes
                                                                                                                                  
                                                                                                                                  	// Provides the details of the LambdaFunctionTimedOut event. It isn't set for other
                                                                                                                                  	// event types.
                                                                                                                                  	LambdaFunctionTimedOutEventAttributes *LambdaFunctionTimedOutEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type MarkerRecorded then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	MarkerRecordedEventAttributes *MarkerRecordedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type DecisionTaskFailed then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	RecordMarkerFailedEventAttributes *RecordMarkerFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type RequestCancelActivityTaskFailed then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	RequestCancelActivityTaskFailedEventAttributes *RequestCancelActivityTaskFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type RequestCancelExternalWorkflowExecutionFailed then this
                                                                                                                                  	// member is set and provides detailed information about the event. It isn't set
                                                                                                                                  	// for other event types.
                                                                                                                                  	RequestCancelExternalWorkflowExecutionFailedEventAttributes *RequestCancelExternalWorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type RequestCancelExternalWorkflowExecutionInitiated then
                                                                                                                                  	// this member is set and provides detailed information about the event. It isn't
                                                                                                                                  	// set for other event types.
                                                                                                                                  	RequestCancelExternalWorkflowExecutionInitiatedEventAttributes *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type ScheduleActivityTaskFailed then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	ScheduleActivityTaskFailedEventAttributes *ScheduleActivityTaskFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for
                                                                                                                                  	// other event types.
                                                                                                                                  	ScheduleLambdaFunctionFailedEventAttributes *ScheduleLambdaFunctionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type SignalExternalWorkflowExecutionFailed then this member
                                                                                                                                  	// is set and provides detailed information about the event. It isn't set for other
                                                                                                                                  	// event types.
                                                                                                                                  	SignalExternalWorkflowExecutionFailedEventAttributes *SignalExternalWorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type SignalExternalWorkflowExecutionInitiated then this
                                                                                                                                  	// member is set and provides detailed information about the event. It isn't set
                                                                                                                                  	// for other event types.
                                                                                                                                  	SignalExternalWorkflowExecutionInitiatedEventAttributes *SignalExternalWorkflowExecutionInitiatedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type StartChildWorkflowExecutionFailed then this member is
                                                                                                                                  	// set and provides detailed information about the event. It isn't set for other
                                                                                                                                  	// event types.
                                                                                                                                  	StartChildWorkflowExecutionFailedEventAttributes *StartChildWorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type StartChildWorkflowExecutionInitiated then this member is
                                                                                                                                  	// set and provides detailed information about the event. It isn't set for other
                                                                                                                                  	// event types.
                                                                                                                                  	StartChildWorkflowExecutionInitiatedEventAttributes *StartChildWorkflowExecutionInitiatedEventAttributes
                                                                                                                                  
                                                                                                                                  	// Provides the details of the StartLambdaFunctionFailed event. It isn't set for
                                                                                                                                  	// other event types.
                                                                                                                                  	StartLambdaFunctionFailedEventAttributes *StartLambdaFunctionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type StartTimerFailed then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	StartTimerFailedEventAttributes *StartTimerFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type TimerCanceled then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	TimerCanceledEventAttributes *TimerCanceledEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type TimerFired then this member is set and provides detailed
                                                                                                                                  	// information about the event. It isn't set for other event types.
                                                                                                                                  	TimerFiredEventAttributes *TimerFiredEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type TimerStarted then this member is set and provides
                                                                                                                                  	// detailed information about the event. It isn't set for other event types.
                                                                                                                                  	TimerStartedEventAttributes *TimerStartedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionCancelRequested then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionCancelRequestedEventAttributes *WorkflowExecutionCancelRequestedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionCanceled then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionCanceledEventAttributes *WorkflowExecutionCanceledEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionCompleted then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionCompletedEventAttributes *WorkflowExecutionCompletedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionContinuedAsNew then this member is set
                                                                                                                                  	// and provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionContinuedAsNewEventAttributes *WorkflowExecutionContinuedAsNewEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionFailed then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionFailedEventAttributes *WorkflowExecutionFailedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionSignaled then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionSignaledEventAttributes *WorkflowExecutionSignaledEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionStarted then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionStartedEventAttributes *WorkflowExecutionStartedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionTerminated then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionTerminatedEventAttributes *WorkflowExecutionTerminatedEventAttributes
                                                                                                                                  
                                                                                                                                  	// If the event is of type WorkflowExecutionTimedOut then this member is set and
                                                                                                                                  	// provides detailed information about the event. It isn't set for other event
                                                                                                                                  	// types.
                                                                                                                                  	WorkflowExecutionTimedOutEventAttributes *WorkflowExecutionTimedOutEventAttributes
                                                                                                                                  }

                                                                                                                                    Event within a workflow execution. A history event can be one of these types:

                                                                                                                                    * ActivityTaskCancelRequested – A RequestCancelActivityTask decision was received by the system.

                                                                                                                                    * ActivityTaskCanceled – The activity task was successfully canceled.

                                                                                                                                    * ActivityTaskCompleted – An activity worker successfully completed an activity task by calling RespondActivityTaskCompleted.

                                                                                                                                    * ActivityTaskFailed – An activity worker failed an activity task by calling RespondActivityTaskFailed.

                                                                                                                                    * ActivityTaskScheduled – An activity task was scheduled for execution.

                                                                                                                                    * ActivityTaskStarted – The scheduled activity task was dispatched to a worker.

                                                                                                                                    * ActivityTaskTimedOut – The activity task timed out.

                                                                                                                                    * CancelTimerFailed – Failed to process CancelTimer decision. This happens when the decision isn't configured properly, for example no timer exists with the specified timer Id.

                                                                                                                                    * CancelWorkflowExecutionFailed – A request to cancel a workflow execution failed.

                                                                                                                                    * ChildWorkflowExecutionCanceled – A child workflow execution, started by this workflow execution, was canceled and closed.

                                                                                                                                    * ChildWorkflowExecutionCompleted – A child workflow execution, started by this workflow execution, completed successfully and was closed.

                                                                                                                                    * ChildWorkflowExecutionFailed – A child workflow execution, started by this workflow execution, failed to complete successfully and was closed.

                                                                                                                                    * ChildWorkflowExecutionStarted – A child workflow execution was successfully started.

                                                                                                                                    * ChildWorkflowExecutionTerminated – A child workflow execution, started by this workflow execution, was terminated.

                                                                                                                                    * ChildWorkflowExecutionTimedOut – A child workflow execution, started by this workflow execution, timed out and was closed.

                                                                                                                                    * CompleteWorkflowExecutionFailed – The workflow execution failed to complete.

                                                                                                                                    * ContinueAsNewWorkflowExecutionFailed – The workflow execution failed to complete after being continued as a new workflow execution.

                                                                                                                                    * DecisionTaskCompleted – The decider successfully completed a decision task by calling RespondDecisionTaskCompleted.

                                                                                                                                    * DecisionTaskScheduled – A decision task was scheduled for the workflow execution.

                                                                                                                                    * DecisionTaskStarted – The decision task was dispatched to a decider.

                                                                                                                                    * DecisionTaskTimedOut – The decision task timed out.

                                                                                                                                    * ExternalWorkflowExecutionCancelRequested – Request to cancel an external workflow execution was successfully delivered to the target execution.

                                                                                                                                    * ExternalWorkflowExecutionSignaled – A signal, requested by this workflow execution, was successfully delivered to the target external workflow execution.

                                                                                                                                    * FailWorkflowExecutionFailed – A request to mark a workflow execution as failed, itself failed.

                                                                                                                                    * MarkerRecorded – A marker was recorded in the workflow history as the result of a RecordMarker decision.

                                                                                                                                    * RecordMarkerFailed – A RecordMarker decision was returned as failed.

                                                                                                                                    * RequestCancelActivityTaskFailed – Failed to process RequestCancelActivityTask decision. This happens when the decision isn't configured properly.

                                                                                                                                    * RequestCancelExternalWorkflowExecutionFailed – Request to cancel an external workflow execution failed.

                                                                                                                                    * RequestCancelExternalWorkflowExecutionInitiated – A request was made to request the cancellation of an external workflow execution.

                                                                                                                                    * ScheduleActivityTaskFailed – Failed to process ScheduleActivityTask decision. This happens when the decision isn't configured properly, for example the activity type specified isn't registered.

                                                                                                                                    * SignalExternalWorkflowExecutionFailed – The request to signal an external workflow execution failed.

                                                                                                                                    * SignalExternalWorkflowExecutionInitiated – A request to signal an external workflow was made.

                                                                                                                                    * StartActivityTaskFailed – A scheduled activity task failed to start.

                                                                                                                                    * StartChildWorkflowExecutionFailed – Failed to process StartChildWorkflowExecution decision. This happens when the decision isn't configured properly, for example the workflow type specified isn't registered.

                                                                                                                                    * StartChildWorkflowExecutionInitiated – A request was made to start a child workflow execution.

                                                                                                                                    * StartTimerFailed – Failed to process StartTimer decision. This happens when the decision isn't configured properly, for example a timer already exists with the specified timer Id.

                                                                                                                                    * TimerCanceled – A timer, previously started for this workflow execution, was successfully canceled.

                                                                                                                                    * TimerFired – A timer, previously started for this workflow execution, fired.

                                                                                                                                    * TimerStarted – A timer was started for the workflow execution due to a StartTimer decision.

                                                                                                                                    * WorkflowExecutionCancelRequested – A request to cancel this workflow execution was made.

                                                                                                                                    * WorkflowExecutionCanceled – The workflow execution was successfully canceled and closed.

                                                                                                                                    * WorkflowExecutionCompleted – The workflow execution was closed due to successful completion.

                                                                                                                                    * WorkflowExecutionContinuedAsNew – The workflow execution was closed and a new execution of the same type was created with the same workflowId.

                                                                                                                                    * WorkflowExecutionFailed – The workflow execution closed due to a failure.

                                                                                                                                    * WorkflowExecutionSignaled – An external signal was received for the workflow execution.

                                                                                                                                    * WorkflowExecutionStarted – The workflow execution was started.

                                                                                                                                    * WorkflowExecutionTerminated – The workflow execution was terminated.

                                                                                                                                    * WorkflowExecutionTimedOut – The workflow execution was closed because a time out was exceeded.

                                                                                                                                    type LambdaFunctionCompletedEventAttributes

                                                                                                                                    type LambdaFunctionCompletedEventAttributes struct {
                                                                                                                                    
                                                                                                                                    	// The ID of the LambdaFunctionScheduled event that was recorded when this Lambda
                                                                                                                                    	// task was scheduled. To help diagnose issues, use this information to trace back
                                                                                                                                    	// the chain of events leading up to this event.
                                                                                                                                    	//
                                                                                                                                    	// This member is required.
                                                                                                                                    	ScheduledEventId int64
                                                                                                                                    
                                                                                                                                    	// The ID of the LambdaFunctionStarted event recorded when this activity task
                                                                                                                                    	// started. To help diagnose issues, use this information to trace back the chain
                                                                                                                                    	// of events leading up to this event.
                                                                                                                                    	//
                                                                                                                                    	// This member is required.
                                                                                                                                    	StartedEventId int64
                                                                                                                                    
                                                                                                                                    	// The results of the Lambda task.
                                                                                                                                    	Result *string
                                                                                                                                    }

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

                                                                                                                                      type LambdaFunctionFailedEventAttributes

                                                                                                                                      type LambdaFunctionFailedEventAttributes struct {
                                                                                                                                      
                                                                                                                                      	// The ID of the LambdaFunctionScheduled 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.
                                                                                                                                      	//
                                                                                                                                      	// This member is required.
                                                                                                                                      	ScheduledEventId int64
                                                                                                                                      
                                                                                                                                      	// The ID of the LambdaFunctionStarted event recorded when this activity task
                                                                                                                                      	// started. To help diagnose issues, use this information to trace back the chain
                                                                                                                                      	// of events leading up to this event.
                                                                                                                                      	//
                                                                                                                                      	// This member is required.
                                                                                                                                      	StartedEventId int64
                                                                                                                                      
                                                                                                                                      	// The details of the failure.
                                                                                                                                      	Details *string
                                                                                                                                      
                                                                                                                                      	// The reason provided for the failure.
                                                                                                                                      	Reason *string
                                                                                                                                      }

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

                                                                                                                                        type LambdaFunctionScheduledEventAttributes

                                                                                                                                        type LambdaFunctionScheduledEventAttributes struct {
                                                                                                                                        
                                                                                                                                        	// The ID of the LambdaFunctionCompleted event corresponding to the decision that
                                                                                                                                        	// resulted in scheduling this activity task. To help diagnose issues, use this
                                                                                                                                        	// information to trace back the chain of events leading up to this event.
                                                                                                                                        	//
                                                                                                                                        	// This member is required.
                                                                                                                                        	DecisionTaskCompletedEventId int64
                                                                                                                                        
                                                                                                                                        	// The unique ID of the Lambda task.
                                                                                                                                        	//
                                                                                                                                        	// This member is required.
                                                                                                                                        	Id *string
                                                                                                                                        
                                                                                                                                        	// The name of the Lambda function.
                                                                                                                                        	//
                                                                                                                                        	// This member is required.
                                                                                                                                        	Name *string
                                                                                                                                        
                                                                                                                                        	// Data attached to the event that the decider can use in subsequent workflow
                                                                                                                                        	// tasks. This data isn't sent to the Lambda task.
                                                                                                                                        	Control *string
                                                                                                                                        
                                                                                                                                        	// The input provided to the Lambda task.
                                                                                                                                        	Input *string
                                                                                                                                        
                                                                                                                                        	// The maximum amount of time a worker can take to process the Lambda task.
                                                                                                                                        	StartToCloseTimeout *string
                                                                                                                                        }

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

                                                                                                                                          type LambdaFunctionStartedEventAttributes

                                                                                                                                          type LambdaFunctionStartedEventAttributes struct {
                                                                                                                                          
                                                                                                                                          	// The ID of the LambdaFunctionScheduled 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.
                                                                                                                                          	//
                                                                                                                                          	// This member is required.
                                                                                                                                          	ScheduledEventId int64
                                                                                                                                          }

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

                                                                                                                                            type LambdaFunctionTimedOutEventAttributes

                                                                                                                                            type LambdaFunctionTimedOutEventAttributes struct {
                                                                                                                                            
                                                                                                                                            	// The ID of the LambdaFunctionScheduled 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.
                                                                                                                                            	//
                                                                                                                                            	// This member is required.
                                                                                                                                            	ScheduledEventId int64
                                                                                                                                            
                                                                                                                                            	// The ID of the ActivityTaskStarted event that was recorded when this activity
                                                                                                                                            	// task started. To help diagnose issues, use this information to trace back the
                                                                                                                                            	// chain of events leading up to this event.
                                                                                                                                            	//
                                                                                                                                            	// This member is required.
                                                                                                                                            	StartedEventId int64
                                                                                                                                            
                                                                                                                                            	// The type of the timeout that caused this event.
                                                                                                                                            	TimeoutType LambdaFunctionTimeoutType
                                                                                                                                            }

                                                                                                                                              Provides details of the LambdaFunctionTimedOut event.

                                                                                                                                              type LambdaFunctionTimeoutType

                                                                                                                                              type LambdaFunctionTimeoutType string
                                                                                                                                              const (
                                                                                                                                              	LambdaFunctionTimeoutTypeStartToClose LambdaFunctionTimeoutType = "START_TO_CLOSE"
                                                                                                                                              )

                                                                                                                                                Enum values for LambdaFunctionTimeoutType

                                                                                                                                                func (LambdaFunctionTimeoutType) Values

                                                                                                                                                  Values returns all known values for LambdaFunctionTimeoutType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                  type LimitExceededFault

                                                                                                                                                  type LimitExceededFault struct {
                                                                                                                                                  	Message *string
                                                                                                                                                  }

                                                                                                                                                    Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.

                                                                                                                                                    func (*LimitExceededFault) Error

                                                                                                                                                    func (e *LimitExceededFault) Error() string

                                                                                                                                                    func (*LimitExceededFault) ErrorCode

                                                                                                                                                    func (e *LimitExceededFault) ErrorCode() string

                                                                                                                                                    func (*LimitExceededFault) ErrorFault

                                                                                                                                                    func (e *LimitExceededFault) ErrorFault() smithy.ErrorFault

                                                                                                                                                    func (*LimitExceededFault) ErrorMessage

                                                                                                                                                    func (e *LimitExceededFault) ErrorMessage() string

                                                                                                                                                    type MarkerRecordedEventAttributes

                                                                                                                                                    type MarkerRecordedEventAttributes struct {
                                                                                                                                                    
                                                                                                                                                    	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                    	// that resulted in the RecordMarker decision that requested this marker. This
                                                                                                                                                    	// information can be useful for diagnosing problems by tracing back the chain of
                                                                                                                                                    	// events leading up to this event.
                                                                                                                                                    	//
                                                                                                                                                    	// This member is required.
                                                                                                                                                    	DecisionTaskCompletedEventId int64
                                                                                                                                                    
                                                                                                                                                    	// The name of the marker.
                                                                                                                                                    	//
                                                                                                                                                    	// This member is required.
                                                                                                                                                    	MarkerName *string
                                                                                                                                                    
                                                                                                                                                    	// The details of the marker.
                                                                                                                                                    	Details *string
                                                                                                                                                    }

                                                                                                                                                      Provides the details of the MarkerRecorded event.

                                                                                                                                                      type OperationNotPermittedFault

                                                                                                                                                      type OperationNotPermittedFault struct {
                                                                                                                                                      	Message *string
                                                                                                                                                      }

                                                                                                                                                        Returned when the caller doesn't have sufficient permissions to invoke the action.

                                                                                                                                                        func (*OperationNotPermittedFault) Error

                                                                                                                                                        func (*OperationNotPermittedFault) ErrorCode

                                                                                                                                                        func (e *OperationNotPermittedFault) ErrorCode() string

                                                                                                                                                        func (*OperationNotPermittedFault) ErrorFault

                                                                                                                                                        func (*OperationNotPermittedFault) ErrorMessage

                                                                                                                                                        func (e *OperationNotPermittedFault) ErrorMessage() string

                                                                                                                                                        type RecordMarkerDecisionAttributes

                                                                                                                                                        type RecordMarkerDecisionAttributes struct {
                                                                                                                                                        
                                                                                                                                                        	// The name of the marker.
                                                                                                                                                        	//
                                                                                                                                                        	// This member is required.
                                                                                                                                                        	MarkerName *string
                                                                                                                                                        
                                                                                                                                                        	// The details of the marker.
                                                                                                                                                        	Details *string
                                                                                                                                                        }

                                                                                                                                                          Provides the details of the RecordMarker decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                                                                                                          * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                                                                                                          * Use an Action element to allow or deny permission to call this action.

                                                                                                                                                          * You cannot use an IAM policy to constrain this action's parameters.

                                                                                                                                                          If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                                                                                          type RecordMarkerFailedCause

                                                                                                                                                          type RecordMarkerFailedCause string
                                                                                                                                                          const (
                                                                                                                                                          	RecordMarkerFailedCauseOperationNotPermitted RecordMarkerFailedCause = "OPERATION_NOT_PERMITTED"
                                                                                                                                                          )

                                                                                                                                                            Enum values for RecordMarkerFailedCause

                                                                                                                                                            func (RecordMarkerFailedCause) Values

                                                                                                                                                              Values returns all known values for RecordMarkerFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                              type RecordMarkerFailedEventAttributes

                                                                                                                                                              type RecordMarkerFailedEventAttributes struct {
                                                                                                                                                              
                                                                                                                                                              	// The cause of the failure. This information is generated by the system and can be
                                                                                                                                                              	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                                                                                                              	// decision failed because it lacked sufficient permissions. For details and
                                                                                                                                                              	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                                                                                                              	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                                              	// in the Amazon SWF Developer Guide.
                                                                                                                                                              	//
                                                                                                                                                              	// This member is required.
                                                                                                                                                              	Cause RecordMarkerFailedCause
                                                                                                                                                              
                                                                                                                                                              	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                              	// that resulted in the RecordMarkerFailed decision for this cancellation request.
                                                                                                                                                              	// This information can be useful for diagnosing problems by tracing back the chain
                                                                                                                                                              	// of events leading up to this event.
                                                                                                                                                              	//
                                                                                                                                                              	// This member is required.
                                                                                                                                                              	DecisionTaskCompletedEventId int64
                                                                                                                                                              
                                                                                                                                                              	// The marker's name.
                                                                                                                                                              	//
                                                                                                                                                              	// This member is required.
                                                                                                                                                              	MarkerName *string
                                                                                                                                                              }

                                                                                                                                                                Provides the details of the RecordMarkerFailed event.

                                                                                                                                                                type RegistrationStatus

                                                                                                                                                                type RegistrationStatus string
                                                                                                                                                                const (
                                                                                                                                                                	RegistrationStatusRegistered RegistrationStatus = "REGISTERED"
                                                                                                                                                                	RegistrationStatusDeprecated RegistrationStatus = "DEPRECATED"
                                                                                                                                                                )

                                                                                                                                                                  Enum values for RegistrationStatus

                                                                                                                                                                  func (RegistrationStatus) Values

                                                                                                                                                                    Values returns all known values for RegistrationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                    type RequestCancelActivityTaskDecisionAttributes

                                                                                                                                                                    type RequestCancelActivityTaskDecisionAttributes struct {
                                                                                                                                                                    
                                                                                                                                                                    	// The activityId of the activity task to be canceled.
                                                                                                                                                                    	//
                                                                                                                                                                    	// This member is required.
                                                                                                                                                                    	ActivityId *string
                                                                                                                                                                    }

                                                                                                                                                                      Provides the details of the RequestCancelActivityTask decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                                                                                                                      * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                                                                                                                      * Use an Action element to allow or deny permission to call this action.

                                                                                                                                                                      * You cannot use an IAM policy to constrain this action's parameters.

                                                                                                                                                                      If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                                                                                                      type RequestCancelActivityTaskFailedCause

                                                                                                                                                                      type RequestCancelActivityTaskFailedCause string
                                                                                                                                                                      const (
                                                                                                                                                                      	RequestCancelActivityTaskFailedCauseActivityIdUnknown     RequestCancelActivityTaskFailedCause = "ACTIVITY_ID_UNKNOWN"
                                                                                                                                                                      	RequestCancelActivityTaskFailedCauseOperationNotPermitted RequestCancelActivityTaskFailedCause = "OPERATION_NOT_PERMITTED"
                                                                                                                                                                      )

                                                                                                                                                                        Enum values for RequestCancelActivityTaskFailedCause

                                                                                                                                                                        func (RequestCancelActivityTaskFailedCause) Values

                                                                                                                                                                          Values returns all known values for RequestCancelActivityTaskFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                          type RequestCancelActivityTaskFailedEventAttributes

                                                                                                                                                                          type RequestCancelActivityTaskFailedEventAttributes struct {
                                                                                                                                                                          
                                                                                                                                                                          	// The activityId provided in the RequestCancelActivityTask decision that failed.
                                                                                                                                                                          	//
                                                                                                                                                                          	// This member is required.
                                                                                                                                                                          	ActivityId *string
                                                                                                                                                                          
                                                                                                                                                                          	// The cause of the failure. This information is generated by the system and can be
                                                                                                                                                                          	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                                                                                                                          	// decision failed because it lacked sufficient permissions. For details and
                                                                                                                                                                          	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                                                                                                                          	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                                                          	// in the Amazon SWF Developer Guide.
                                                                                                                                                                          	//
                                                                                                                                                                          	// This member is required.
                                                                                                                                                                          	Cause RequestCancelActivityTaskFailedCause
                                                                                                                                                                          
                                                                                                                                                                          	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                          	// that resulted in the RequestCancelActivityTask decision for this cancellation
                                                                                                                                                                          	// request. This information can be useful for diagnosing problems by tracing back
                                                                                                                                                                          	// the chain of events leading up to this event.
                                                                                                                                                                          	//
                                                                                                                                                                          	// This member is required.
                                                                                                                                                                          	DecisionTaskCompletedEventId int64
                                                                                                                                                                          }

                                                                                                                                                                            Provides the details of the RequestCancelActivityTaskFailed event.

                                                                                                                                                                            type RequestCancelExternalWorkflowExecutionDecisionAttributes

                                                                                                                                                                            type RequestCancelExternalWorkflowExecutionDecisionAttributes struct {
                                                                                                                                                                            
                                                                                                                                                                            	// The workflowId of the external workflow execution to cancel.
                                                                                                                                                                            	//
                                                                                                                                                                            	// This member is required.
                                                                                                                                                                            	WorkflowId *string
                                                                                                                                                                            
                                                                                                                                                                            	// The data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                            	// workflow tasks.
                                                                                                                                                                            	Control *string
                                                                                                                                                                            
                                                                                                                                                                            	// The runId of the external workflow execution to cancel.
                                                                                                                                                                            	RunId *string
                                                                                                                                                                            }

                                                                                                                                                                              Provides the details of the RequestCancelExternalWorkflowExecution decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                                                                                                                              * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                                                                                                                              * Use an Action element to allow or deny permission to call this action.

                                                                                                                                                                              * You cannot use an IAM policy to constrain this action's parameters.

                                                                                                                                                                              If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                                                                                                              type RequestCancelExternalWorkflowExecutionFailedCause

                                                                                                                                                                              type RequestCancelExternalWorkflowExecutionFailedCause string
                                                                                                                                                                              const (
                                                                                                                                                                              	RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution                   RequestCancelExternalWorkflowExecutionFailedCause = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"
                                                                                                                                                                              	RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded RequestCancelExternalWorkflowExecutionFailedCause = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"
                                                                                                                                                                              	RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted                              RequestCancelExternalWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
                                                                                                                                                                              )

                                                                                                                                                                                Enum values for RequestCancelExternalWorkflowExecutionFailedCause

                                                                                                                                                                                func (RequestCancelExternalWorkflowExecutionFailedCause) Values

                                                                                                                                                                                  Values returns all known values for RequestCancelExternalWorkflowExecutionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                  type RequestCancelExternalWorkflowExecutionFailedEventAttributes

                                                                                                                                                                                  type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct {
                                                                                                                                                                                  
                                                                                                                                                                                  	// The cause of the failure. This information is generated by the system and can be
                                                                                                                                                                                  	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                                                                                                                                  	// decision failed because it lacked sufficient permissions. For details and
                                                                                                                                                                                  	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                                                                                                                                  	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                                                                  	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                  	//
                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                  	Cause RequestCancelExternalWorkflowExecutionFailedCause
                                                                                                                                                                                  
                                                                                                                                                                                  	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                  	// that resulted in the RequestCancelExternalWorkflowExecution decision for this
                                                                                                                                                                                  	// cancellation request. This information can be useful for diagnosing problems by
                                                                                                                                                                                  	// tracing back the chain of events leading up to this event.
                                                                                                                                                                                  	//
                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                  	DecisionTaskCompletedEventId int64
                                                                                                                                                                                  
                                                                                                                                                                                  	// The ID of the RequestCancelExternalWorkflowExecutionInitiated event
                                                                                                                                                                                  	// corresponding to the RequestCancelExternalWorkflowExecution decision to cancel
                                                                                                                                                                                  	// this external workflow execution. This information can be useful for diagnosing
                                                                                                                                                                                  	// problems by tracing back the chain of events leading up to this event.
                                                                                                                                                                                  	//
                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                  	InitiatedEventId int64
                                                                                                                                                                                  
                                                                                                                                                                                  	// The workflowId of the external workflow to which the cancel request was to be
                                                                                                                                                                                  	// delivered.
                                                                                                                                                                                  	//
                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                  	WorkflowId *string
                                                                                                                                                                                  
                                                                                                                                                                                  	// The data attached to the event that the decider can use in subsequent workflow
                                                                                                                                                                                  	// tasks. This data isn't sent to the workflow execution.
                                                                                                                                                                                  	Control *string
                                                                                                                                                                                  
                                                                                                                                                                                  	// The runId of the external workflow execution.
                                                                                                                                                                                  	RunId *string
                                                                                                                                                                                  }

                                                                                                                                                                                    Provides the details of the RequestCancelExternalWorkflowExecutionFailed event.

                                                                                                                                                                                    type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

                                                                                                                                                                                    type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct {
                                                                                                                                                                                    
                                                                                                                                                                                    	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                    	// that resulted in the RequestCancelExternalWorkflowExecution decision for this
                                                                                                                                                                                    	// cancellation request. This information can be useful for diagnosing problems by
                                                                                                                                                                                    	// tracing back the chain of events leading up to this event.
                                                                                                                                                                                    	//
                                                                                                                                                                                    	// This member is required.
                                                                                                                                                                                    	DecisionTaskCompletedEventId int64
                                                                                                                                                                                    
                                                                                                                                                                                    	// The workflowId of the external workflow execution to be canceled.
                                                                                                                                                                                    	//
                                                                                                                                                                                    	// This member is required.
                                                                                                                                                                                    	WorkflowId *string
                                                                                                                                                                                    
                                                                                                                                                                                    	// Data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                                    	// workflow tasks.
                                                                                                                                                                                    	Control *string
                                                                                                                                                                                    
                                                                                                                                                                                    	// The runId of the external workflow execution to be canceled.
                                                                                                                                                                                    	RunId *string
                                                                                                                                                                                    }

                                                                                                                                                                                      Provides the details of the RequestCancelExternalWorkflowExecutionInitiated event.

                                                                                                                                                                                      type ResourceTag

                                                                                                                                                                                      type ResourceTag struct {
                                                                                                                                                                                      
                                                                                                                                                                                      	// The key of a tag.
                                                                                                                                                                                      	//
                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                      	Key *string
                                                                                                                                                                                      
                                                                                                                                                                                      	// The value of a tag.
                                                                                                                                                                                      	Value *string
                                                                                                                                                                                      }

                                                                                                                                                                                        Tags are key-value pairs that can be associated with Amazon SWF state machines and activities. Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

                                                                                                                                                                                        type ScheduleActivityTaskDecisionAttributes

                                                                                                                                                                                        type ScheduleActivityTaskDecisionAttributes struct {
                                                                                                                                                                                        
                                                                                                                                                                                        	// The activityId of the activity task. The specified string must not start or end
                                                                                                                                                                                        	// with whitespace. It must not contain a : (colon), / (slash), | (vertical bar),
                                                                                                                                                                                        	// or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not
                                                                                                                                                                                        	// contain the literal string arn.
                                                                                                                                                                                        	//
                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                        	ActivityId *string
                                                                                                                                                                                        
                                                                                                                                                                                        	// The type of the activity task to schedule.
                                                                                                                                                                                        	//
                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                        	ActivityType *ActivityType
                                                                                                                                                                                        
                                                                                                                                                                                        	// Data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                                        	// workflow tasks. This data isn't sent to the activity.
                                                                                                                                                                                        	Control *string
                                                                                                                                                                                        
                                                                                                                                                                                        	// If set, specifies the maximum time before which a worker processing a task of
                                                                                                                                                                                        	// this type must report progress by calling RecordActivityTaskHeartbeat. If the
                                                                                                                                                                                        	// timeout is exceeded, the activity task is automatically timed out. If the worker
                                                                                                                                                                                        	// subsequently attempts to record a heartbeat or returns a result, it is ignored.
                                                                                                                                                                                        	// This overrides the default heartbeat timeout specified when registering the
                                                                                                                                                                                        	// activity type using RegisterActivityType. The duration is specified in seconds,
                                                                                                                                                                                        	// an integer greater than or equal to 0. You can use NONE to specify unlimited
                                                                                                                                                                                        	// duration.
                                                                                                                                                                                        	HeartbeatTimeout *string
                                                                                                                                                                                        
                                                                                                                                                                                        	// The input provided to the activity task.
                                                                                                                                                                                        	Input *string
                                                                                                                                                                                        
                                                                                                                                                                                        	// The maximum duration for this activity task. The duration is specified in
                                                                                                                                                                                        	// seconds, an integer greater than or equal to 0. You can use NONE to specify
                                                                                                                                                                                        	// unlimited duration. A schedule-to-close timeout for this activity task must be
                                                                                                                                                                                        	// specified either as a default for the activity type or through this field. If
                                                                                                                                                                                        	// neither this field is set nor a default schedule-to-close timeout was specified
                                                                                                                                                                                        	// at registration time then a fault is returned.
                                                                                                                                                                                        	ScheduleToCloseTimeout *string
                                                                                                                                                                                        
                                                                                                                                                                                        	// If set, specifies the maximum duration the activity task can wait to be assigned
                                                                                                                                                                                        	// to a worker. This overrides the default schedule-to-start timeout specified when
                                                                                                                                                                                        	// registering the activity type using RegisterActivityType. The duration is
                                                                                                                                                                                        	// specified in seconds, an integer greater than or equal to 0. You can use NONE to
                                                                                                                                                                                        	// specify unlimited duration. A schedule-to-start timeout for this activity task
                                                                                                                                                                                        	// must be specified either as a default for the activity type or through this
                                                                                                                                                                                        	// field. If neither this field is set nor a default schedule-to-start timeout was
                                                                                                                                                                                        	// specified at registration time then a fault is returned.
                                                                                                                                                                                        	ScheduleToStartTimeout *string
                                                                                                                                                                                        
                                                                                                                                                                                        	// If set, specifies the maximum duration a worker may take to process this
                                                                                                                                                                                        	// activity task. This overrides the default start-to-close timeout specified when
                                                                                                                                                                                        	// registering the activity type using RegisterActivityType. The duration is
                                                                                                                                                                                        	// specified in seconds, an integer greater than or equal to 0. You can use NONE to
                                                                                                                                                                                        	// specify unlimited duration. A start-to-close timeout for this activity task must
                                                                                                                                                                                        	// be specified either as a default for the activity type or through this field. If
                                                                                                                                                                                        	// neither this field is set nor a default start-to-close timeout was specified at
                                                                                                                                                                                        	// registration time then a fault is returned.
                                                                                                                                                                                        	StartToCloseTimeout *string
                                                                                                                                                                                        
                                                                                                                                                                                        	// If set, specifies the name of the task list in which to schedule the activity
                                                                                                                                                                                        	// task. If not specified, the defaultTaskList registered with the activity type is
                                                                                                                                                                                        	// used. A task list for this activity task must be specified either as a default
                                                                                                                                                                                        	// for the activity type or through this field. If neither this field is set nor a
                                                                                                                                                                                        	// default task list was specified at registration time then a fault is returned.
                                                                                                                                                                                        	// The specified string must not start or end with whitespace. It must not contain
                                                                                                                                                                                        	// a : (colon), / (slash), | (vertical bar), or any control characters
                                                                                                                                                                                        	// (\u0000-\u001f | \u007f-\u009f). Also, it must not contain the literal string
                                                                                                                                                                                        	// arn.
                                                                                                                                                                                        	TaskList *TaskList
                                                                                                                                                                                        
                                                                                                                                                                                        	// If set, specifies the priority with which the activity task is to be assigned to
                                                                                                                                                                                        	// a worker. This overrides the defaultTaskPriority specified when registering the
                                                                                                                                                                                        	// activity type using RegisterActivityType. Valid values are integers that range
                                                                                                                                                                                        	// from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647).
                                                                                                                                                                                        	// Higher numbers indicate higher priority. For more information about setting task
                                                                                                                                                                                        	// priority, see Setting Task Priority
                                                                                                                                                                                        	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
                                                                                                                                                                                        	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                        	TaskPriority *string
                                                                                                                                                                                        }

                                                                                                                                                                                          Provides the details of the ScheduleActivityTask decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                                                                                                                                          * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                                                                                                                                          * Use an Action element to allow or deny permission to call this action.

                                                                                                                                                                                          * Constrain the following parameters by using a Condition element with the appropriate keys.

                                                                                                                                                                                          * activityType.name – String constraint. The key is swf:activityType.name.

                                                                                                                                                                                          * activityType.version – String constraint. The key is swf:activityType.version.

                                                                                                                                                                                          * taskList – String constraint. The key is swf:taskList.name.

                                                                                                                                                                                          If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                                                                                                                          type ScheduleActivityTaskFailedCause

                                                                                                                                                                                          type ScheduleActivityTaskFailedCause string
                                                                                                                                                                                          const (
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseActivityTypeDeprecated                 ScheduleActivityTaskFailedCause = "ACTIVITY_TYPE_DEPRECATED"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist               ScheduleActivityTaskFailedCause = "ACTIVITY_TYPE_DOES_NOT_EXIST"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse                 ScheduleActivityTaskFailedCause = "ACTIVITY_ID_ALREADY_IN_USE"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded            ScheduleActivityTaskFailedCause = "OPEN_ACTIVITIES_LIMIT_EXCEEDED"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseActivityCreationRateExceeded           ScheduleActivityTaskFailedCause = "ACTIVITY_CREATION_RATE_EXCEEDED"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined ScheduleActivityTaskFailedCause = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseDefaultTaskListUndefined               ScheduleActivityTaskFailedCause = "DEFAULT_TASK_LIST_UNDEFINED"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined ScheduleActivityTaskFailedCause = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined    ScheduleActivityTaskFailedCause = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined       ScheduleActivityTaskFailedCause = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED"
                                                                                                                                                                                          	ScheduleActivityTaskFailedCauseOperationNotPermitted                  ScheduleActivityTaskFailedCause = "OPERATION_NOT_PERMITTED"
                                                                                                                                                                                          )

                                                                                                                                                                                            Enum values for ScheduleActivityTaskFailedCause

                                                                                                                                                                                            func (ScheduleActivityTaskFailedCause) Values

                                                                                                                                                                                              Values returns all known values for ScheduleActivityTaskFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                              type ScheduleActivityTaskFailedEventAttributes

                                                                                                                                                                                              type ScheduleActivityTaskFailedEventAttributes struct {
                                                                                                                                                                                              
                                                                                                                                                                                              	// The activityId provided in the ScheduleActivityTask decision that failed.
                                                                                                                                                                                              	//
                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                              	ActivityId *string
                                                                                                                                                                                              
                                                                                                                                                                                              	// The activity type provided in the ScheduleActivityTask decision that failed.
                                                                                                                                                                                              	//
                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                              	ActivityType *ActivityType
                                                                                                                                                                                              
                                                                                                                                                                                              	// The cause of the failure. This information is generated by the system and can be
                                                                                                                                                                                              	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                                                                                                                                              	// decision failed because it lacked sufficient permissions. For details and
                                                                                                                                                                                              	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                                                                                                                                              	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                                                                              	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                              	//
                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                              	Cause ScheduleActivityTaskFailedCause
                                                                                                                                                                                              
                                                                                                                                                                                              	// The ID of the DecisionTaskCompleted event corresponding to the decision that
                                                                                                                                                                                              	// resulted in the scheduling of this activity task. This information can be useful
                                                                                                                                                                                              	// for diagnosing problems by tracing back the chain of events leading up to this
                                                                                                                                                                                              	// event.
                                                                                                                                                                                              	//
                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                              	DecisionTaskCompletedEventId int64
                                                                                                                                                                                              }

                                                                                                                                                                                                Provides the details of the ScheduleActivityTaskFailed event.

                                                                                                                                                                                                type ScheduleLambdaFunctionDecisionAttributes

                                                                                                                                                                                                type ScheduleLambdaFunctionDecisionAttributes struct {
                                                                                                                                                                                                
                                                                                                                                                                                                	// A string that identifies the Lambda function execution in the event history.
                                                                                                                                                                                                	//
                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                	Id *string
                                                                                                                                                                                                
                                                                                                                                                                                                	// The name, or ARN, of the Lambda function to schedule.
                                                                                                                                                                                                	//
                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                	Name *string
                                                                                                                                                                                                
                                                                                                                                                                                                	// The data attached to the event that the decider can use in subsequent workflow
                                                                                                                                                                                                	// tasks. This data isn't sent to the Lambda task.
                                                                                                                                                                                                	Control *string
                                                                                                                                                                                                
                                                                                                                                                                                                	// The optional input data to be supplied to the Lambda function.
                                                                                                                                                                                                	Input *string
                                                                                                                                                                                                
                                                                                                                                                                                                	// The timeout value, in seconds, after which the Lambda function is considered to
                                                                                                                                                                                                	// be failed once it has started. This can be any integer from 1-300 (1s-5m). If no
                                                                                                                                                                                                	// value is supplied, than a default value of 300s is assumed.
                                                                                                                                                                                                	StartToCloseTimeout *string
                                                                                                                                                                                                }

                                                                                                                                                                                                  Decision attributes specified in scheduleLambdaFunctionDecisionAttributes within the list of decisions decisions passed to RespondDecisionTaskCompleted.

                                                                                                                                                                                                  type ScheduleLambdaFunctionFailedCause

                                                                                                                                                                                                  type ScheduleLambdaFunctionFailedCause string
                                                                                                                                                                                                  const (
                                                                                                                                                                                                  	ScheduleLambdaFunctionFailedCauseIdAlreadyInUse                     ScheduleLambdaFunctionFailedCause = "ID_ALREADY_IN_USE"
                                                                                                                                                                                                  	ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded   ScheduleLambdaFunctionFailedCause = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"
                                                                                                                                                                                                  	ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded ScheduleLambdaFunctionFailedCause = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED"
                                                                                                                                                                                                  	ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion  ScheduleLambdaFunctionFailedCause = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"
                                                                                                                                                                                                  )

                                                                                                                                                                                                    Enum values for ScheduleLambdaFunctionFailedCause

                                                                                                                                                                                                    func (ScheduleLambdaFunctionFailedCause) Values

                                                                                                                                                                                                      Values returns all known values for ScheduleLambdaFunctionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                                      type ScheduleLambdaFunctionFailedEventAttributes

                                                                                                                                                                                                      type ScheduleLambdaFunctionFailedEventAttributes struct {
                                                                                                                                                                                                      
                                                                                                                                                                                                      	// 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 it lacked sufficient
                                                                                                                                                                                                      	// permissions. For details and example IAM policies, see Using IAM to Manage
                                                                                                                                                                                                      	// Access to Amazon SWF Workflows
                                                                                                                                                                                                      	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                                                                                      	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                      	//
                                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                                      	Cause ScheduleLambdaFunctionFailedCause
                                                                                                                                                                                                      
                                                                                                                                                                                                      	// The ID of the LambdaFunctionCompleted event corresponding to the decision that
                                                                                                                                                                                                      	// resulted in scheduling this Lambda task. To help diagnose issues, use this
                                                                                                                                                                                                      	// information to trace back the chain of events leading up to this event.
                                                                                                                                                                                                      	//
                                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                                      	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                      
                                                                                                                                                                                                      	// The ID provided in the ScheduleLambdaFunction decision that failed.
                                                                                                                                                                                                      	//
                                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                                      	Id *string
                                                                                                                                                                                                      
                                                                                                                                                                                                      	// The name of the Lambda function.
                                                                                                                                                                                                      	//
                                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                                      	Name *string
                                                                                                                                                                                                      }

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

                                                                                                                                                                                                        type SignalExternalWorkflowExecutionDecisionAttributes

                                                                                                                                                                                                        type SignalExternalWorkflowExecutionDecisionAttributes struct {
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// The name of the signal.The target workflow execution uses the signal name and
                                                                                                                                                                                                        	// input to process the signal.
                                                                                                                                                                                                        	//
                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                        	SignalName *string
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// The workflowId of the workflow execution to be signaled.
                                                                                                                                                                                                        	//
                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                        	WorkflowId *string
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// The data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                                                        	// decision tasks.
                                                                                                                                                                                                        	Control *string
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// The input data to be provided with the signal. The target workflow execution
                                                                                                                                                                                                        	// uses the signal name and input data to process the signal.
                                                                                                                                                                                                        	Input *string
                                                                                                                                                                                                        
                                                                                                                                                                                                        	// The runId of the workflow execution to be signaled.
                                                                                                                                                                                                        	RunId *string
                                                                                                                                                                                                        }

                                                                                                                                                                                                          Provides the details of the SignalExternalWorkflowExecution decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                                                                                                                                                          * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                                                                                                                                                          * Use an Action element to allow or deny permission to call this action.

                                                                                                                                                                                                          * You cannot use an IAM policy to constrain this action's parameters.

                                                                                                                                                                                                          If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                                                                                                                                          type SignalExternalWorkflowExecutionFailedCause

                                                                                                                                                                                                          type SignalExternalWorkflowExecutionFailedCause string
                                                                                                                                                                                                          const (
                                                                                                                                                                                                          	SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution            SignalExternalWorkflowExecutionFailedCause = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"
                                                                                                                                                                                                          	SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded SignalExternalWorkflowExecutionFailedCause = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"
                                                                                                                                                                                                          	SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted                       SignalExternalWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
                                                                                                                                                                                                          )

                                                                                                                                                                                                            Enum values for SignalExternalWorkflowExecutionFailedCause

                                                                                                                                                                                                            func (SignalExternalWorkflowExecutionFailedCause) Values

                                                                                                                                                                                                              Values returns all known values for SignalExternalWorkflowExecutionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                                              type SignalExternalWorkflowExecutionFailedEventAttributes

                                                                                                                                                                                                              type SignalExternalWorkflowExecutionFailedEventAttributes struct {
                                                                                                                                                                                                              
                                                                                                                                                                                                              	// The cause of the failure. This information is generated by the system and can be
                                                                                                                                                                                                              	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                                                                                                                                                              	// decision failed because it lacked sufficient permissions. For details and
                                                                                                                                                                                                              	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                                                                                                                                                              	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                                                                                              	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                              	//
                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                              	Cause SignalExternalWorkflowExecutionFailedCause
                                                                                                                                                                                                              
                                                                                                                                                                                                              	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                              	// that resulted in the SignalExternalWorkflowExecution decision for this signal.
                                                                                                                                                                                                              	// This information can be useful for diagnosing problems by tracing back the chain
                                                                                                                                                                                                              	// of events leading up to this event.
                                                                                                                                                                                                              	//
                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                              	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                              
                                                                                                                                                                                                              	// The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to
                                                                                                                                                                                                              	// the SignalExternalWorkflowExecution decision to request this signal. This
                                                                                                                                                                                                              	// information can be useful for diagnosing problems by tracing back the chain of
                                                                                                                                                                                                              	// events leading up to this event.
                                                                                                                                                                                                              	//
                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                              	InitiatedEventId int64
                                                                                                                                                                                                              
                                                                                                                                                                                                              	// The workflowId of the external workflow execution that the signal was being
                                                                                                                                                                                                              	// delivered to.
                                                                                                                                                                                                              	//
                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                              	WorkflowId *string
                                                                                                                                                                                                              
                                                                                                                                                                                                              	// The data attached to the event that the decider can use in subsequent workflow
                                                                                                                                                                                                              	// tasks. This data isn't sent to the workflow execution.
                                                                                                                                                                                                              	Control *string
                                                                                                                                                                                                              
                                                                                                                                                                                                              	// The runId of the external workflow execution that the signal was being delivered
                                                                                                                                                                                                              	// to.
                                                                                                                                                                                                              	RunId *string
                                                                                                                                                                                                              }

                                                                                                                                                                                                                Provides the details of the SignalExternalWorkflowExecutionFailed event.

                                                                                                                                                                                                                type SignalExternalWorkflowExecutionInitiatedEventAttributes

                                                                                                                                                                                                                type SignalExternalWorkflowExecutionInitiatedEventAttributes struct {
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                                	// that resulted in the SignalExternalWorkflowExecution decision for this signal.
                                                                                                                                                                                                                	// This information can be useful for diagnosing problems by tracing back the chain
                                                                                                                                                                                                                	// of events leading up to this event.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                                	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// The name of the signal.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                                	SignalName *string
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// The workflowId of the external workflow execution.
                                                                                                                                                                                                                	//
                                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                                	WorkflowId *string
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// Data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                                                                	// decision tasks.
                                                                                                                                                                                                                	Control *string
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// The input provided to the signal.
                                                                                                                                                                                                                	Input *string
                                                                                                                                                                                                                
                                                                                                                                                                                                                	// The runId of the external workflow execution to send the signal to.
                                                                                                                                                                                                                	RunId *string
                                                                                                                                                                                                                }

                                                                                                                                                                                                                  Provides the details of the SignalExternalWorkflowExecutionInitiated event.

                                                                                                                                                                                                                  type StartChildWorkflowExecutionDecisionAttributes

                                                                                                                                                                                                                  type StartChildWorkflowExecutionDecisionAttributes struct {
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The workflowId of the workflow execution. The specified string must not start or
                                                                                                                                                                                                                  	// end with whitespace. It must not contain a : (colon), / (slash), | (vertical
                                                                                                                                                                                                                  	// bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must
                                                                                                                                                                                                                  	// not contain the literal string arn.
                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                  	WorkflowId *string
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The type of the workflow execution to be started.
                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                  	WorkflowType *WorkflowType
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// If set, specifies the policy to use for the child workflow executions if the
                                                                                                                                                                                                                  	// workflow execution being started is terminated by calling the
                                                                                                                                                                                                                  	// TerminateWorkflowExecution action explicitly or due to an expired timeout. This
                                                                                                                                                                                                                  	// policy overrides the default child policy specified when registering the
                                                                                                                                                                                                                  	// workflow type using RegisterWorkflowType. The supported child policies are:
                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                  	// *
                                                                                                                                                                                                                  	// TERMINATE – The child executions are terminated.
                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                  	// * REQUEST_CANCEL – A request
                                                                                                                                                                                                                  	// to cancel is attempted for each child execution by recording a
                                                                                                                                                                                                                  	// WorkflowExecutionCancelRequested event in its history. It is up to the decider
                                                                                                                                                                                                                  	// to take appropriate actions when it receives an execution history with this
                                                                                                                                                                                                                  	// event.
                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                  	// * ABANDON – No action is taken. The child executions continue to run.
                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                  	// A
                                                                                                                                                                                                                  	// child policy for this workflow execution must be specified either as a default
                                                                                                                                                                                                                  	// for the workflow type or through this parameter. If neither this parameter is
                                                                                                                                                                                                                  	// set nor a default child policy was specified at registration time then a fault
                                                                                                                                                                                                                  	// is returned.
                                                                                                                                                                                                                  	ChildPolicy ChildPolicy
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                                                                  	// workflow tasks. This data isn't sent to the child workflow execution.
                                                                                                                                                                                                                  	Control *string
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The total duration for this workflow execution. This overrides the
                                                                                                                                                                                                                  	// defaultExecutionStartToCloseTimeout specified when registering the workflow
                                                                                                                                                                                                                  	// type. The duration is specified in seconds, an integer greater than or equal to
                                                                                                                                                                                                                  	// 0. You can use NONE to specify unlimited duration. An execution start-to-close
                                                                                                                                                                                                                  	// timeout for this workflow execution must be specified either as a default for
                                                                                                                                                                                                                  	// the workflow type or through this parameter. If neither this parameter is set
                                                                                                                                                                                                                  	// nor a default execution start-to-close timeout was specified at registration
                                                                                                                                                                                                                  	// time then a fault is returned.
                                                                                                                                                                                                                  	ExecutionStartToCloseTimeout *string
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The input to be provided to the workflow execution.
                                                                                                                                                                                                                  	Input *string
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The IAM role attached to the child workflow execution.
                                                                                                                                                                                                                  	LambdaRole *string
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The list of tags to associate with the child workflow execution. A maximum of 5
                                                                                                                                                                                                                  	// tags can be specified. You can list workflow executions with a specific tag by
                                                                                                                                                                                                                  	// calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and
                                                                                                                                                                                                                  	// specifying a TagFilter.
                                                                                                                                                                                                                  	TagList []string
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// The name of the task list to be used for decision tasks of the child workflow
                                                                                                                                                                                                                  	// execution. A task list for this workflow execution must be specified either as a
                                                                                                                                                                                                                  	// default for the workflow type or through this parameter. If neither this
                                                                                                                                                                                                                  	// parameter is set nor a default task list was specified at registration time then
                                                                                                                                                                                                                  	// a fault is returned. The specified string must not start or end with whitespace.
                                                                                                                                                                                                                  	// It must not contain a : (colon), / (slash), | (vertical bar), or any control
                                                                                                                                                                                                                  	// characters (\u0000-\u001f | \u007f-\u009f). Also, it must not contain the
                                                                                                                                                                                                                  	// literal string arn.
                                                                                                                                                                                                                  	TaskList *TaskList
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// A task priority that, if set, specifies the priority for a decision task of this
                                                                                                                                                                                                                  	// workflow execution. This overrides the defaultTaskPriority specified when
                                                                                                                                                                                                                  	// registering the workflow type. Valid values are integers that range from Java's
                                                                                                                                                                                                                  	// Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
                                                                                                                                                                                                                  	// numbers indicate higher priority. For more information about setting task
                                                                                                                                                                                                                  	// priority, see Setting Task Priority
                                                                                                                                                                                                                  	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
                                                                                                                                                                                                                  	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                                  	TaskPriority *string
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  	// Specifies the maximum duration of decision tasks for this workflow execution.
                                                                                                                                                                                                                  	// This parameter overrides the defaultTaskStartToCloseTimout specified when
                                                                                                                                                                                                                  	// registering the workflow type using RegisterWorkflowType. The duration is
                                                                                                                                                                                                                  	// specified in seconds, an integer greater than or equal to 0. You can use NONE to
                                                                                                                                                                                                                  	// specify unlimited duration. A task start-to-close timeout for this workflow
                                                                                                                                                                                                                  	// execution must be specified either as a default for the workflow type or through
                                                                                                                                                                                                                  	// this parameter. If neither this parameter is set nor a default task
                                                                                                                                                                                                                  	// start-to-close timeout was specified at registration time then a fault is
                                                                                                                                                                                                                  	// returned.
                                                                                                                                                                                                                  	TaskStartToCloseTimeout *string
                                                                                                                                                                                                                  }

                                                                                                                                                                                                                    Provides the details of the StartChildWorkflowExecution decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                                                                                                                                                                    * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                                                                                                                                                                    * Use an Action element to allow or deny permission to call this action.

                                                                                                                                                                                                                    * Constrain the following parameters by using a Condition element with the appropriate keys.

                                                                                                                                                                                                                    * tagList.member.N – The key is "swf:tagList.N" where N is the tag number from 0 to 4, inclusive.

                                                                                                                                                                                                                    * taskList – String constraint. The key is swf:taskList.name.

                                                                                                                                                                                                                    * workflowType.name – String constraint. The key is swf:workflowType.name.

                                                                                                                                                                                                                    * workflowType.version – String constraint. The key is swf:workflowType.version.

                                                                                                                                                                                                                    If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                                                                                                                                                    type StartChildWorkflowExecutionFailedCause

                                                                                                                                                                                                                    type StartChildWorkflowExecutionFailedCause string
                                                                                                                                                                                                                    const (
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist                     StartChildWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DOES_NOT_EXIST"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated                       StartChildWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DEPRECATED"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded                    StartChildWorkflowExecutionFailedCause = "OPEN_CHILDREN_LIMIT_EXCEEDED"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded                   StartChildWorkflowExecutionFailedCause = "OPEN_WORKFLOWS_LIMIT_EXCEEDED"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded                    StartChildWorkflowExecutionFailedCause = "CHILD_CREATION_RATE_EXCEEDED"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning                       StartChildWorkflowExecutionFailedCause = "WORKFLOW_ALREADY_RUNNING"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined StartChildWorkflowExecutionFailedCause = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined                     StartChildWorkflowExecutionFailedCause = "DEFAULT_TASK_LIST_UNDEFINED"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined      StartChildWorkflowExecutionFailedCause = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined                  StartChildWorkflowExecutionFailedCause = "DEFAULT_CHILD_POLICY_UNDEFINED"
                                                                                                                                                                                                                    	StartChildWorkflowExecutionFailedCauseOperationNotPermitted                        StartChildWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED"
                                                                                                                                                                                                                    )

                                                                                                                                                                                                                      Enum values for StartChildWorkflowExecutionFailedCause

                                                                                                                                                                                                                      func (StartChildWorkflowExecutionFailedCause) Values

                                                                                                                                                                                                                        Values returns all known values for StartChildWorkflowExecutionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                                                        type StartChildWorkflowExecutionFailedEventAttributes

                                                                                                                                                                                                                        type StartChildWorkflowExecutionFailedEventAttributes struct {
                                                                                                                                                                                                                        
                                                                                                                                                                                                                        	// The cause of the failure. This information is generated by the system and can be
                                                                                                                                                                                                                        	// useful for diagnostic purposes. When cause is set to OPERATION_NOT_PERMITTED,
                                                                                                                                                                                                                        	// the decision fails because it lacks sufficient permissions. For details and
                                                                                                                                                                                                                        	// example IAM policies, see  Using IAM to Manage Access to Amazon SWF Workflows
                                                                                                                                                                                                                        	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                                                                                                        	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                        	Cause StartChildWorkflowExecutionFailedCause
                                                                                                                                                                                                                        
                                                                                                                                                                                                                        	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                                        	// that resulted in the StartChildWorkflowExecutionDecision to request this child
                                                                                                                                                                                                                        	// workflow execution. This information can be useful for diagnosing problems by
                                                                                                                                                                                                                        	// tracing back the chain of events.
                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                        	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                        
                                                                                                                                                                                                                        	// When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the
                                                                                                                                                                                                                        	// StartChildWorkflowExecutionInitiated event that corresponds to the
                                                                                                                                                                                                                        	// StartChildWorkflowExecutionDecision to start the workflow execution. You can use
                                                                                                                                                                                                                        	// this information to diagnose problems by tracing back the chain of events
                                                                                                                                                                                                                        	// leading up to this event. When the cause isn't WORKFLOW_ALREADY_RUNNING,
                                                                                                                                                                                                                        	// initiatedEventId is set to 0 because the StartChildWorkflowExecutionInitiated
                                                                                                                                                                                                                        	// event doesn't exist.
                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                        	InitiatedEventId int64
                                                                                                                                                                                                                        
                                                                                                                                                                                                                        	// The workflowId of the child workflow execution.
                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                        	WorkflowId *string
                                                                                                                                                                                                                        
                                                                                                                                                                                                                        	// The workflow type provided in the StartChildWorkflowExecutionDecision that
                                                                                                                                                                                                                        	// failed.
                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                        	WorkflowType *WorkflowType
                                                                                                                                                                                                                        
                                                                                                                                                                                                                        	// The data attached to the event that the decider can use in subsequent workflow
                                                                                                                                                                                                                        	// tasks. This data isn't sent to the child workflow execution.
                                                                                                                                                                                                                        	Control *string
                                                                                                                                                                                                                        }

                                                                                                                                                                                                                          Provides the details of the StartChildWorkflowExecutionFailed event.

                                                                                                                                                                                                                          type StartChildWorkflowExecutionInitiatedEventAttributes

                                                                                                                                                                                                                          type StartChildWorkflowExecutionInitiatedEventAttributes struct {
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The policy to use for the child workflow executions if this execution gets
                                                                                                                                                                                                                          	// terminated by explicitly calling the TerminateWorkflowExecution action or due to
                                                                                                                                                                                                                          	// an expired timeout. The supported child policies are:
                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                          	// * TERMINATE – The child
                                                                                                                                                                                                                          	// executions are terminated.
                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                          	// * REQUEST_CANCEL – A request to cancel is attempted
                                                                                                                                                                                                                          	// for each child execution by recording a WorkflowExecutionCancelRequested event
                                                                                                                                                                                                                          	// in its history. It is up to the decider to take appropriate actions when it
                                                                                                                                                                                                                          	// receives an execution history with this event.
                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                          	// * ABANDON – No action is taken.
                                                                                                                                                                                                                          	// The child executions continue to run.
                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                          	ChildPolicy ChildPolicy
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                                          	// that resulted in the StartChildWorkflowExecutionDecision to request this child
                                                                                                                                                                                                                          	// workflow execution. This information can be useful for diagnosing problems by
                                                                                                                                                                                                                          	// tracing back the cause of events.
                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                          	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The name of the task list used for the decision tasks of the child workflow
                                                                                                                                                                                                                          	// execution.
                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                          	TaskList *TaskList
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The workflowId of the child workflow execution.
                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                          	WorkflowId *string
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The type of the child workflow execution.
                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                          	WorkflowType *WorkflowType
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// Data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                                                                          	// decision tasks. This data isn't sent to the activity.
                                                                                                                                                                                                                          	Control *string
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The maximum duration for the child workflow execution. If the workflow execution
                                                                                                                                                                                                                          	// isn't closed within this duration, it is timed out and force-terminated. The
                                                                                                                                                                                                                          	// duration is specified in seconds, an integer greater than or equal to 0. You can
                                                                                                                                                                                                                          	// use NONE to specify unlimited duration.
                                                                                                                                                                                                                          	ExecutionStartToCloseTimeout *string
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The inputs provided to the child workflow execution.
                                                                                                                                                                                                                          	Input *string
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The IAM role to attach to the child workflow execution.
                                                                                                                                                                                                                          	LambdaRole *string
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The list of tags to associated with the child workflow execution.
                                                                                                                                                                                                                          	TagList []string
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The priority assigned for the decision tasks for this workflow execution. Valid
                                                                                                                                                                                                                          	// values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to
                                                                                                                                                                                                                          	// Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For
                                                                                                                                                                                                                          	// more information about setting task priority, see Setting Task Priority
                                                                                                                                                                                                                          	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
                                                                                                                                                                                                                          	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                                          	TaskPriority *string
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          	// The maximum duration allowed for the decision tasks for this workflow execution.
                                                                                                                                                                                                                          	// The duration is specified in seconds, an integer greater than or equal to 0. You
                                                                                                                                                                                                                          	// can use NONE to specify unlimited duration.
                                                                                                                                                                                                                          	TaskStartToCloseTimeout *string
                                                                                                                                                                                                                          }

                                                                                                                                                                                                                            Provides the details of the StartChildWorkflowExecutionInitiated event.

                                                                                                                                                                                                                            type StartLambdaFunctionFailedCause

                                                                                                                                                                                                                            type StartLambdaFunctionFailedCause string
                                                                                                                                                                                                                            const (
                                                                                                                                                                                                                            	StartLambdaFunctionFailedCauseAssumeRoleFailed StartLambdaFunctionFailedCause = "ASSUME_ROLE_FAILED"
                                                                                                                                                                                                                            )

                                                                                                                                                                                                                              Enum values for StartLambdaFunctionFailedCause

                                                                                                                                                                                                                              func (StartLambdaFunctionFailedCause) Values

                                                                                                                                                                                                                                Values returns all known values for StartLambdaFunctionFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                                                                type StartLambdaFunctionFailedEventAttributes

                                                                                                                                                                                                                                type StartLambdaFunctionFailedEventAttributes struct {
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                	// 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.
                                                                                                                                                                                                                                	Cause StartLambdaFunctionFailedCause
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                	// A description that can help diagnose the cause of the fault.
                                                                                                                                                                                                                                	Message *string
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                	// 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.
                                                                                                                                                                                                                                	ScheduledEventId int64
                                                                                                                                                                                                                                }

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

                                                                                                                                                                                                                                  type StartTimerDecisionAttributes

                                                                                                                                                                                                                                  type StartTimerDecisionAttributes struct {
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  	// The duration to wait before firing the timer. The duration is specified in
                                                                                                                                                                                                                                  	// seconds, an integer greater than or equal to 0.
                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                  	StartToFireTimeout *string
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  	// The unique ID of the timer. The specified string must not start or end with
                                                                                                                                                                                                                                  	// whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any
                                                                                                                                                                                                                                  	// control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not contain
                                                                                                                                                                                                                                  	// the literal string arn.
                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                  	TimerId *string
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                  	// The data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                                                                                  	// workflow tasks.
                                                                                                                                                                                                                                  	Control *string
                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                    Provides the details of the StartTimer decision. Access Control You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

                                                                                                                                                                                                                                    * Use a Resource element with the domain name to limit the action to only specified domains.

                                                                                                                                                                                                                                    * Use an Action element to allow or deny permission to call this action.

                                                                                                                                                                                                                                    * You cannot use an IAM policy to constrain this action's parameters.

                                                                                                                                                                                                                                    If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) in the Amazon SWF Developer Guide.

                                                                                                                                                                                                                                    type StartTimerFailedCause

                                                                                                                                                                                                                                    type StartTimerFailedCause string
                                                                                                                                                                                                                                    const (
                                                                                                                                                                                                                                    	StartTimerFailedCauseTimerIdAlreadyInUse       StartTimerFailedCause = "TIMER_ID_ALREADY_IN_USE"
                                                                                                                                                                                                                                    	StartTimerFailedCauseOpenTimersLimitExceeded   StartTimerFailedCause = "OPEN_TIMERS_LIMIT_EXCEEDED"
                                                                                                                                                                                                                                    	StartTimerFailedCauseTimerCreationRateExceeded StartTimerFailedCause = "TIMER_CREATION_RATE_EXCEEDED"
                                                                                                                                                                                                                                    	StartTimerFailedCauseOperationNotPermitted     StartTimerFailedCause = "OPERATION_NOT_PERMITTED"
                                                                                                                                                                                                                                    )

                                                                                                                                                                                                                                      Enum values for StartTimerFailedCause

                                                                                                                                                                                                                                      func (StartTimerFailedCause) Values

                                                                                                                                                                                                                                        Values returns all known values for StartTimerFailedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                                                                        type StartTimerFailedEventAttributes

                                                                                                                                                                                                                                        type StartTimerFailedEventAttributes struct {
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        	// The cause of the failure. This information is generated by the system and can be
                                                                                                                                                                                                                                        	// useful for diagnostic purposes. If cause is set to OPERATION_NOT_PERMITTED, the
                                                                                                                                                                                                                                        	// decision failed because it lacked sufficient permissions. For details and
                                                                                                                                                                                                                                        	// example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows
                                                                                                                                                                                                                                        	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
                                                                                                                                                                                                                                        	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                                        	Cause StartTimerFailedCause
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        	// 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.
                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                                        	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        	// The timerId provided in the StartTimer decision that failed.
                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                                        	TimerId *string
                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                          Provides the details of the StartTimerFailed event.

                                                                                                                                                                                                                                          type TagFilter

                                                                                                                                                                                                                                          type TagFilter struct {
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          	// Specifies the tag that must be associated with the execution for it to meet the
                                                                                                                                                                                                                                          	// filter criteria. Tags may only contain unicode letters, digits, whitespace, or
                                                                                                                                                                                                                                          	// these symbols: _ . : / = + - @.
                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                                          	Tag *string
                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                            Used to filter the workflow executions in visibility APIs based on a tag.

                                                                                                                                                                                                                                            type TaskList

                                                                                                                                                                                                                                            type TaskList struct {
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            	// The name of the task list.
                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                            	Name *string
                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                              Represents a task list.

                                                                                                                                                                                                                                              type TimerCanceledEventAttributes

                                                                                                                                                                                                                                              type TimerCanceledEventAttributes struct {
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                                                              	// that resulted in the CancelTimer decision to cancel this timer. This information
                                                                                                                                                                                                                                              	// can be useful for diagnosing problems by tracing back the chain of events
                                                                                                                                                                                                                                              	// leading up to this event.
                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                                                              	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              	// The ID of the TimerStarted event that was recorded when this timer was started.
                                                                                                                                                                                                                                              	// This information can be useful for diagnosing problems by tracing back the chain
                                                                                                                                                                                                                                              	// of events leading up to this event.
                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                                                              	StartedEventId int64
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              	// The unique ID of the timer that was canceled.
                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                                                              	TimerId *string
                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                Provides the details of the TimerCanceled event.

                                                                                                                                                                                                                                                type TimerFiredEventAttributes

                                                                                                                                                                                                                                                type TimerFiredEventAttributes struct {
                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                	// The ID of the TimerStarted event that was recorded when this timer was started.
                                                                                                                                                                                                                                                	// This information can be useful for diagnosing problems by tracing back the chain
                                                                                                                                                                                                                                                	// of events leading up to this event.
                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                                                                	StartedEventId int64
                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                	// The unique ID of the timer that fired.
                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                                                                	TimerId *string
                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                  Provides the details of the TimerFired event.

                                                                                                                                                                                                                                                  type TimerStartedEventAttributes

                                                                                                                                                                                                                                                  type TimerStartedEventAttributes struct {
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  	// 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.
                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                                  	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  	// The duration of time after which the timer fires. The duration is specified in
                                                                                                                                                                                                                                                  	// seconds, an integer greater than or equal to 0.
                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                                  	StartToFireTimeout *string
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  	// The unique ID of the timer that was started.
                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                                  	TimerId *string
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  	// Data attached to the event that can be used by the decider in subsequent
                                                                                                                                                                                                                                                  	// workflow tasks.
                                                                                                                                                                                                                                                  	Control *string
                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                    Provides the details of the TimerStarted event.

                                                                                                                                                                                                                                                    type TooManyTagsFault

                                                                                                                                                                                                                                                    type TooManyTagsFault struct {
                                                                                                                                                                                                                                                    	Message *string
                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                      You've exceeded the number of tags allowed for a domain.

                                                                                                                                                                                                                                                      func (*TooManyTagsFault) Error

                                                                                                                                                                                                                                                      func (e *TooManyTagsFault) Error() string

                                                                                                                                                                                                                                                      func (*TooManyTagsFault) ErrorCode

                                                                                                                                                                                                                                                      func (e *TooManyTagsFault) ErrorCode() string

                                                                                                                                                                                                                                                      func (*TooManyTagsFault) ErrorFault

                                                                                                                                                                                                                                                      func (e *TooManyTagsFault) ErrorFault() smithy.ErrorFault

                                                                                                                                                                                                                                                      func (*TooManyTagsFault) ErrorMessage

                                                                                                                                                                                                                                                      func (e *TooManyTagsFault) ErrorMessage() string

                                                                                                                                                                                                                                                      type TypeAlreadyExistsFault

                                                                                                                                                                                                                                                      type TypeAlreadyExistsFault struct {
                                                                                                                                                                                                                                                      	Message *string
                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                        Returned if the type already exists in the specified domain. You may get this fault if you are registering a type that is either already registered or deprecated, or if you undeprecate a type that is currently registered.

                                                                                                                                                                                                                                                        func (*TypeAlreadyExistsFault) Error

                                                                                                                                                                                                                                                        func (e *TypeAlreadyExistsFault) Error() string

                                                                                                                                                                                                                                                        func (*TypeAlreadyExistsFault) ErrorCode

                                                                                                                                                                                                                                                        func (e *TypeAlreadyExistsFault) ErrorCode() string

                                                                                                                                                                                                                                                        func (*TypeAlreadyExistsFault) ErrorFault

                                                                                                                                                                                                                                                        func (e *TypeAlreadyExistsFault) ErrorFault() smithy.ErrorFault

                                                                                                                                                                                                                                                        func (*TypeAlreadyExistsFault) ErrorMessage

                                                                                                                                                                                                                                                        func (e *TypeAlreadyExistsFault) ErrorMessage() string

                                                                                                                                                                                                                                                        type TypeDeprecatedFault

                                                                                                                                                                                                                                                        type TypeDeprecatedFault struct {
                                                                                                                                                                                                                                                        	Message *string
                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                          Returned when the specified activity or workflow type was already deprecated.

                                                                                                                                                                                                                                                          func (*TypeDeprecatedFault) Error

                                                                                                                                                                                                                                                          func (e *TypeDeprecatedFault) Error() string

                                                                                                                                                                                                                                                          func (*TypeDeprecatedFault) ErrorCode

                                                                                                                                                                                                                                                          func (e *TypeDeprecatedFault) ErrorCode() string

                                                                                                                                                                                                                                                          func (*TypeDeprecatedFault) ErrorFault

                                                                                                                                                                                                                                                          func (e *TypeDeprecatedFault) ErrorFault() smithy.ErrorFault

                                                                                                                                                                                                                                                          func (*TypeDeprecatedFault) ErrorMessage

                                                                                                                                                                                                                                                          func (e *TypeDeprecatedFault) ErrorMessage() string

                                                                                                                                                                                                                                                          type UnknownResourceFault

                                                                                                                                                                                                                                                          type UnknownResourceFault struct {
                                                                                                                                                                                                                                                          	Message *string
                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                            Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

                                                                                                                                                                                                                                                            func (*UnknownResourceFault) Error

                                                                                                                                                                                                                                                            func (e *UnknownResourceFault) Error() string

                                                                                                                                                                                                                                                            func (*UnknownResourceFault) ErrorCode

                                                                                                                                                                                                                                                            func (e *UnknownResourceFault) ErrorCode() string

                                                                                                                                                                                                                                                            func (*UnknownResourceFault) ErrorFault

                                                                                                                                                                                                                                                            func (e *UnknownResourceFault) ErrorFault() smithy.ErrorFault

                                                                                                                                                                                                                                                            func (*UnknownResourceFault) ErrorMessage

                                                                                                                                                                                                                                                            func (e *UnknownResourceFault) ErrorMessage() string

                                                                                                                                                                                                                                                            type WorkflowExecution

                                                                                                                                                                                                                                                            type WorkflowExecution struct {
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// A system-generated unique identifier for the workflow execution.
                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                            	RunId *string
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// The user defined identifier associated with the workflow execution.
                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                            	WorkflowId *string
                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                              Represents a workflow execution.

                                                                                                                                                                                                                                                              type WorkflowExecutionAlreadyStartedFault

                                                                                                                                                                                                                                                              type WorkflowExecutionAlreadyStartedFault struct {
                                                                                                                                                                                                                                                              	Message *string
                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                Returned by StartWorkflowExecution when an open execution with the same workflowId is already running in the specified domain.

                                                                                                                                                                                                                                                                func (*WorkflowExecutionAlreadyStartedFault) Error

                                                                                                                                                                                                                                                                func (*WorkflowExecutionAlreadyStartedFault) ErrorCode

                                                                                                                                                                                                                                                                func (*WorkflowExecutionAlreadyStartedFault) ErrorFault

                                                                                                                                                                                                                                                                func (*WorkflowExecutionAlreadyStartedFault) ErrorMessage

                                                                                                                                                                                                                                                                func (e *WorkflowExecutionAlreadyStartedFault) ErrorMessage() string

                                                                                                                                                                                                                                                                type WorkflowExecutionCancelRequestedCause

                                                                                                                                                                                                                                                                type WorkflowExecutionCancelRequestedCause string
                                                                                                                                                                                                                                                                const (
                                                                                                                                                                                                                                                                	WorkflowExecutionCancelRequestedCauseChildPolicyApplied WorkflowExecutionCancelRequestedCause = "CHILD_POLICY_APPLIED"
                                                                                                                                                                                                                                                                )

                                                                                                                                                                                                                                                                  Enum values for WorkflowExecutionCancelRequestedCause

                                                                                                                                                                                                                                                                  func (WorkflowExecutionCancelRequestedCause) Values

                                                                                                                                                                                                                                                                    Values returns all known values for WorkflowExecutionCancelRequestedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                                                                                                    type WorkflowExecutionCancelRequestedEventAttributes

                                                                                                                                                                                                                                                                    type WorkflowExecutionCancelRequestedEventAttributes struct {
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// If set, indicates that the request to cancel the workflow execution was
                                                                                                                                                                                                                                                                    	// automatically generated, and specifies the cause. This happens if the parent
                                                                                                                                                                                                                                                                    	// workflow execution times out or is terminated, and the child policy is set to
                                                                                                                                                                                                                                                                    	// cancel child executions.
                                                                                                                                                                                                                                                                    	Cause WorkflowExecutionCancelRequestedCause
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// The ID of the RequestCancelExternalWorkflowExecutionInitiated event
                                                                                                                                                                                                                                                                    	// corresponding to the RequestCancelExternalWorkflowExecution decision to cancel
                                                                                                                                                                                                                                                                    	// this workflow execution.The source event with this ID can be found in the
                                                                                                                                                                                                                                                                    	// history of the source workflow execution. This information can be useful for
                                                                                                                                                                                                                                                                    	// diagnosing problems by tracing back the chain of events leading up to this
                                                                                                                                                                                                                                                                    	// event.
                                                                                                                                                                                                                                                                    	ExternalInitiatedEventId int64
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// The external workflow execution for which the cancellation was requested.
                                                                                                                                                                                                                                                                    	ExternalWorkflowExecution *WorkflowExecution
                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                      Provides the details of the WorkflowExecutionCancelRequested event.

                                                                                                                                                                                                                                                                      type WorkflowExecutionCanceledEventAttributes

                                                                                                                                                                                                                                                                      type WorkflowExecutionCanceledEventAttributes struct {
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                                                                                      	// that resulted in the CancelWorkflowExecution decision for this cancellation
                                                                                                                                                                                                                                                                      	// request. This information can be useful for diagnosing problems by tracing back
                                                                                                                                                                                                                                                                      	// the chain of events leading up to this event.
                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                                                                                                      	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// The details of the cancellation.
                                                                                                                                                                                                                                                                      	Details *string
                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                        Provides the details of the WorkflowExecutionCanceled event.

                                                                                                                                                                                                                                                                        type WorkflowExecutionCompletedEventAttributes

                                                                                                                                                                                                                                                                        type WorkflowExecutionCompletedEventAttributes struct {
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                                                                                        	// that resulted in the CompleteWorkflowExecution decision to complete this
                                                                                                                                                                                                                                                                        	// execution. This information can be useful for diagnosing problems by tracing
                                                                                                                                                                                                                                                                        	// back the chain of events leading up to this event.
                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                                                                        	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// The result produced by the workflow execution upon successful completion.
                                                                                                                                                                                                                                                                        	Result *string
                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                          Provides the details of the WorkflowExecutionCompleted event.

                                                                                                                                                                                                                                                                          type WorkflowExecutionConfiguration

                                                                                                                                                                                                                                                                          type WorkflowExecutionConfiguration struct {
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// The policy to use for the child workflow executions if this workflow execution
                                                                                                                                                                                                                                                                          	// is terminated, by calling the TerminateWorkflowExecution action explicitly or
                                                                                                                                                                                                                                                                          	// due to an expired timeout. The supported child policies are:
                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                          	// * TERMINATE – The
                                                                                                                                                                                                                                                                          	// child executions are terminated.
                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                          	// * REQUEST_CANCEL – A request to cancel is
                                                                                                                                                                                                                                                                          	// attempted for each child execution by recording a
                                                                                                                                                                                                                                                                          	// WorkflowExecutionCancelRequested event in its history. It is up to the decider
                                                                                                                                                                                                                                                                          	// to take appropriate actions when it receives an execution history with this
                                                                                                                                                                                                                                                                          	// event.
                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                          	// * ABANDON – No action is taken. The child executions continue to run.
                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                                                                          	ChildPolicy ChildPolicy
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// The total duration for this workflow execution. The duration is specified in
                                                                                                                                                                                                                                                                          	// seconds, an integer greater than or equal to 0. You can use NONE to specify
                                                                                                                                                                                                                                                                          	// unlimited duration.
                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                                                                          	ExecutionStartToCloseTimeout *string
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// The task list used for the decision tasks generated for this workflow execution.
                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                                                                          	TaskList *TaskList
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// The maximum duration allowed for decision tasks for this workflow execution. The
                                                                                                                                                                                                                                                                          	// duration is specified in seconds, an integer greater than or equal to 0. You can
                                                                                                                                                                                                                                                                          	// use NONE to specify unlimited duration.
                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                                                                          	TaskStartToCloseTimeout *string
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// The IAM role attached to the child workflow execution.
                                                                                                                                                                                                                                                                          	LambdaRole *string
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// The priority assigned to decision tasks for this workflow execution. Valid
                                                                                                                                                                                                                                                                          	// values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to
                                                                                                                                                                                                                                                                          	// Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. For
                                                                                                                                                                                                                                                                          	// more information about setting task priority, see Setting Task Priority
                                                                                                                                                                                                                                                                          	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
                                                                                                                                                                                                                                                                          	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                                                                                          	TaskPriority *string
                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                            The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.

                                                                                                                                                                                                                                                                            type WorkflowExecutionContinuedAsNewEventAttributes

                                                                                                                                                                                                                                                                            type WorkflowExecutionContinuedAsNewEventAttributes struct {
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The policy to use for the child workflow executions of the new execution if it
                                                                                                                                                                                                                                                                            	// is terminated by calling the TerminateWorkflowExecution action explicitly or due
                                                                                                                                                                                                                                                                            	// to an expired timeout. The supported child policies are:
                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                            	// * TERMINATE – The
                                                                                                                                                                                                                                                                            	// child executions are terminated.
                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                            	// * REQUEST_CANCEL – A request to cancel is
                                                                                                                                                                                                                                                                            	// attempted for each child execution by recording a
                                                                                                                                                                                                                                                                            	// WorkflowExecutionCancelRequested event in its history. It is up to the decider
                                                                                                                                                                                                                                                                            	// to take appropriate actions when it receives an execution history with this
                                                                                                                                                                                                                                                                            	// event.
                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                            	// * ABANDON – No action is taken. The child executions continue to run.
                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                                            	ChildPolicy ChildPolicy
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                                                                                            	// that resulted in the ContinueAsNewWorkflowExecution decision that started this
                                                                                                                                                                                                                                                                            	// execution. This information can be useful for diagnosing problems by tracing
                                                                                                                                                                                                                                                                            	// back the chain of events leading up to this event.
                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                                            	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The runId of the new workflow execution.
                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                                            	NewExecutionRunId *string
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The task list to use for the decisions of the new (continued) workflow
                                                                                                                                                                                                                                                                            	// execution.
                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                                            	TaskList *TaskList
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The workflow type of this execution.
                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                                            	WorkflowType *WorkflowType
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The total duration allowed for the new workflow execution. The duration is
                                                                                                                                                                                                                                                                            	// specified in seconds, an integer greater than or equal to 0. You can use NONE to
                                                                                                                                                                                                                                                                            	// specify unlimited duration.
                                                                                                                                                                                                                                                                            	ExecutionStartToCloseTimeout *string
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The input provided to the new workflow execution.
                                                                                                                                                                                                                                                                            	Input *string
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The IAM role to attach to the new (continued) workflow execution.
                                                                                                                                                                                                                                                                            	LambdaRole *string
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The list of tags associated with the new workflow execution.
                                                                                                                                                                                                                                                                            	TagList []string
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The priority of the task to use for the decisions of the new (continued)
                                                                                                                                                                                                                                                                            	// workflow execution.
                                                                                                                                                                                                                                                                            	TaskPriority *string
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// The maximum duration of decision tasks for the new workflow execution. The
                                                                                                                                                                                                                                                                            	// duration is specified in seconds, an integer greater than or equal to 0. You can
                                                                                                                                                                                                                                                                            	// use NONE to specify unlimited duration.
                                                                                                                                                                                                                                                                            	TaskStartToCloseTimeout *string
                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                              Provides the details of the WorkflowExecutionContinuedAsNew event.

                                                                                                                                                                                                                                                                              type WorkflowExecutionFailedEventAttributes

                                                                                                                                                                                                                                                                              type WorkflowExecutionFailedEventAttributes struct {
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// The ID of the DecisionTaskCompleted event corresponding to the decision task
                                                                                                                                                                                                                                                                              	// that resulted in the FailWorkflowExecution decision to fail this execution. This
                                                                                                                                                                                                                                                                              	// information can be useful for diagnosing problems by tracing back the chain of
                                                                                                                                                                                                                                                                              	// events leading up to this event.
                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                                                                                              	DecisionTaskCompletedEventId int64
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// The details of the failure.
                                                                                                                                                                                                                                                                              	Details *string
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// The descriptive reason provided for the failure.
                                                                                                                                                                                                                                                                              	Reason *string
                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                Provides the details of the WorkflowExecutionFailed event.

                                                                                                                                                                                                                                                                                type WorkflowExecutionFilter

                                                                                                                                                                                                                                                                                type WorkflowExecutionFilter struct {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                	// The workflowId to pass of match the criteria of this filter.
                                                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                                                                                                	WorkflowId *string
                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                  Used to filter the workflow executions in visibility APIs by their workflowId.

                                                                                                                                                                                                                                                                                  type WorkflowExecutionInfo

                                                                                                                                                                                                                                                                                  type WorkflowExecutionInfo struct {
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// The workflow execution this information is about.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                                                                  	Execution *WorkflowExecution
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// The current status of the execution.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                                                                  	ExecutionStatus ExecutionStatus
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// The time when the execution was started.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                                                                  	StartTimestamp *time.Time
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// The type of the workflow execution.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// This member is required.
                                                                                                                                                                                                                                                                                  	WorkflowType *WorkflowType
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// Set to true if a cancellation is requested for this workflow execution.
                                                                                                                                                                                                                                                                                  	CancelRequested bool
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// If the execution status is closed then this specifies how the execution was
                                                                                                                                                                                                                                                                                  	// closed:
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// * COMPLETED – the execution was successfully completed.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// * CANCELED –
                                                                                                                                                                                                                                                                                  	// the execution was canceled.Cancellation allows the implementation to gracefully
                                                                                                                                                                                                                                                                                  	// clean up before the execution is closed.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// * TERMINATED – the execution was force
                                                                                                                                                                                                                                                                                  	// terminated.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// * FAILED – the execution failed to complete.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// * TIMED_OUT – the
                                                                                                                                                                                                                                                                                  	// execution did not complete in the alloted time and was automatically timed
                                                                                                                                                                                                                                                                                  	// out.
                                                                                                                                                                                                                                                                                  	//
                                                                                                                                                                                                                                                                                  	// * CONTINUED_AS_NEW – the execution is logically continued. This means the
                                                                                                                                                                                                                                                                                  	// current execution was completed and a new execution was started to carry on the
                                                                                                                                                                                                                                                                                  	// workflow.
                                                                                                                                                                                                                                                                                  	CloseStatus CloseStatus
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// The time when the workflow execution was closed. Set only if the execution
                                                                                                                                                                                                                                                                                  	// status is CLOSED.
                                                                                                                                                                                                                                                                                  	CloseTimestamp *time.Time
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// If this workflow execution is a child of another execution then contains the
                                                                                                                                                                                                                                                                                  	// workflow execution that started this execution.
                                                                                                                                                                                                                                                                                  	Parent *WorkflowExecution
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  	// The list of tags associated with the workflow execution. Tags can be used to
                                                                                                                                                                                                                                                                                  	// identify and list workflow executions of interest through the visibility APIs. A
                                                                                                                                                                                                                                                                                  	// workflow execution can have a maximum of 5 tags.
                                                                                                                                                                                                                                                                                  	TagList []string
                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                    Contains information about a workflow execution.

                                                                                                                                                                                                                                                                                    type WorkflowExecutionOpenCounts

                                                                                                                                                                                                                                                                                    type WorkflowExecutionOpenCounts struct {
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// The count of activity tasks whose status is OPEN.
                                                                                                                                                                                                                                                                                    	//
                                                                                                                                                                                                                                                                                    	// This member is required.
                                                                                                                                                                                                                                                                                    	OpenActivityTasks int32
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// The count of child workflow executions whose status is OPEN.
                                                                                                                                                                                                                                                                                    	//
                                                                                                                                                                                                                                                                                    	// This member is required.
                                                                                                                                                                                                                                                                                    	OpenChildWorkflowExecutions int32
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// The count of decision tasks whose status is OPEN. A workflow execution can have
                                                                                                                                                                                                                                                                                    	// at most one open decision task.
                                                                                                                                                                                                                                                                                    	//
                                                                                                                                                                                                                                                                                    	// This member is required.
                                                                                                                                                                                                                                                                                    	OpenDecisionTasks int32
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// The count of timers started by this workflow execution that have not fired yet.
                                                                                                                                                                                                                                                                                    	//
                                                                                                                                                                                                                                                                                    	// This member is required.
                                                                                                                                                                                                                                                                                    	OpenTimers int32
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                    	// The count of Lambda tasks whose status is OPEN.
                                                                                                                                                                                                                                                                                    	OpenLambdaFunctions int32
                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                      Contains the counts of open tasks, child workflow executions and timers for a workflow execution.

                                                                                                                                                                                                                                                                                      type WorkflowExecutionSignaledEventAttributes

                                                                                                                                                                                                                                                                                      type WorkflowExecutionSignaledEventAttributes struct {
                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                      	// The name of the signal received. The decider can use the signal name and inputs
                                                                                                                                                                                                                                                                                      	// to determine how to the process the signal.
                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                                                                                                                      	SignalName *string
                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                      	// The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to
                                                                                                                                                                                                                                                                                      	// the SignalExternalWorkflow decision to signal this workflow execution.The source
                                                                                                                                                                                                                                                                                      	// event with this ID can be found in the history of the source workflow execution.
                                                                                                                                                                                                                                                                                      	// This information can be useful for diagnosing problems by tracing back the chain
                                                                                                                                                                                                                                                                                      	// of events leading up to this event. This field is set only if the signal was
                                                                                                                                                                                                                                                                                      	// initiated by another workflow execution.
                                                                                                                                                                                                                                                                                      	ExternalInitiatedEventId int64
                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                      	// The workflow execution that sent the signal. This is set only of the signal was
                                                                                                                                                                                                                                                                                      	// sent by another workflow execution.
                                                                                                                                                                                                                                                                                      	ExternalWorkflowExecution *WorkflowExecution
                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                      	// The inputs provided with the signal. The decider can use the signal name and
                                                                                                                                                                                                                                                                                      	// inputs to determine how to process the signal.
                                                                                                                                                                                                                                                                                      	Input *string
                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                        Provides the details of the WorkflowExecutionSignaled event.

                                                                                                                                                                                                                                                                                        type WorkflowExecutionStartedEventAttributes

                                                                                                                                                                                                                                                                                        type WorkflowExecutionStartedEventAttributes struct {
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The policy to use for the child workflow executions if this workflow execution
                                                                                                                                                                                                                                                                                        	// is terminated, by calling the TerminateWorkflowExecution action explicitly or
                                                                                                                                                                                                                                                                                        	// due to an expired timeout. The supported child policies are:
                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                        	// * TERMINATE – The
                                                                                                                                                                                                                                                                                        	// child executions are terminated.
                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                        	// * REQUEST_CANCEL – A request to cancel is
                                                                                                                                                                                                                                                                                        	// attempted for each child execution by recording a
                                                                                                                                                                                                                                                                                        	// WorkflowExecutionCancelRequested event in its history. It is up to the decider
                                                                                                                                                                                                                                                                                        	// to take appropriate actions when it receives an execution history with this
                                                                                                                                                                                                                                                                                        	// event.
                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                        	// * ABANDON – No action is taken. The child executions continue to run.
                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                                                                                        	ChildPolicy ChildPolicy
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The name of the task list for scheduling the decision tasks for this workflow
                                                                                                                                                                                                                                                                                        	// execution.
                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                                                                                        	TaskList *TaskList
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The workflow type of this execution.
                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                        	// This member is required.
                                                                                                                                                                                                                                                                                        	WorkflowType *WorkflowType
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// If this workflow execution was started due to a ContinueAsNewWorkflowExecution
                                                                                                                                                                                                                                                                                        	// decision, then it contains the runId of the previous workflow execution that was
                                                                                                                                                                                                                                                                                        	// closed and continued as this execution.
                                                                                                                                                                                                                                                                                        	ContinuedExecutionRunId *string
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The maximum duration for this workflow execution. The duration is specified in
                                                                                                                                                                                                                                                                                        	// seconds, an integer greater than or equal to 0. You can use NONE to specify
                                                                                                                                                                                                                                                                                        	// unlimited duration.
                                                                                                                                                                                                                                                                                        	ExecutionStartToCloseTimeout *string
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The input provided to the workflow execution.
                                                                                                                                                                                                                                                                                        	Input *string
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The IAM role attached to the workflow execution.
                                                                                                                                                                                                                                                                                        	LambdaRole *string
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The ID of the StartChildWorkflowExecutionInitiated event corresponding to the
                                                                                                                                                                                                                                                                                        	// StartChildWorkflowExecutionDecision to start this workflow execution. The source
                                                                                                                                                                                                                                                                                        	// event with this ID can be found in the history of the source workflow execution.
                                                                                                                                                                                                                                                                                        	// This information can be useful for diagnosing problems by tracing back the chain
                                                                                                                                                                                                                                                                                        	// of events leading up to this event.
                                                                                                                                                                                                                                                                                        	ParentInitiatedEventId int64
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The source workflow execution that started this workflow execution. The member
                                                                                                                                                                                                                                                                                        	// isn't set if the workflow execution was not started by a workflow.
                                                                                                                                                                                                                                                                                        	ParentWorkflowExecution *WorkflowExecution
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The list of tags associated with this workflow execution. An execution can have
                                                                                                                                                                                                                                                                                        	// up to 5 tags.
                                                                                                                                                                                                                                                                                        	TagList []string
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The priority of the decision tasks in the workflow execution.
                                                                                                                                                                                                                                                                                        	TaskPriority *string
                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                        	// The maximum duration of decision tasks for this workflow type. The duration is
                                                                                                                                                                                                                                                                                        	// specified in seconds, an integer greater than or equal to 0. You can use NONE to
                                                                                                                                                                                                                                                                                        	// specify unlimited duration.
                                                                                                                                                                                                                                                                                        	TaskStartToCloseTimeout *string
                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                          Provides details of WorkflowExecutionStarted event.

                                                                                                                                                                                                                                                                                          type WorkflowExecutionTerminatedCause

                                                                                                                                                                                                                                                                                          type WorkflowExecutionTerminatedCause string
                                                                                                                                                                                                                                                                                          const (
                                                                                                                                                                                                                                                                                          	WorkflowExecutionTerminatedCauseChildPolicyApplied WorkflowExecutionTerminatedCause = "CHILD_POLICY_APPLIED"
                                                                                                                                                                                                                                                                                          	WorkflowExecutionTerminatedCauseEventLimitExceeded WorkflowExecutionTerminatedCause = "EVENT_LIMIT_EXCEEDED"
                                                                                                                                                                                                                                                                                          	WorkflowExecutionTerminatedCauseOperatorInitiated  WorkflowExecutionTerminatedCause = "OPERATOR_INITIATED"
                                                                                                                                                                                                                                                                                          )

                                                                                                                                                                                                                                                                                            Enum values for WorkflowExecutionTerminatedCause

                                                                                                                                                                                                                                                                                            func (WorkflowExecutionTerminatedCause) Values

                                                                                                                                                                                                                                                                                              Values returns all known values for WorkflowExecutionTerminatedCause. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                                                                                                                              type WorkflowExecutionTerminatedEventAttributes

                                                                                                                                                                                                                                                                                              type WorkflowExecutionTerminatedEventAttributes struct {
                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                              	// The policy used for the child workflow executions of this workflow execution.
                                                                                                                                                                                                                                                                                              	// The supported child policies are:
                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                              	// * TERMINATE – The child executions are
                                                                                                                                                                                                                                                                                              	// terminated.
                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                              	// * REQUEST_CANCEL – A request to cancel is attempted for each child
                                                                                                                                                                                                                                                                                              	// execution by recording a WorkflowExecutionCancelRequested event in its history.
                                                                                                                                                                                                                                                                                              	// It is up to the decider to take appropriate actions when it receives an
                                                                                                                                                                                                                                                                                              	// execution history with this event.
                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                              	// * ABANDON – No action is taken. The child
                                                                                                                                                                                                                                                                                              	// executions continue to run.
                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                              	// This member is required.
                                                                                                                                                                                                                                                                                              	ChildPolicy ChildPolicy
                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                              	// If set, indicates that the workflow execution was automatically terminated, and
                                                                                                                                                                                                                                                                                              	// specifies the cause. This happens if the parent workflow execution times out or
                                                                                                                                                                                                                                                                                              	// is terminated and the child policy is set to terminate child executions.
                                                                                                                                                                                                                                                                                              	Cause WorkflowExecutionTerminatedCause
                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                              	// The details provided for the termination.
                                                                                                                                                                                                                                                                                              	Details *string
                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                              	// The reason provided for the termination.
                                                                                                                                                                                                                                                                                              	Reason *string
                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                Provides the details of the WorkflowExecutionTerminated event.

                                                                                                                                                                                                                                                                                                type WorkflowExecutionTimedOutEventAttributes

                                                                                                                                                                                                                                                                                                type WorkflowExecutionTimedOutEventAttributes struct {
                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                	// The policy used for the child workflow executions of this workflow execution.
                                                                                                                                                                                                                                                                                                	// The supported child policies are:
                                                                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                                                                	// * TERMINATE – The child executions are
                                                                                                                                                                                                                                                                                                	// terminated.
                                                                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                                                                	// * REQUEST_CANCEL – A request to cancel is attempted for each child
                                                                                                                                                                                                                                                                                                	// execution by recording a WorkflowExecutionCancelRequested event in its history.
                                                                                                                                                                                                                                                                                                	// It is up to the decider to take appropriate actions when it receives an
                                                                                                                                                                                                                                                                                                	// execution history with this event.
                                                                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                                                                	// * ABANDON – No action is taken. The child
                                                                                                                                                                                                                                                                                                	// executions continue to run.
                                                                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                                                                                                                	ChildPolicy ChildPolicy
                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                	// The type of timeout that caused this event.
                                                                                                                                                                                                                                                                                                	//
                                                                                                                                                                                                                                                                                                	// This member is required.
                                                                                                                                                                                                                                                                                                	TimeoutType WorkflowExecutionTimeoutType
                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                  Provides the details of the WorkflowExecutionTimedOut event.

                                                                                                                                                                                                                                                                                                  type WorkflowExecutionTimeoutType

                                                                                                                                                                                                                                                                                                  type WorkflowExecutionTimeoutType string
                                                                                                                                                                                                                                                                                                  const (
                                                                                                                                                                                                                                                                                                  	WorkflowExecutionTimeoutTypeStartToClose WorkflowExecutionTimeoutType = "START_TO_CLOSE"
                                                                                                                                                                                                                                                                                                  )

                                                                                                                                                                                                                                                                                                    Enum values for WorkflowExecutionTimeoutType

                                                                                                                                                                                                                                                                                                    func (WorkflowExecutionTimeoutType) Values

                                                                                                                                                                                                                                                                                                      Values returns all known values for WorkflowExecutionTimeoutType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                                                                                                                                                                                      type WorkflowType

                                                                                                                                                                                                                                                                                                      type WorkflowType struct {
                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                      	// The name of the workflow type. The combination of workflow type name and version
                                                                                                                                                                                                                                                                                                      	// must be unique with in a domain.
                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                                                                                                                                      	Name *string
                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                      	// The version of the workflow type. The combination of workflow type name and
                                                                                                                                                                                                                                                                                                      	// version must be unique with in a domain.
                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                      	// This member is required.
                                                                                                                                                                                                                                                                                                      	Version *string
                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                        Represents a workflow type.

                                                                                                                                                                                                                                                                                                        type WorkflowTypeConfiguration

                                                                                                                                                                                                                                                                                                        type WorkflowTypeConfiguration struct {
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        	// The default policy to use for the child workflow executions when a workflow
                                                                                                                                                                                                                                                                                                        	// execution of this type is terminated, by calling the TerminateWorkflowExecution
                                                                                                                                                                                                                                                                                                        	// action explicitly or due to an expired timeout. This default can be overridden
                                                                                                                                                                                                                                                                                                        	// when starting a workflow execution using the StartWorkflowExecution action or
                                                                                                                                                                                                                                                                                                        	// the StartChildWorkflowExecutionDecision. The supported child policies are:
                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                        	// *
                                                                                                                                                                                                                                                                                                        	// TERMINATE – The child executions are terminated.
                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                        	// * REQUEST_CANCEL – A request
                                                                                                                                                                                                                                                                                                        	// to cancel is attempted for each child execution by recording a
                                                                                                                                                                                                                                                                                                        	// WorkflowExecutionCancelRequested event in its history. It is up to the decider
                                                                                                                                                                                                                                                                                                        	// to take appropriate actions when it receives an execution history with this
                                                                                                                                                                                                                                                                                                        	// event.
                                                                                                                                                                                                                                                                                                        	//
                                                                                                                                                                                                                                                                                                        	// * ABANDON – No action is taken. The child executions continue to run.
                                                                                                                                                                                                                                                                                                        	DefaultChildPolicy ChildPolicy
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        	// The default maximum duration, specified when registering the workflow type, for
                                                                                                                                                                                                                                                                                                        	// executions of this workflow type. This default can be overridden when starting a
                                                                                                                                                                                                                                                                                                        	// workflow execution using the StartWorkflowExecution action or the
                                                                                                                                                                                                                                                                                                        	// StartChildWorkflowExecutionDecision. The duration is specified in seconds, an
                                                                                                                                                                                                                                                                                                        	// integer greater than or equal to 0. You can use NONE to specify unlimited
                                                                                                                                                                                                                                                                                                        	// duration.
                                                                                                                                                                                                                                                                                                        	DefaultExecutionStartToCloseTimeout *string
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        	// The default IAM role attached to this workflow type. Executions of this workflow
                                                                                                                                                                                                                                                                                                        	// type need IAM roles to invoke Lambda functions. If you don't specify an IAM role
                                                                                                                                                                                                                                                                                                        	// when starting this workflow type, the default Lambda role is attached to the
                                                                                                                                                                                                                                                                                                        	// execution. For more information, see
                                                                                                                                                                                                                                                                                                        	// https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
                                                                                                                                                                                                                                                                                                        	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html)
                                                                                                                                                                                                                                                                                                        	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                                                                                                                        	DefaultLambdaRole *string
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        	// The default task list, specified when registering the workflow type, for
                                                                                                                                                                                                                                                                                                        	// decisions tasks scheduled for workflow executions of this type. This default can
                                                                                                                                                                                                                                                                                                        	// be overridden when starting a workflow execution using the
                                                                                                                                                                                                                                                                                                        	// StartWorkflowExecution action or the StartChildWorkflowExecutionDecision.
                                                                                                                                                                                                                                                                                                        	DefaultTaskList *TaskList
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        	// The default task priority, specified when registering the workflow type, for all
                                                                                                                                                                                                                                                                                                        	// decision tasks of this workflow type. This default can be overridden when
                                                                                                                                                                                                                                                                                                        	// starting a workflow execution using the StartWorkflowExecution action or the
                                                                                                                                                                                                                                                                                                        	// StartChildWorkflowExecution decision. Valid values are integers that range from
                                                                                                                                                                                                                                                                                                        	// Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
                                                                                                                                                                                                                                                                                                        	// numbers indicate higher priority. For more information about setting task
                                                                                                                                                                                                                                                                                                        	// priority, see Setting Task Priority
                                                                                                                                                                                                                                                                                                        	// (https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html)
                                                                                                                                                                                                                                                                                                        	// in the Amazon SWF Developer Guide.
                                                                                                                                                                                                                                                                                                        	DefaultTaskPriority *string
                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                        	// The default maximum duration, specified when registering the workflow type, that
                                                                                                                                                                                                                                                                                                        	// a decision task for executions of this workflow type might take before returning
                                                                                                                                                                                                                                                                                                        	// completion or failure. If the task doesn'tdo close in the specified time then
                                                                                                                                                                                                                                                                                                        	// the task is automatically timed out and rescheduled. If the decider eventually
                                                                                                                                                                                                                                                                                                        	// reports a completion or failure, it is ignored. This default can be overridden
                                                                                                                                                                                                                                                                                                        	// when starting a workflow execution using the StartWorkflowExecution action or
                                                                                                                                                                                                                                                                                                        	// the StartChildWorkflowExecutionDecision. The duration is specified in seconds,
                                                                                                                                                                                                                                                                                                        	// an integer greater than or equal to 0. You can use NONE to specify unlimited
                                                                                                                                                                                                                                                                                                        	// duration.
                                                                                                                                                                                                                                                                                                        	DefaultTaskStartToCloseTimeout *string
                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                          The configuration settings of a workflow type.

                                                                                                                                                                                                                                                                                                          type WorkflowTypeFilter

                                                                                                                                                                                                                                                                                                          type WorkflowTypeFilter struct {
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// Name of the workflow type.
                                                                                                                                                                                                                                                                                                          	//
                                                                                                                                                                                                                                                                                                          	// This member is required.
                                                                                                                                                                                                                                                                                                          	Name *string
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// Version of the workflow type.
                                                                                                                                                                                                                                                                                                          	Version *string
                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                            Used to filter workflow execution query results by type. Each parameter, if specified, defines a rule that must be satisfied by each returned result.

                                                                                                                                                                                                                                                                                                            type WorkflowTypeInfo

                                                                                                                                                                                                                                                                                                            type WorkflowTypeInfo struct {
                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                            	// The date when this type was registered.
                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                                                                            	CreationDate *time.Time
                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                            	// The current status of the workflow type.
                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                                                                            	Status RegistrationStatus
                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                            	// The workflow type this information is about.
                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                            	// This member is required.
                                                                                                                                                                                                                                                                                                            	WorkflowType *WorkflowType
                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                            	// If the type is in deprecated state, then it is set to the date when the type was
                                                                                                                                                                                                                                                                                                            	// deprecated.
                                                                                                                                                                                                                                                                                                            	DeprecationDate *time.Time
                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                            	// The description of the type registered through RegisterWorkflowType.
                                                                                                                                                                                                                                                                                                            	Description *string
                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                              Contains information about a workflow type.