File Coverage

blib/lib/Paws/SimpleWorkflow/LambdaFunctionScheduledEventAttributes.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::LambdaFunctionScheduledEventAttributes;
2 1     1   518 use Moose;
  1         4  
  1         9  
3             has Control => (is => 'ro', isa => 'Str', request_name => 'control', traits => ['NameInRequest']);
4             has DecisionTaskCompletedEventId => (is => 'ro', isa => 'Int', request_name => 'decisionTaskCompletedEventId', traits => ['NameInRequest'], required => 1);
5             has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest'], required => 1);
6             has Input => (is => 'ro', isa => 'Str', request_name => 'input', traits => ['NameInRequest']);
7             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
8             has StartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'startToCloseTimeout', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::SimpleWorkflow::LambdaFunctionScheduledEventAttributes
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::LambdaFunctionScheduledEventAttributes object:
27              
28             $service_obj->Method(Att1 => { Control => $value, ..., StartToCloseTimeout => $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::LambdaFunctionScheduledEventAttributes object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Control
36              
37             =head1 DESCRIPTION
38              
39             Provides the details of the C<LambdaFunctionScheduled> event. It isn't
40             set for other event types.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Control => Str
46              
47             Data attached to the event that the decider can use in subsequent
48             workflow tasks. This data isn't sent to the Lambda task.
49              
50              
51             =head2 B<REQUIRED> DecisionTaskCompletedEventId => Int
52              
53             The ID of the C<LambdaFunctionCompleted> event corresponding to the
54             decision that resulted in scheduling this activity task. To help
55             diagnose issues, use this information to trace back the chain of events
56             leading up to this event.
57              
58              
59             =head2 B<REQUIRED> Id => Str
60              
61             The unique ID of the Lambda task.
62              
63              
64             =head2 Input => Str
65              
66             The input provided to the Lambda task.
67              
68              
69             =head2 B<REQUIRED> Name => Str
70              
71             The name of the Lambda function.
72              
73              
74             =head2 StartToCloseTimeout => Str
75              
76             The maximum amount of time a worker can take to process the Lambda
77             task.
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut
92