line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::SimpleWorkflow::RegisterWorkflowType; |
3
|
1
|
|
|
1
|
|
646
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
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
|
|
6771
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
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 * B<TERMINATE:> the child executions will be terminated. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * B<REQUEST_CANCEL:> a request to cancel will be attempted for |
61
|
|
|
|
|
|
|
each child execution by recording a C<WorkflowExecutionCancelRequested> |
62
|
|
|
|
|
|
|
event in its history. It is up to the decider to take appropriate |
63
|
|
|
|
|
|
|
actions when it receives an execution history with this event. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item * B<ABANDON:> no action will be taken. The child executions will |
66
|
|
|
|
|
|
|
continue to run. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=back |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Valid values are: C<"TERMINATE">, C<"REQUEST_CANCEL">, C<"ABANDON"> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 DefaultExecutionStartToCloseTimeout => Str |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
If set, specifies the default maximum duration for executions of this |
76
|
|
|
|
|
|
|
workflow type. You can override this default when starting an execution |
77
|
|
|
|
|
|
|
through the StartWorkflowExecution action or |
78
|
|
|
|
|
|
|
C<StartChildWorkflowExecution> decision. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
81
|
|
|
|
|
|
|
to 0. Unlike some of the other timeout parameters in Amazon SWF, you |
82
|
|
|
|
|
|
|
cannot specify a value of "NONE" for |
83
|
|
|
|
|
|
|
C<defaultExecutionStartToCloseTimeout>; there is a one-year max limit |
84
|
|
|
|
|
|
|
on the time that a workflow execution can run. Exceeding this limit |
85
|
|
|
|
|
|
|
will always cause the workflow execution to time out. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 DefaultLambdaRole => Str |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
The ARN of the default IAM role to use when a workflow execution of |
92
|
|
|
|
|
|
|
this type invokes AWS Lambda functions. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
This default can be overridden when starting a workflow execution using |
95
|
|
|
|
|
|
|
the StartWorkflowExecution action or the C<StartChildWorkflowExecution> |
96
|
|
|
|
|
|
|
and C<ContinueAsNewWorkflowExecution> decision. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head2 DefaultTaskList => L<Paws::SimpleWorkflow::TaskList> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
If set, specifies the default task list to use for scheduling decision |
103
|
|
|
|
|
|
|
tasks for executions of this workflow type. This default is used only |
104
|
|
|
|
|
|
|
if a task list is not provided when starting the execution through the |
105
|
|
|
|
|
|
|
StartWorkflowExecution action or C<StartChildWorkflowExecution> |
106
|
|
|
|
|
|
|
decision. |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 DefaultTaskPriority => Str |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
The default task priority to assign to the workflow type. If not |
113
|
|
|
|
|
|
|
assigned, then "0" will be used. Valid values are integers that range |
114
|
|
|
|
|
|
|
from Java's C<Integer.MIN_VALUE> (-2147483648) to C<Integer.MAX_VALUE> |
115
|
|
|
|
|
|
|
(2147483647). Higher numbers indicate higher priority. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
For more information about setting task priority, see Setting Task |
118
|
|
|
|
|
|
|
Priority in the I<Amazon Simple Workflow Developer Guide>. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head2 DefaultTaskStartToCloseTimeout => Str |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
If set, specifies the default maximum duration of decision tasks for |
125
|
|
|
|
|
|
|
this workflow type. This default can be overridden when starting a |
126
|
|
|
|
|
|
|
workflow execution using the StartWorkflowExecution action or the |
127
|
|
|
|
|
|
|
C<StartChildWorkflowExecution> decision. |
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
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 Description => Str |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
Textual description of the workflow type. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=head2 B<REQUIRED> Domain => Str |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
The name of the domain in which to register the workflow type. |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
The name of the workflow type. |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
The specified string must not start or end with whitespace. It must not |
151
|
|
|
|
|
|
|
contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any |
152
|
|
|
|
|
|
|
control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not |
153
|
|
|
|
|
|
|
contain the literal string quotarnquot. |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head2 B<REQUIRED> Version => Str |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
The version of the workflow type. |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
The workflow type consists of the name and version, the combination of |
162
|
|
|
|
|
|
|
which must be unique within the domain. To get a list of all currently |
163
|
|
|
|
|
|
|
registered workflow types, use the ListWorkflowTypes action. |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
The specified string must not start or end with whitespace. It must not |
166
|
|
|
|
|
|
|
contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any |
167
|
|
|
|
|
|
|
control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not |
168
|
|
|
|
|
|
|
contain the literal string quotarnquot. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head1 SEE ALSO |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method RegisterWorkflowType in L<Paws::SimpleWorkflow> |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=cut |
184
|
|
|
|
|
|
|
|