File Coverage

blib/lib/Paws/SimpleWorkflow/WorkflowExecutionContinuedAsNewEventAttributes.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::SimpleWorkflow::WorkflowExecutionContinuedAsNewEventAttributes;
2 1     1   380 use Moose;
  1         3  
  1         7  
3             has ChildPolicy => (is => 'ro', isa => 'Str', request_name => 'childPolicy', traits => ['NameInRequest'], required => 1);
4             has DecisionTaskCompletedEventId => (is => 'ro', isa => 'Int', request_name => 'decisionTaskCompletedEventId', traits => ['NameInRequest'], required => 1);
5             has ExecutionStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'executionStartToCloseTimeout', traits => ['NameInRequest']);
6             has Input => (is => 'ro', isa => 'Str', request_name => 'input', traits => ['NameInRequest']);
7             has LambdaRole => (is => 'ro', isa => 'Str', request_name => 'lambdaRole', traits => ['NameInRequest']);
8             has NewExecutionRunId => (is => 'ro', isa => 'Str', request_name => 'newExecutionRunId', traits => ['NameInRequest'], required => 1);
9             has TagList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'tagList', traits => ['NameInRequest']);
10             has TaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', request_name => 'taskList', traits => ['NameInRequest'], required => 1);
11             has TaskPriority => (is => 'ro', isa => 'Str', request_name => 'taskPriority', traits => ['NameInRequest']);
12             has TaskStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'taskStartToCloseTimeout', traits => ['NameInRequest']);
13             has WorkflowType => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowType', request_name => 'workflowType', traits => ['NameInRequest'], required => 1);
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::SimpleWorkflow::WorkflowExecutionContinuedAsNewEventAttributes
21              
22             =head1 USAGE
23              
24             This class represents one of two things:
25              
26             =head3 Arguments in a call to a service
27              
28             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29             Each attribute should be used as a named argument in the calls that expect this type of object.
30              
31             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::WorkflowExecutionContinuedAsNewEventAttributes object:
32              
33             $service_obj->Method(Att1 => { ChildPolicy => $value, ..., WorkflowType => $value });
34              
35             =head3 Results returned from an API call
36              
37             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::WorkflowExecutionContinuedAsNewEventAttributes object:
38              
39             $result = $service_obj->Method(...);
40             $result->Att1->ChildPolicy
41              
42             =head1 DESCRIPTION
43              
44             Provides the details of the C<WorkflowExecutionContinuedAsNew> event.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 B<REQUIRED> ChildPolicy => Str
50              
51             The policy to use for the child workflow executions of the new
52             execution if it is terminated by calling the TerminateWorkflowExecution
53             action explicitly or due to an expired timeout.
54              
55             The supported child policies are:
56              
57             =over
58              
59             =item *
60              
61             C<TERMINATE> E<ndash> The child executions are terminated.
62              
63             =item *
64              
65             C<REQUEST_CANCEL> E<ndash> A request to cancel is attempted for each
66             child execution by recording a C<WorkflowExecutionCancelRequested>
67             event in its history. It is up to the decider to take appropriate
68             actions when it receives an execution history with this event.
69              
70             =item *
71              
72             C<ABANDON> E<ndash> No action is taken. The child executions continue
73             to run.
74              
75             =back
76              
77              
78              
79             =head2 B<REQUIRED> DecisionTaskCompletedEventId => Int
80              
81             The ID of the C<DecisionTaskCompleted> event corresponding to the
82             decision task that resulted in the C<ContinueAsNewWorkflowExecution>
83             decision that started this execution. This information can be useful
84             for diagnosing problems by tracing back the chain of events leading up
85             to this event.
86              
87              
88             =head2 ExecutionStartToCloseTimeout => Str
89              
90             The total duration allowed for the new workflow execution.
91              
92             The duration is specified in seconds, an integer greater than or equal
93             to C<0>. You can use C<NONE> to specify unlimited duration.
94              
95              
96             =head2 Input => Str
97              
98             The input provided to the new workflow execution.
99              
100              
101             =head2 LambdaRole => Str
102              
103             The IAM role to attach to the new (continued) workflow execution.
104              
105              
106             =head2 B<REQUIRED> NewExecutionRunId => Str
107              
108             The C<runId> of the new workflow execution.
109              
110              
111             =head2 TagList => ArrayRef[Str|Undef]
112              
113             The list of tags associated with the new workflow execution.
114              
115              
116             =head2 B<REQUIRED> TaskList => L<Paws::SimpleWorkflow::TaskList>
117              
118             The task list to use for the decisions of the new (continued) workflow
119             execution.
120              
121              
122             =head2 TaskPriority => Str
123              
124             The priority of the task to use for the decisions of the new
125             (continued) workflow execution.
126              
127              
128             =head2 TaskStartToCloseTimeout => Str
129              
130             The maximum duration of decision tasks for the new workflow execution.
131              
132             The duration is specified in seconds, an integer greater than or equal
133             to C<0>. You can use C<NONE> to specify unlimited duration.
134              
135              
136             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
137              
138             The workflow type of this execution.
139              
140              
141              
142             =head1 SEE ALSO
143              
144             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
145              
146             =head1 BUGS and CONTRIBUTIONS
147              
148             The source code is located here: https://github.com/pplu/aws-sdk-perl
149              
150             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
151              
152             =cut
153