line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::SimpleWorkflow::RegisterWorkflowType; |
3
|
1
|
|
|
1
|
|
553
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
4
|
|
|
|
|
|
|
has DefaultChildPolicy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultChildPolicy' ); |
5
|
|
|
|
|
|
|
has DefaultExecutionStartToCloseTimeout => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultExecutionStartToCloseTimeout' ); |
6
|
|
|
|
|
|
|
has DefaultLambdaRole => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultLambdaRole' ); |
7
|
|
|
|
|
|
|
has DefaultTaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', traits => ['NameInRequest'], request_name => 'defaultTaskList' ); |
8
|
|
|
|
|
|
|
has DefaultTaskPriority => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultTaskPriority' ); |
9
|
|
|
|
|
|
|
has DefaultTaskStartToCloseTimeout => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultTaskStartToCloseTimeout' ); |
10
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' ); |
11
|
|
|
|
|
|
|
has Domain => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'domain' , required => 1); |
12
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1); |
13
|
|
|
|
|
|
|
has Version => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'version' , required => 1); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
7005
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterWorkflowType'); |
18
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); |
19
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
### main pod documentation begin ### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Paws::SimpleWorkflow::RegisterWorkflowType - Arguments for method RegisterWorkflowType on Paws::SimpleWorkflow |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This class represents the parameters used for calling the method RegisterWorkflowType on the |
31
|
|
|
|
|
|
|
Amazon Simple Workflow Service service. Use the attributes of this class |
32
|
|
|
|
|
|
|
as arguments to method RegisterWorkflowType. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterWorkflowType. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
As an example: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$service_obj->RegisterWorkflowType(Att1 => $value1, Att2 => $value2, ...); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 DefaultChildPolicy => Str |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
If set, specifies the default policy to use for the child workflow |
48
|
|
|
|
|
|
|
executions when a workflow execution of this type is terminated, by |
49
|
|
|
|
|
|
|
calling the TerminateWorkflowExecution action explicitly or due to an |
50
|
|
|
|
|
|
|
expired timeout. This default can be overridden when starting a |
51
|
|
|
|
|
|
|
workflow execution using the StartWorkflowExecution action or the |
52
|
|
|
|
|
|
|
C<StartChildWorkflowExecution> Decision. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The supported child policies are: |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=over |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
C<TERMINATE> E<ndash> The child executions are terminated. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
C<REQUEST_CANCEL> E<ndash> A request to cancel is attempted for each |
65
|
|
|
|
|
|
|
child execution by recording a C<WorkflowExecutionCancelRequested> |
66
|
|
|
|
|
|
|
event in its history. It is up to the decider to take appropriate |
67
|
|
|
|
|
|
|
actions when it receives an execution history with this event. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item * |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
C<ABANDON> E<ndash> No action is taken. The child executions continue |
72
|
|
|
|
|
|
|
to run. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=back |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Valid values are: C<"TERMINATE">, C<"REQUEST_CANCEL">, C<"ABANDON"> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 DefaultExecutionStartToCloseTimeout => Str |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
If set, specifies the default maximum duration for executions of this |
82
|
|
|
|
|
|
|
workflow type. You can override this default when starting an execution |
83
|
|
|
|
|
|
|
through the StartWorkflowExecution Action or |
84
|
|
|
|
|
|
|
C<StartChildWorkflowExecution> Decision. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
87
|
|
|
|
|
|
|
to 0. Unlike some of the other timeout parameters in Amazon SWF, you |
88
|
|
|
|
|
|
|
cannot specify a value of "NONE" for |
89
|
|
|
|
|
|
|
C<defaultExecutionStartToCloseTimeout>; there is a one-year max limit |
90
|
|
|
|
|
|
|
on the time that a workflow execution can run. Exceeding this limit |
91
|
|
|
|
|
|
|
always causes the workflow execution to time out. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 DefaultLambdaRole => Str |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
The default IAM role attached to this workflow type. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Executions of this workflow type need IAM roles to invoke Lambda |
100
|
|
|
|
|
|
|
functions. If you don't specify an IAM role when you start this |
101
|
|
|
|
|
|
|
workflow type, the default Lambda role is attached to the execution. |
102
|
|
|
|
|
|
|
For more information, see |
103
|
|
|
|
|
|
|
http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html |
104
|
|
|
|
|
|
|
in the I<Amazon SWF Developer Guide>. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head2 DefaultTaskList => L<Paws::SimpleWorkflow::TaskList> |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
If set, specifies the default task list to use for scheduling decision |
111
|
|
|
|
|
|
|
tasks for executions of this workflow type. This default is used only |
112
|
|
|
|
|
|
|
if a task list isn't provided when starting the execution through the |
113
|
|
|
|
|
|
|
StartWorkflowExecution Action or C<StartChildWorkflowExecution> |
114
|
|
|
|
|
|
|
Decision. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 DefaultTaskPriority => Str |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
The default task priority to assign to the workflow type. If not |
121
|
|
|
|
|
|
|
assigned, then C<0> is used. Valid values are integers that range from |
122
|
|
|
|
|
|
|
Java's C<Integer.MIN_VALUE> (-2147483648) to C<Integer.MAX_VALUE> |
123
|
|
|
|
|
|
|
(2147483647). Higher numbers indicate higher priority. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
For more information about setting task priority, see Setting Task |
126
|
|
|
|
|
|
|
Priority in the I<Amazon SWF Developer Guide>. |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 DefaultTaskStartToCloseTimeout => Str |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
If set, specifies the default maximum duration of decision tasks for |
133
|
|
|
|
|
|
|
this workflow type. This default can be overridden when starting a |
134
|
|
|
|
|
|
|
workflow execution using the StartWorkflowExecution action or the |
135
|
|
|
|
|
|
|
C<StartChildWorkflowExecution> Decision. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
The duration is specified in seconds, an integer greater than or equal |
138
|
|
|
|
|
|
|
to C<0>. You can use C<NONE> to specify unlimited duration. |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 Description => Str |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
Textual description of the workflow type. |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head2 B<REQUIRED> Domain => Str |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
The name of the domain in which to register the workflow type. |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
The name of the workflow type. |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
The specified string must not start or end with whitespace. It must not |
159
|
|
|
|
|
|
|
contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any |
160
|
|
|
|
|
|
|
control characters (C<\u0000-\u001f> | C<\u007f-\u009f>). Also, it must |
161
|
|
|
|
|
|
|
not contain the literal string C<arn>. |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=head2 B<REQUIRED> Version => Str |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
The version of the workflow type. |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
The workflow type consists of the name and version, the combination of |
170
|
|
|
|
|
|
|
which must be unique within the domain. To get a list of all currently |
171
|
|
|
|
|
|
|
registered workflow types, use the ListWorkflowTypes action. |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
The specified string must not start or end with whitespace. It must not |
174
|
|
|
|
|
|
|
contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any |
175
|
|
|
|
|
|
|
control characters (C<\u0000-\u001f> | C<\u007f-\u009f>). Also, it must |
176
|
|
|
|
|
|
|
not contain the literal string C<arn>. |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=head1 SEE ALSO |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method RegisterWorkflowType in L<Paws::SimpleWorkflow> |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=cut |
192
|
|
|
|
|
|
|
|