File Coverage

blib/lib/Paws/SimpleWorkflow/DecisionTask.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              
2             package Paws::SimpleWorkflow::DecisionTask;
3 1     1   569 use Moose;
  1         4  
  1         9  
4             has Events => (is => 'ro', isa => 'ArrayRef[Paws::SimpleWorkflow::HistoryEvent]', traits => ['NameInRequest'], request_name => 'events' , required => 1);
5             has NextPageToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextPageToken' );
6             has PreviousStartedEventId => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'previousStartedEventId' );
7             has StartedEventId => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'startedEventId' , required => 1);
8             has TaskToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'taskToken' , required => 1);
9             has WorkflowExecution => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowExecution', traits => ['NameInRequest'], request_name => 'workflowExecution' , required => 1);
10             has WorkflowType => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowType', traits => ['NameInRequest'], request_name => 'workflowType' , required => 1);
11              
12             has _request_id => (is => 'ro', isa => 'Str');
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::SimpleWorkflow::DecisionTask
19              
20             =head1 ATTRIBUTES
21              
22              
23             =head2 B<REQUIRED> Events => ArrayRef[L<Paws::SimpleWorkflow::HistoryEvent>]
24              
25             A paginated list of history events of the workflow execution. The
26             decider uses this during the processing of the decision task.
27              
28              
29             =head2 NextPageToken => Str
30              
31             If a C<NextPageToken> was returned by a previous call, there are more
32             results available. To retrieve the next page of results, make the call
33             again using the returned token in C<nextPageToken>. Keep all other
34             arguments unchanged.
35              
36             The configured C<maximumPageSize> determines how many results can be
37             returned in a single call.
38              
39              
40             =head2 PreviousStartedEventId => Int
41              
42             The ID of the DecisionTaskStarted event of the previous decision task
43             of this workflow execution that was processed by the decider. This can
44             be used to determine the events in the history new since the last
45             decision task received by the decider.
46              
47              
48             =head2 B<REQUIRED> StartedEventId => Int
49              
50             The ID of the C<DecisionTaskStarted> event recorded in the history.
51              
52              
53             =head2 B<REQUIRED> TaskToken => Str
54              
55             The opaque string used as a handle on the task. This token is used by
56             workers to communicate progress and response information back to the
57             system about the task.
58              
59              
60             =head2 B<REQUIRED> WorkflowExecution => L<Paws::SimpleWorkflow::WorkflowExecution>
61              
62             The workflow execution for which this decision task was created.
63              
64              
65             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
66              
67             The type of the workflow execution for which this decision task was
68             created.
69              
70              
71             =head2 _request_id => Str
72              
73              
74             =cut
75              
76             1;