Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
boto
/
swf
/
File Content:
layer1_decisions.pyc
� �Wc @ s d Z d e f d � � YZ d S( s/ Helper class for creating decision responses. t Layer1Decisionsc B s� e Z d Z d � Z d d d d d d d d � Z d � Z d d � Z d d � Z d d d � Z d d � Z d d d d d d d d � Z d d � Z d � Z d d d d � Z d d d � Z d d d d d d d d � Z RS( s� Use this object to build a list of decisions for a decision response. Each method call will add append a new decision. Retrieve the list of decisions from the _data attribute. c C s g | _ d S( N( t _data( t self( ( s= /usr/lib/python2.7/site-packages/boto/swf/layer1_decisions.pyt __init__ s c C s i } d | d <i } | d <| | d <i | d 6| d 6| d <| d k r` i | d 6| d <n | d k ry | | d <n | d k r� | | d <n | d k r� | | d <n | d k r� | | d <n | d k r� | | d <n | d k r� | | d <n | j j | � d S( s� Schedules an activity task. :type activity_id: string :param activity_id: The activityId of the type of the activity being scheduled. :type activity_type_name: string :param activity_type_name: The name of the type of the activity being scheduled. :type activity_type_version: string :param activity_type_version: The version of the type of the activity being scheduled. :type task_list: string :param task_list: 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 will be used. Note: 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 will be returned. t ScheduleActivityTaskt decisionTypet&