Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ActivityTaskScheduledEventAttributes = ActivityTaskScheduledEventAttributes' {
- control :: Maybe Text
- heartbeatTimeout :: Maybe Text
- input :: Maybe Text
- scheduleToCloseTimeout :: Maybe Text
- scheduleToStartTimeout :: Maybe Text
- startToCloseTimeout :: Maybe Text
- taskPriority :: Maybe Text
- activityType :: ActivityType
- activityId :: Text
- taskList :: TaskList
- decisionTaskCompletedEventId :: Integer
- newActivityTaskScheduledEventAttributes :: ActivityType -> Text -> TaskList -> Integer -> ActivityTaskScheduledEventAttributes
- activityTaskScheduledEventAttributes_control :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- activityTaskScheduledEventAttributes_heartbeatTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- activityTaskScheduledEventAttributes_input :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- activityTaskScheduledEventAttributes_scheduleToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- activityTaskScheduledEventAttributes_scheduleToStartTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- activityTaskScheduledEventAttributes_startToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- activityTaskScheduledEventAttributes_taskPriority :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- activityTaskScheduledEventAttributes_activityType :: Lens' ActivityTaskScheduledEventAttributes ActivityType
- activityTaskScheduledEventAttributes_activityId :: Lens' ActivityTaskScheduledEventAttributes Text
- activityTaskScheduledEventAttributes_taskList :: Lens' ActivityTaskScheduledEventAttributes TaskList
- activityTaskScheduledEventAttributes_decisionTaskCompletedEventId :: Lens' ActivityTaskScheduledEventAttributes Integer
Documentation
data ActivityTaskScheduledEventAttributes Source #
Provides the details of the ActivityTaskScheduled
event.
See: newActivityTaskScheduledEventAttributes
smart constructor.
ActivityTaskScheduledEventAttributes' | |
|
Instances
newActivityTaskScheduledEventAttributes Source #
:: ActivityType | |
-> Text | |
-> TaskList | |
-> Integer |
|
-> ActivityTaskScheduledEventAttributes |
Create a value of ActivityTaskScheduledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_control
- Data attached to the event that can be used by the decider in subsequent
workflow tasks. This data isn't sent to the activity.
$sel:heartbeatTimeout:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_heartbeatTimeout
- 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.
$sel:input:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_input
- The input provided to the activity task.
$sel:scheduleToCloseTimeout:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_scheduleToCloseTimeout
- The maximum amount of time for this activity task.
$sel:scheduleToStartTimeout:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_scheduleToStartTimeout
- The maximum amount of time the activity task can wait to be assigned to
a worker.
$sel:startToCloseTimeout:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_startToCloseTimeout
- The maximum amount of time a worker may take to process the activity
task.
$sel:taskPriority:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_taskPriority
- 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.
$sel:activityType:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_activityType
- The type of the activity task.
$sel:activityId:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_activityId
- The unique ID of the activity task.
$sel:taskList:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_taskList
- The task list in which the activity task has been scheduled.
$sel:decisionTaskCompletedEventId:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_decisionTaskCompletedEventId
- 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.
activityTaskScheduledEventAttributes_control :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source #
Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.
activityTaskScheduledEventAttributes_heartbeatTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source #
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.
activityTaskScheduledEventAttributes_input :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source #
The input provided to the activity task.
activityTaskScheduledEventAttributes_scheduleToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source #
The maximum amount of time for this activity task.
activityTaskScheduledEventAttributes_scheduleToStartTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source #
The maximum amount of time the activity task can wait to be assigned to a worker.
activityTaskScheduledEventAttributes_startToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source #
The maximum amount of time a worker may take to process the activity task.
activityTaskScheduledEventAttributes_taskPriority :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source #
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.
activityTaskScheduledEventAttributes_activityType :: Lens' ActivityTaskScheduledEventAttributes ActivityType Source #
The type of the activity task.
activityTaskScheduledEventAttributes_activityId :: Lens' ActivityTaskScheduledEventAttributes Text Source #
The unique ID of the activity task.
activityTaskScheduledEventAttributes_taskList :: Lens' ActivityTaskScheduledEventAttributes TaskList Source #
The task list in which the activity task has been scheduled.
activityTaskScheduledEventAttributes_decisionTaskCompletedEventId :: Lens' ActivityTaskScheduledEventAttributes Integer Source #
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.