line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::SimpleWorkflow::ActivityTypeConfiguration; |
2
|
1
|
|
|
1
|
|
703
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
3
|
|
|
|
|
|
|
has DefaultTaskHeartbeatTimeout => (is => 'ro', isa => 'Str', request_name => 'defaultTaskHeartbeatTimeout', traits => ['NameInRequest']); |
4
|
|
|
|
|
|
|
has DefaultTaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', request_name => 'defaultTaskList', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has DefaultTaskPriority => (is => 'ro', isa => 'Str', request_name => 'defaultTaskPriority', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has DefaultTaskScheduleToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'defaultTaskScheduleToCloseTimeout', traits => ['NameInRequest']); |
7
|
|
|
|
|
|
|
has DefaultTaskScheduleToStartTimeout => (is => 'ro', isa => 'Str', request_name => 'defaultTaskScheduleToStartTimeout', traits => ['NameInRequest']); |
8
|
|
|
|
|
|
|
has DefaultTaskStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'defaultTaskStartToCloseTimeout', traits => ['NameInRequest']); |
9
|
|
|
|
|
|
|
1; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
### main pod documentation begin ### |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Paws::SimpleWorkflow::ActivityTypeConfiguration |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 USAGE |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
This class represents one of two things: |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
24
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::SimpleWorkflow::ActivityTypeConfiguration object: |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { DefaultTaskHeartbeatTimeout => $value, ..., DefaultTaskStartToCloseTimeout => $value }); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head3 Results returned from an API call |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::ActivityTypeConfiguration object: |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
35
|
|
|
|
|
|
|
$result->Att1->DefaultTaskHeartbeatTimeout |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 DESCRIPTION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Configuration settings registered with the activity type. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 DefaultTaskHeartbeatTimeout => Str |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
I<Optional.> The default maximum time, in seconds, before which a |
47
|
|
|
|
|
|
|
worker processing a task must report progress by calling |
48
|
|
|
|
|
|
|
RecordActivityTaskHeartbeat. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
You can specify this value only when I<registering> an activity type. |
51
|
|
|
|
|
|
|
The registered default value can be overridden when you schedule a task |
52
|
|
|
|
|
|
|
through the C<ScheduleActivityTask> decision. If the activity worker |
53
|
|
|
|
|
|
|
subsequently attempts to record a heartbeat or returns a result, the |
54
|
|
|
|
|
|
|
activity worker receives an C<UnknownResource> fault. In this case, |
55
|
|
|
|
|
|
|
Amazon SWF no longer considers the activity task to be valid; the |
56
|
|
|
|
|
|
|
activity worker should clean up the activity task. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
59
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 DefaultTaskList => L<Paws::SimpleWorkflow::TaskList> |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
I<Optional.> The default task list specified for this activity type at |
65
|
|
|
|
|
|
|
registration. This default is used if a task list is not provided when |
66
|
|
|
|
|
|
|
a task is scheduled through the C<ScheduleActivityTask> decision. You |
67
|
|
|
|
|
|
|
can override the default registered task list when scheduling a task |
68
|
|
|
|
|
|
|
through the C<ScheduleActivityTask> decision. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 DefaultTaskPriority => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
I<Optional.> The default task priority for tasks of this activity type, |
74
|
|
|
|
|
|
|
specified at registration. If not set, then "0" will be used as the |
75
|
|
|
|
|
|
|
default priority. This default can be overridden when scheduling an |
76
|
|
|
|
|
|
|
activity task. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Valid values are integers that range from Java's C<Integer.MIN_VALUE> |
79
|
|
|
|
|
|
|
(-2147483648) to C<Integer.MAX_VALUE> (2147483647). Higher numbers |
80
|
|
|
|
|
|
|
indicate higher priority. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
For more information about setting task priority, see Setting Task |
83
|
|
|
|
|
|
|
Priority in the I<Amazon Simple Workflow Developer Guide>. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 DefaultTaskScheduleToCloseTimeout => Str |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
I<Optional.> The default maximum duration, specified when registering |
89
|
|
|
|
|
|
|
the activity type, for tasks of this activity type. You can override |
90
|
|
|
|
|
|
|
this default when scheduling a task through the C<ScheduleActivityTask> |
91
|
|
|
|
|
|
|
decision. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
94
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 DefaultTaskScheduleToStartTimeout => Str |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
I<Optional.> The default maximum duration, specified when registering |
100
|
|
|
|
|
|
|
the activity type, that a task of an activity type can wait before |
101
|
|
|
|
|
|
|
being assigned to a worker. You can override this default when |
102
|
|
|
|
|
|
|
scheduling a task through the C<ScheduleActivityTask> decision. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
105
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head2 DefaultTaskStartToCloseTimeout => Str |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
I<Optional.> The default maximum duration for tasks of an activity type |
111
|
|
|
|
|
|
|
specified when registering the activity type. You can override this |
112
|
|
|
|
|
|
|
default when scheduling a task through the C<ScheduleActivityTask> |
113
|
|
|
|
|
|
|
decision. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
116
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head1 SEE ALSO |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow> |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
131
|
|
|
|
|
|
|
|