File Coverage

blib/lib/Paws/SimpleWorkflow/StartChildWorkflowExecutionInitiatedEventAttributes.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::StartChildWorkflowExecutionInitiatedEventAttributes;
2 1     1   705 use Moose;
  1         4  
  1         11  
3             has ChildPolicy => (is => 'ro', isa => 'Str', request_name => 'childPolicy', traits => ['NameInRequest'], required => 1);
4             has Control => (is => 'ro', isa => 'Str', request_name => 'control', traits => ['NameInRequest']);
5             has DecisionTaskCompletedEventId => (is => 'ro', isa => 'Int', request_name => 'decisionTaskCompletedEventId', traits => ['NameInRequest'], required => 1);
6             has ExecutionStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'executionStartToCloseTimeout', traits => ['NameInRequest']);
7             has Input => (is => 'ro', isa => 'Str', request_name => 'input', traits => ['NameInRequest']);
8             has LambdaRole => (is => 'ro', isa => 'Str', request_name => 'lambdaRole', traits => ['NameInRequest']);
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 WorkflowId => (is => 'ro', isa => 'Str', request_name => 'workflowId', traits => ['NameInRequest'], required => 1);
14             has WorkflowType => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowType', request_name => 'workflowType', traits => ['NameInRequest'], required => 1);
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::SimpleWorkflow::StartChildWorkflowExecutionInitiatedEventAttributes
22              
23             =head1 USAGE
24              
25             This class represents one of two things:
26              
27             =head3 Arguments in a call to a service
28              
29             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30             Each attribute should be used as a named argument in the calls that expect this type of object.
31              
32             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::StartChildWorkflowExecutionInitiatedEventAttributes object:
33              
34             $service_obj->Method(Att1 => { ChildPolicy => $value, ..., WorkflowType => $value });
35              
36             =head3 Results returned from an API call
37              
38             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::StartChildWorkflowExecutionInitiatedEventAttributes object:
39              
40             $result = $service_obj->Method(...);
41             $result->Att1->ChildPolicy
42              
43             =head1 DESCRIPTION
44              
45             Provides details of the C<StartChildWorkflowExecutionInitiated> event.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 B<REQUIRED> ChildPolicy => Str
51              
52             The policy to use for the child workflow executions if this execution
53             gets terminated by explicitly calling the TerminateWorkflowExecution
54             action or due to an expired timeout.
55              
56             The supported child policies are:
57              
58             =over
59              
60             =item * B<TERMINATE:> the child executions will be terminated.
61              
62             =item * B<REQUEST_CANCEL:> a request to cancel will be attempted for
63             each child execution by recording a C<WorkflowExecutionCancelRequested>
64             event in its history. It is up to the decider to take appropriate
65             actions when it receives an execution history with this event.
66              
67             =item * B<ABANDON:> no action will be taken. The child executions will
68             continue to run.
69              
70             =back
71              
72              
73              
74             =head2 Control => Str
75              
76             I<Optional.> Data attached to the event that can be used by the decider
77             in subsequent decision tasks. This data is not sent to the activity.
78              
79              
80             =head2 B<REQUIRED> DecisionTaskCompletedEventId => Int
81              
82             The ID of the C<DecisionTaskCompleted> event corresponding to the
83             decision task that resulted in the C<StartChildWorkflowExecution>
84             decision to request this child workflow execution. This information can
85             be useful for diagnosing problems by tracing back the cause of events.
86              
87              
88             =head2 ExecutionStartToCloseTimeout => Str
89              
90             The maximum duration for the child workflow execution. If the workflow
91             execution is not closed within this duration, it will be timed out and
92             force terminated.
93              
94             The duration is specified in seconds; an integer greater than or equal
95             to 0. The value "NONE" can be used to specify unlimited duration.
96              
97              
98             =head2 Input => Str
99              
100             The inputs provided to the child workflow execution (if any).
101              
102              
103             =head2 LambdaRole => Str
104              
105             The IAM role attached to this workflow execution to use when invoking
106             AWS Lambda functions.
107              
108              
109             =head2 TagList => ArrayRef[Str|Undef]
110              
111             The list of tags to associated with the child workflow execution.
112              
113              
114             =head2 B<REQUIRED> TaskList => L<Paws::SimpleWorkflow::TaskList>
115              
116             The name of the task list used for the decision tasks of the child
117             workflow execution.
118              
119              
120             =head2 TaskPriority => Str
121              
122             I<Optional.> The priority assigned for the decision tasks for this
123             workflow execution. Valid values are integers that range from Java's
124             C<Integer.MIN_VALUE> (-2147483648) to C<Integer.MAX_VALUE>
125             (2147483647). Higher numbers indicate higher priority.
126              
127             For more information about setting task priority, see Setting Task
128             Priority in the I<Amazon Simple Workflow Developer Guide>.
129              
130              
131             =head2 TaskStartToCloseTimeout => Str
132              
133             The maximum duration allowed for the decision tasks for this workflow
134             execution.
135              
136             The duration is specified in seconds; an integer greater than or equal
137             to 0. The value "NONE" can be used to specify unlimited duration.
138              
139              
140             =head2 B<REQUIRED> WorkflowId => Str
141              
142             The C<workflowId> of the child workflow execution.
143              
144              
145             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
146              
147             The type of the child workflow execution.
148              
149              
150              
151             =head1 SEE ALSO
152              
153             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
154              
155             =head1 BUGS and CONTRIBUTIONS
156              
157             The source code is located here: https://github.com/pplu/aws-sdk-perl
158              
159             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
160              
161             =cut
162