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   770 use Moose;
  1         4  
  1         10  
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 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 * B<TERMINATE:> the child executions will be terminated.
60              
61             =item * B<REQUEST_CANCEL:> a request to cancel will be attempted for
62             each child execution by recording a C<WorkflowExecutionCancelRequested>
63             event in its history. It is up to the decider to take appropriate
64             actions when it receives an execution history with this event.
65              
66             =item * B<ABANDON:> no action will be taken. The child executions will
67             continue to run.
68              
69             =back
70              
71              
72              
73             =head2 B<REQUIRED> DecisionTaskCompletedEventId => Int
74              
75             The ID of the C<DecisionTaskCompleted> event corresponding to the
76             decision task that resulted in the C<ContinueAsNewWorkflowExecution>
77             decision that started this execution. This information can be useful
78             for diagnosing problems by tracing back the chain of events leading up
79             to this event.
80              
81              
82             =head2 ExecutionStartToCloseTimeout => Str
83              
84             The total duration allowed for the new workflow execution.
85              
86             The duration is specified in seconds; an integer greater than or equal
87             to 0. The value "NONE" can be used to specify unlimited duration.
88              
89              
90             =head2 Input => Str
91              
92             The input provided to the new workflow execution.
93              
94              
95             =head2 LambdaRole => Str
96              
97             The IAM role attached to this workflow execution to use when invoking
98             AWS Lambda functions.
99              
100              
101             =head2 B<REQUIRED> NewExecutionRunId => Str
102              
103             The C<runId> of the new workflow execution.
104              
105              
106             =head2 TagList => ArrayRef[Str|Undef]
107              
108             The list of tags associated with the new workflow execution.
109              
110              
111             =head2 B<REQUIRED> TaskList => L<Paws::SimpleWorkflow::TaskList>
112              
113            
114              
115              
116             =head2 TaskPriority => Str
117              
118            
119              
120              
121             =head2 TaskStartToCloseTimeout => Str
122              
123             The maximum duration of decision tasks for the new workflow execution.
124              
125             The duration is specified in seconds; an integer greater than or equal
126             to 0. The value "NONE" can be used to specify unlimited duration.
127              
128              
129             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
130              
131            
132              
133              
134              
135             =head1 SEE ALSO
136              
137             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
138              
139             =head1 BUGS and CONTRIBUTIONS
140              
141             The source code is located here: https://github.com/pplu/aws-sdk-perl
142              
143             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
144              
145             =cut
146