File Coverage

blib/lib/Paws/SimpleWorkflow/DecisionTaskScheduledEventAttributes.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::DecisionTaskScheduledEventAttributes;
2 1     1   488 use Moose;
  1         3  
  1         8  
3             has StartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'startToCloseTimeout', traits => ['NameInRequest']);
4             has TaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', request_name => 'taskList', traits => ['NameInRequest'], required => 1);
5             has TaskPriority => (is => 'ro', isa => 'Str', request_name => 'taskPriority', traits => ['NameInRequest']);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::SimpleWorkflow::DecisionTaskScheduledEventAttributes
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::DecisionTaskScheduledEventAttributes object:
24              
25             $service_obj->Method(Att1 => { StartToCloseTimeout => $value, ..., TaskPriority => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::DecisionTaskScheduledEventAttributes object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->StartToCloseTimeout
33              
34             =head1 DESCRIPTION
35              
36             Provides details about the C<DecisionTaskScheduled> event.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 StartToCloseTimeout => Str
42              
43             The maximum duration for this decision task. The task is considered
44             timed out if it doesn't completed within this duration.
45              
46             The duration is specified in seconds, an integer greater than or equal
47             to C<0>. You can use C<NONE> to specify unlimited duration.
48              
49              
50             =head2 B<REQUIRED> TaskList => L<Paws::SimpleWorkflow::TaskList>
51              
52             The name of the task list in which the decision task was scheduled.
53              
54              
55             =head2 TaskPriority => Str
56              
57             A task priority that, if set, specifies the priority for this decision
58             task. Valid values are integers that range from Java's
59             C<Integer.MIN_VALUE> (-2147483648) to C<Integer.MAX_VALUE>
60             (2147483647). Higher numbers indicate higher priority.
61              
62             For more information about setting task priority, see Setting Task
63             Priority in the I<Amazon SWF Developer Guide>.
64              
65              
66              
67             =head1 SEE ALSO
68              
69             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
70              
71             =head1 BUGS and CONTRIBUTIONS
72              
73             The source code is located here: https://github.com/pplu/aws-sdk-perl
74              
75             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
76              
77             =cut
78