line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::SimpleWorkflow::ScheduleActivityTaskDecisionAttributes; |
2
|
1
|
|
|
1
|
|
681
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
3
|
|
|
|
|
|
|
has ActivityId => (is => 'ro', isa => 'Str', request_name => 'activityId', traits => ['NameInRequest'], required => 1); |
4
|
|
|
|
|
|
|
has ActivityType => (is => 'ro', isa => 'Paws::SimpleWorkflow::ActivityType', request_name => 'activityType', traits => ['NameInRequest'], required => 1); |
5
|
|
|
|
|
|
|
has Control => (is => 'ro', isa => 'Str', request_name => 'control', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has HeartbeatTimeout => (is => 'ro', isa => 'Str', request_name => 'heartbeatTimeout', traits => ['NameInRequest']); |
7
|
|
|
|
|
|
|
has Input => (is => 'ro', isa => 'Str', request_name => 'input', traits => ['NameInRequest']); |
8
|
|
|
|
|
|
|
has ScheduleToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'scheduleToCloseTimeout', traits => ['NameInRequest']); |
9
|
|
|
|
|
|
|
has ScheduleToStartTimeout => (is => 'ro', isa => 'Str', request_name => 'scheduleToStartTimeout', traits => ['NameInRequest']); |
10
|
|
|
|
|
|
|
has StartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'startToCloseTimeout', traits => ['NameInRequest']); |
11
|
|
|
|
|
|
|
has TaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', request_name => 'taskList', traits => ['NameInRequest']); |
12
|
|
|
|
|
|
|
has TaskPriority => (is => 'ro', isa => 'Str', request_name => 'taskPriority', traits => ['NameInRequest']); |
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
### main pod documentation begin ### |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Paws::SimpleWorkflow::ScheduleActivityTaskDecisionAttributes |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 USAGE |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
This class represents one of two things: |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
28
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::SimpleWorkflow::ScheduleActivityTaskDecisionAttributes object: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { ActivityId => $value, ..., TaskPriority => $value }); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head3 Results returned from an API call |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::ScheduleActivityTaskDecisionAttributes object: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
39
|
|
|
|
|
|
|
$result->Att1->ActivityId |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Provides details of the C<ScheduleActivityTask> decision. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
B<Access Control> |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
You can use IAM policies to control this decision's access to Amazon |
48
|
|
|
|
|
|
|
SWF resources as follows: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=over |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * Use a C<Resource> element with the domain name to limit the |
53
|
|
|
|
|
|
|
action to only specified domains. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=item * Use an C<Action> element to allow or deny permission to call |
56
|
|
|
|
|
|
|
this action. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * Constrain the following parameters by using a C<Condition> |
59
|
|
|
|
|
|
|
element with the appropriate keys. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=over |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * C<activityType.name>: String constraint. The key is |
64
|
|
|
|
|
|
|
C<swf:activityType.name>. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * C<activityType.version>: String constraint. The key is |
67
|
|
|
|
|
|
|
C<swf:activityType.version>. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item * C<taskList>: String constraint. The key is |
70
|
|
|
|
|
|
|
C<swf:taskList.name>. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=back |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=back |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
If the caller does not have sufficient permissions to invoke the |
77
|
|
|
|
|
|
|
action, or the parameter values fall outside the specified constraints, |
78
|
|
|
|
|
|
|
the action fails. The associated event attribute's B<cause> parameter |
79
|
|
|
|
|
|
|
will be set to OPERATION_NOT_PERMITTED. For details and example IAM |
80
|
|
|
|
|
|
|
policies, see Using IAM to Manage Access to Amazon SWF Workflows. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 B<REQUIRED> ActivityId => Str |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
B<Required.> The C<activityId> of the activity task. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The specified string must not start or end with whitespace. It must not |
90
|
|
|
|
|
|
|
contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any |
91
|
|
|
|
|
|
|
control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not |
92
|
|
|
|
|
|
|
contain the literal string quotarnquot. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 B<REQUIRED> ActivityType => L<Paws::SimpleWorkflow::ActivityType> |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
B<Required.> The type of the activity task to schedule. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head2 Control => Str |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
I<Optional.> Data attached to the event that can be used by the decider |
103
|
|
|
|
|
|
|
in subsequent workflow tasks. This data is not sent to the activity. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 HeartbeatTimeout => Str |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
If set, specifies the maximum time before which a worker processing a |
109
|
|
|
|
|
|
|
task of this type must report progress by calling |
110
|
|
|
|
|
|
|
RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity |
111
|
|
|
|
|
|
|
task is automatically timed out. If the worker subsequently attempts to |
112
|
|
|
|
|
|
|
record a heartbeat or returns a result, it will be ignored. This |
113
|
|
|
|
|
|
|
overrides the default heartbeat timeout specified when registering the |
114
|
|
|
|
|
|
|
activity type using RegisterActivityType. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
117
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 Input => Str |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
The input provided to the activity task. |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head2 ScheduleToCloseTimeout => Str |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
The maximum duration for this activity task. |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
130
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
A schedule-to-close timeout for this activity task must be specified |
133
|
|
|
|
|
|
|
either as a default for the activity type or through this field. If |
134
|
|
|
|
|
|
|
neither this field is set nor a default schedule-to-close timeout was |
135
|
|
|
|
|
|
|
specified at registration time then a fault will be returned. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head2 ScheduleToStartTimeout => Str |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
I<Optional.> If set, specifies the maximum duration the activity task |
141
|
|
|
|
|
|
|
can wait to be assigned to a worker. This overrides the default |
142
|
|
|
|
|
|
|
schedule-to-start timeout specified when registering the activity type |
143
|
|
|
|
|
|
|
using RegisterActivityType. |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
146
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
A schedule-to-start timeout for this activity task must be specified |
149
|
|
|
|
|
|
|
either as a default for the activity type or through this field. If |
150
|
|
|
|
|
|
|
neither this field is set nor a default schedule-to-start timeout was |
151
|
|
|
|
|
|
|
specified at registration time then a fault will be returned. |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=head2 StartToCloseTimeout => Str |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
If set, specifies the maximum duration a worker may take to process |
157
|
|
|
|
|
|
|
this activity task. This overrides the default start-to-close timeout |
158
|
|
|
|
|
|
|
specified when registering the activity type using |
159
|
|
|
|
|
|
|
RegisterActivityType. |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
162
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
A start-to-close timeout for this activity task must be specified |
165
|
|
|
|
|
|
|
either as a default for the activity type or through this field. If |
166
|
|
|
|
|
|
|
neither this field is set nor a default start-to-close timeout was |
167
|
|
|
|
|
|
|
specified at registration time then a fault will be returned. |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=head2 TaskList => L<Paws::SimpleWorkflow::TaskList> |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
If set, specifies the name of the task list in which to schedule the |
173
|
|
|
|
|
|
|
activity task. If not specified, the C<defaultTaskList> registered with |
174
|
|
|
|
|
|
|
the activity type will be used. |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
A task list for this activity task must be specified either as a |
177
|
|
|
|
|
|
|
default for the activity type or through this field. If neither this |
178
|
|
|
|
|
|
|
field is set nor a default task list was specified at registration time |
179
|
|
|
|
|
|
|
then a fault will be returned. |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
The specified string must not start or end with whitespace. It must not |
182
|
|
|
|
|
|
|
contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any |
183
|
|
|
|
|
|
|
control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not |
184
|
|
|
|
|
|
|
contain the literal string quotarnquot. |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=head2 TaskPriority => Str |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
I<Optional.> If set, specifies the priority with which the activity |
190
|
|
|
|
|
|
|
task is to be assigned to a worker. This overrides the |
191
|
|
|
|
|
|
|
defaultTaskPriority specified when registering the activity type using |
192
|
|
|
|
|
|
|
RegisterActivityType. Valid values are integers that range from Java's |
193
|
|
|
|
|
|
|
C<Integer.MIN_VALUE> (-2147483648) to C<Integer.MAX_VALUE> |
194
|
|
|
|
|
|
|
(2147483647). Higher numbers indicate higher priority. |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
For more information about setting task priority, see Setting Task |
197
|
|
|
|
|
|
|
Priority in the I<Amazon Simple Workflow Developer Guide>. |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=head1 SEE ALSO |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow> |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=cut |
212
|
|
|
|
|
|
|
|