File Coverage

blib/lib/Paws/SimpleWorkflow/WorkflowTypeConfiguration.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::WorkflowTypeConfiguration;
2 1     1   704 use Moose;
  1         2  
  1         10  
3             has DefaultChildPolicy => (is => 'ro', isa => 'Str', request_name => 'defaultChildPolicy', traits => ['NameInRequest']);
4             has DefaultExecutionStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'defaultExecutionStartToCloseTimeout', traits => ['NameInRequest']);
5             has DefaultLambdaRole => (is => 'ro', isa => 'Str', request_name => 'defaultLambdaRole', traits => ['NameInRequest']);
6             has DefaultTaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', request_name => 'defaultTaskList', traits => ['NameInRequest']);
7             has DefaultTaskPriority => (is => 'ro', isa => 'Str', request_name => 'defaultTaskPriority', traits => ['NameInRequest']);
8             has DefaultTaskStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'defaultTaskStartToCloseTimeout', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::SimpleWorkflow::WorkflowTypeConfiguration
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::WorkflowTypeConfiguration object:
27              
28             $service_obj->Method(Att1 => { DefaultChildPolicy => $value, ..., DefaultTaskStartToCloseTimeout => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::WorkflowTypeConfiguration object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->DefaultChildPolicy
36              
37             =head1 DESCRIPTION
38              
39             The configuration settings of a workflow type.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 DefaultChildPolicy => Str
45              
46             I<Optional.> The default policy to use for the child workflow
47             executions when a workflow execution of this type is terminated, by
48             calling the TerminateWorkflowExecution action explicitly or due to an
49             expired timeout. This default can be overridden when starting a
50             workflow execution using the StartWorkflowExecution action or the
51             C<StartChildWorkflowExecution> decision.
52              
53             The supported child policies are:
54              
55             =over
56              
57             =item * B<TERMINATE:> the child executions will be terminated.
58              
59             =item * B<REQUEST_CANCEL:> a request to cancel will be attempted for
60             each child execution by recording a C<WorkflowExecutionCancelRequested>
61             event in its history. It is up to the decider to take appropriate
62             actions when it receives an execution history with this event.
63              
64             =item * B<ABANDON:> no action will be taken. The child executions will
65             continue to run.
66              
67             =back
68              
69              
70              
71             =head2 DefaultExecutionStartToCloseTimeout => Str
72              
73             I<Optional.> The default maximum duration, specified when registering
74             the workflow type, for executions of this workflow type. This default
75             can be overridden when starting a workflow execution using the
76             StartWorkflowExecution action or the C<StartChildWorkflowExecution>
77             decision.
78              
79             The duration is specified in seconds; an integer greater than or equal
80             to 0. The value "NONE" can be used to specify unlimited duration.
81              
82              
83             =head2 DefaultLambdaRole => Str
84              
85             The default IAM role to use when a workflow execution invokes a AWS
86             Lambda function.
87              
88              
89             =head2 DefaultTaskList => L<Paws::SimpleWorkflow::TaskList>
90              
91             I<Optional.> The default task list, specified when registering the
92             workflow type, for decisions tasks scheduled for workflow executions of
93             this type. This default can be overridden when starting a workflow
94             execution using the StartWorkflowExecution action or the
95             C<StartChildWorkflowExecution> decision.
96              
97              
98             =head2 DefaultTaskPriority => Str
99              
100             I<Optional.> The default task priority, specified when registering the
101             workflow type, for all decision tasks of this workflow type. This
102             default can be overridden when starting a workflow execution using the
103             StartWorkflowExecution action or the C<StartChildWorkflowExecution>
104             decision.
105              
106             Valid values are integers that range from Java's C<Integer.MIN_VALUE>
107             (-2147483648) to C<Integer.MAX_VALUE> (2147483647). Higher numbers
108             indicate higher priority.
109              
110             For more information about setting task priority, see Setting Task
111             Priority in the I<Amazon Simple Workflow Developer Guide>.
112              
113              
114             =head2 DefaultTaskStartToCloseTimeout => Str
115              
116             I<Optional.> The default maximum duration, specified when registering
117             the workflow type, that a decision task for executions of this workflow
118             type might take before returning completion or failure. If the task
119             does not close in the specified time then the task is automatically
120             timed out and rescheduled. If the decider eventually reports a
121             completion or failure, it is ignored. This default can be overridden
122             when starting a workflow execution using the StartWorkflowExecution
123             action or the C<StartChildWorkflowExecution> decision.
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              
130             =head1 SEE ALSO
131              
132             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
133              
134             =head1 BUGS and CONTRIBUTIONS
135              
136             The source code is located here: https://github.com/pplu/aws-sdk-perl
137              
138             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
139              
140             =cut
141