ActivityTaskScheduledEventAttributes

public struct ActivityTaskScheduledEventAttributes : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The unique ID of the activity task.

    Declaration

    Swift

    public let activityId: String
  • The type of the activity task.

    Declaration

    Swift

    public let 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.

    Declaration

    Swift

    public let control: String?
  • 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.

    Declaration

    Swift

    public let decisionTaskCompletedEventId: Int64
  • 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.

    Declaration

    Swift

    public let heartbeatTimeout: String?
  • The input provided to the activity task.

    Declaration

    Swift

    public let input: String?
  • The maximum amount of time for this activity task.

    Declaration

    Swift

    public let scheduleToCloseTimeout: String?
  • The maximum amount of time the activity task can wait to be assigned to a worker.

    Declaration

    Swift

    public let scheduleToStartTimeout: String?
  • The maximum amount of time a worker may take to process the activity task.

    Declaration

    Swift

    public let startToCloseTimeout: String?
  • The task list in which the activity task has been scheduled.

    Declaration

    Swift

    public let taskList: TaskList
  • 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 in the Amazon SWF Developer Guide.

    Declaration

    Swift

    public let taskPriority: String?
  • Undocumented

    Declaration

    Swift

    public init(activityId: String, activityType: ActivityType, control: String? = nil, decisionTaskCompletedEventId: Int64, heartbeatTimeout: String? = nil, input: String? = nil, scheduleToCloseTimeout: String? = nil, scheduleToStartTimeout: String? = nil, startToCloseTimeout: String? = nil, taskList: TaskList, taskPriority: String? = nil)